Skip to content

Releases: junobuild/juno-js

v0.0.149

19 Jun 10:10
Compare
Choose a tag to compare

@junobuild/cdn|cli-tools

Features

  • Parameters naming consistency.

v0.0.148

19 Jun 07:23
af86868
Compare
Choose a tag to compare

@junobuild/*

Features

This update is part of the main Juno release v0.0.51. See the related release notes for full context and details.

v0.0.147

20 May 16:20
Compare
Choose a tag to compare

@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

20 May 16:13
Compare
Choose a tag to compare

@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

20 May 12:18
Compare
Choose a tag to compare

@junobuild/analytics

Features

  • Add support to track analytics campaign with utm query params (utm_source, utm_medium, etc.).

v0.0.144

16 May 15:45
Compare
Choose a tag to compare

@junobuild/errors

Features

  • Newest proposals' errors constants for the upcoming CDN crate.

v0.0.143

15 May 16:01
Compare
Choose a tag to compare

@junobuild/errors

Features

  • Newest errors constants adjustment.

v0.0.142

15 May 14:51
Compare
Choose a tag to compare

@junobuild/errors

Features

  • Add some more errors constants used in collections and shared crates.

v0.0.141

07 May 05:29
Compare
Choose a tag to compare

@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

05 May 12:12
Compare
Choose a tag to compare

@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 without await.

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