Skip to content

Releases: salesforce/wire-service-jest-util

v4.1.4

15 Nov 21:24
0062d63
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.1.3...v4.1.4

v4.1.0

31 Oct 16:00
a5bd5e8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.0.2...v4.1.0

v4.0.2

10 Aug 21:52
eed7bda
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.0.1...v4.0.2

v4.0.1

01 Sep 17:58
d57ebe8
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.0.0...v4.0.1

v4.0.0

08 Jun 19:34
04795a5
Compare
Choose a tag to compare

Breaking changes:

  • chore(package): update lwc- and eslint-related deps (#42) (1fec199)

To update to wire-service-jest-util v4.0.0, you will need to update your dependency from the deprecated @lwc/engine to @lwc/engine-dom v2+.

For example, you can run:

npm remove @lwc/engine --save
npm install @lwc/engine-dom@^2 --save

All changes in this release

v3.0.0

09 Mar 20:07
d50a0db
Compare
Choose a tag to compare

Changes in v3.0.0

  • 3 new APIs were added: createTestWireAdapter , createLdsTestWireAdapter , createApexTestWireAdapter .
  • Added support for test adapters created with create* to emit (emitError) a value (error) only to specific adapters instances, depending on the config value. Solves #15.
  • Existing register* calls are deprecated in favor of create*, and they will be removed on v4.0.0 of this library.
  • Drops support for lwc < 1.5.0.

To upgrade your existing tests, check the Migrating from version 2.x to 3.x guide.

v2.4.2

28 May 14:21
a9fc92c
Compare
Choose a tag to compare

Bug Fixes

#26 - apex adapters: Fixes an issue in which apex adapters emit method is not emitting the value in the correct format ({ data: value, error: undefined }), which ends up breaking existing component behavior.

v2.4.1

27 May 17:42
bcec5d4
Compare
Choose a tag to compare

Please use v2.4.2, this release is missing the distribution files.