gitbook-docs/js-sdk/changelog.md
2021-09-24 19:26:28 +03:00

34 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Changelog
Fluence JS versioning scheme is the following: `0.BREAKING.ENHANCING`
- `0` shows that Fluence JS does not meet its vision yet, so API can change quickly
- `BREAKING` part is incremented for each breaking API change
- `ENHANCING` part is incremented for every fix and update which is compatible on API level
### [0.13.0](https://github.com/fluencelabs/fluence-js/releases/tag/v0.13.0) September 24, 2021
- `PeerStatus` is now exported from index file \([#80](https://github.com/fluencelabs/fluence-js/pull/80)\)
- `KeyPair`: method `fromBytes` is replaced with fromEd25519SK \([#81](https://github.com/fluencelabs/fluence-js/pull/81)\)
### [0.12.1](https://github.com/fluencelabs/fluence-js/releases/tag/v0.12.1) September 14, 2021
- `KeyPair`: add fromBytes, toEd25519PrivateKey \([#78](https://github.com/fluencelabs/fluence-js/pull/78)\)
### [0.12.0](https://github.com/fluencelabs/fluence-js/releases/tag/v0.13.0) September 10, 2021
- The API to work with the default Fluence Peer has been put under the facade `Fluence`. Method `init` was renamed to `start` and `uninit` renamed to `stop`. `connectionStatus` migrated to `getStatus`.
To migrate from 0.11.0 to 0.12.0
1. `import { Fluence } from "@fluencelabs/fluence"`; instead of `FluencePeer`
2. replace `Fluence.default` with just `Fluence`
3. replace `init` with `start` and `uninit` with `stop`
4. replace `connectionInfo()` with `getStatus()`
\([#72](https://github.com/fluencelabs/fluence-js/pull/72)\)
### [0.11.0](https://github.com/fluencelabs/fluence-js/releases/tag/v0.11.0) September 08, 2021
- Update JS SDK api to the new version \([#61](https://github.com/fluencelabs/fluence-js/pull/61)\)