Skip to content

Commit

Permalink
chore(release): @ucast/js@3.0.0 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Oct 17, 2020
1 parent 9b086b5 commit bd34b4a
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions packages/js/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,44 @@

All notable changes to this project will be documented in this file.

# [3.0.0](https://github.com/stalniy/ucast/compare/@ucast/js@2.2.3...@ucast/js@3.0.0) (2020-10-17)


### Bug Fixes

* **api:** removes deprecated `equal` option for interpreter ([9b086b5](https://github.com/stalniy/ucast/commit/9b086b5b5d81cd1cc4471de90945d6a44a1c35dd))


### BREAKING CHANGES

* **api:** removes deprecated `equal` option. It's complitely replaced by `compare` function

**Before**

```js
import { createJsInterpreter, allInterpreters } from '@ucast/js';

const interpret = createJsInterpreter(allInterpreters, {
equal: (a, b) => /* custom equality check */
});
```

**After**

```js
import { createJsInterpreter, allInterpreters, compare } from '@ucast/js';
const interpret = createJsInterpreter(allInterpreters, {
compare: (a, b) => {
if (/* custom equality check */) {
return 0;
}
return compare(a, b);
}
});
```

## [2.2.3](https://github.com/stalniy/ucast/compare/@ucast/js@2.2.2...@ucast/js@2.2.3) (2020-10-17)


Expand Down
2 changes: 1 addition & 1 deletion packages/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ucast/js",
"version": "2.2.3",
"version": "3.0.0",
"description": "git@github.com:stalniy/ucast.git",
"sideEffects": false,
"main": "dist/es6c/index.js",
Expand Down

0 comments on commit bd34b4a

Please sign in to comment.