-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: release 3.3.0 #535
chore: release 3.3.0 #535
Conversation
🚀 Release checklistBefore release
After release
|
f7bfa11
to
18a1b63
Compare
18a1b63
to
f5e1f6f
Compare
3.3.0 (2022-02-09)This is a smaller update with two main changes. 🧱 EcmaScript Modules supportWe plan to migrate our bee-js package to ES Modules (see the issue for more info) when Node v12 will reach its end-of-life (on 30th of April). With this release, we are starting a transition period by supporting both ES Modules and CommonJS builds. Please start migrating your applications to the ESM stack otherwise, you won't be able to upgrade bee-js after we drop support for CommonJS. ###❓ Is supported version? Since we are in a fast-paced environment where Bee's versions can be incompatible with each other, it is important that in your application you check where the Bee that you connect to has the correct version that you expect and support (through bee-js). Till now we had the Except for Bee's version itself, there are two other versions that version the Bee endpoint's API and the Bee Debug endpoint's API. We have decided to implement methods that do compatibility checks using these versions and hence should be more relaxed towards Bee's small patches but might pose some risk if some change will be unnoticed and API versions not bumped accordingly. These methods are:
The compatibility is checked using the major versions of the API. If you would like to make your own assertions you can get all the versions (both from Bee itself and the one that bee-js should support) using the method Features |
Co-authored-by: Vojtech Simetka <[email protected]>
🤖 Release is at https://github.com/ethersphere/bee-js/releases/tag/v3.3.0 🌻 |
🤖 I have created a release *beep* *boop*
3.3.0 (2022-02-09)
This is a smaller update with two main changes.
🧱 EcmaScript Modules support
We plan to migrate our bee-js package to ES Modules (see the issue for more info) when Node v12 will reach its end-of-life (on 30th of April). With this release, we are starting a transition period by supporting both ES Modules and CommonJS builds. Please start migrating your applications to the ESM stack otherwise, you won't be able to upgrade bee-js after we drop support for CommonJS.
❓ Is supported version?
Since we are in a fast-paced environment where Bee's versions can be incompatible with each other, it is important that in your application you check whether the Bee that you connect to has the correct version that you expect and support (through
bee-js
).Untill now we had the
isSupportedVersion()
function that indicated if the Bee node version is not matching the one thatbee-js
was tested and built against. This implementation has its downside because it is very strict and if for example there is a small Bee's release that patches only something internal and does not touch the API, which means that thebee-js
should be compatible, you will still get afalse
with this check.Except for Bee's version itself, there are two other versions that version the Bee endpoint's API and the Bee Debug endpoint's API. We have decided to implement methods that do compatibility checks using these versions and hence should be more relaxed towards Bee's small patches but might pose some risk if some change will be unnoticed and API versions not bumped accordingly.
These methods are:
BeeDebug.isSupportedExactVersion()
- renamedisSupportedVersion
which is now deprecatedBeeDebug.isSupportedMainApiVersion()
which checks compatibility only for the main Bee endpointBeeDebug.isSupportedDebugApiVersion()
which checks compatibility only for the Bee Debug endpointBeeDebug.isSupportedApiVersion()
which checks compatibility for both endpointsThe compatibility is checked using the major versions of the API. If you would like to make your own assertions you can get all the versions (both from Bee itself and the one that bee-js should support) using the method
BeeDebug.getVersions()
Features
This PR was generated with Release Please. See documentation.