Releases: junobuild/juno-js
Releases · junobuild/juno-js
v0.0.149
v0.0.148
v0.0.147
@junobuild/admin
Chore
For consistency and better history, I want to release v0.4.0
which reverts what was shipped in v0.3.0
.
v0.0.146
@junobuild/admin
Fix
- Revert custom
memory_size
functions usage for Orbiter and Satellite. This was previously modified to use IC canister status information but, we need the heap and stable information for the CLI used in GitHub Actions through a controller with READ+WRITE privileges.
v0.0.145
@junobuild/analytics
Features
- Add support to track analytics campaign with utm query params (
utm_source
,utm_medium
, etc.).
v0.0.144
@junobuild/errors
Features
- Newest proposals' errors constants for the upcoming CDN crate.
v0.0.143
@junobuild/errors
Features
- Newest errors constants adjustment.
v0.0.142
@junobuild/errors
Features
- Add some more errors constants used in collections and shared crates.
v0.0.141
@junobuild/admin
Breaking Changes
- Responses's types of Orbiter and Satellite updated with a subset of canister status reponses.
Features
- Replace usage of deprecated
memory_size()
with IC mgmt canister status memory metrics.
Build
- Update did files for Satellite and Orbiter.
- Bump
@dfinity/ic-mgmt
dependency version.
@junobuild/core|storage
Build
- Update did files for Satellite and Orbiter.
v0.0.140
@junobuild/analytics
⚠️ Breaking Changes ⚠️
- The library now requires the Orbiter to be upgraded to version
v0.2.0
, as it starts collecting analytics through native HTTP requests. - The performance option is now opt-in (it was previously opt-out).
initOrbiter
is no longer asynchronous and can now be called withoutawait
.
Features
- Collect analytics through native HTTP
fetch
. - Remove usage of Web Workers and IndexedDB.
- Remove DID declarations.
- Remove actor logic.
- Remove dependency on
agent-js
. - Introduce optional use of
ua-parser-js@1.0.40
(via opt-in) to collect limited information derived from the user agent. - Collect screen size dimensions (in addition to
window.innerWidth
/innerHeight
).
Refactoring
- Move modules and rename several files for improved structure and readability.
Tip
Upgrading your app:
To upgrade your frontend to use the new lightweight analytics client:
npm rm @junobuild/analytics && npm i @junobuild/analytics
You can also safely remove any postinstall
scripts and the related web workers code you may have added to your static folder, they are no longer needed and won't be used anymore.
Also note that initOrbiter
is no longer asynchronous and can now be called without await.
// Previously
await initOrbiter();
// New
initOrbiter();
@junobuild/admin
Chore
- Update Orbiter DID declarations.
@junobuild/core
Chore
- Disable ESLint rule
local-rules/use-option-type-wrapper
.
New Contributors
- @AntonioVentilii made their first contribution in #366