Skip to content

Releases: junobuild/juno-js

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 [email protected] (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

v0.0.139

24 Apr 08:24
Compare
Choose a tag to compare

@junobuild/config

Fix

  • OrbiterIds was actually not used in the new OrbiterConfig and configuration ended has incorrectly declaring the id.

v0.0.138

24 Apr 08:18
Compare
Choose a tag to compare

@junobuild/config

Features

  • Support ids for Orbiter in juno.config.

v0.0.137

19 Apr 08:17
Compare
Choose a tag to compare

@junobuild/functions

Features

  • All the remaining SDK, IC-CDK and utitily functions for a first official release of the serverless functions in TypeScript on Juno.

v0.0.136

08 Apr 16:17
Compare
Choose a tag to compare

@junobuild/admin

Breaking

  • Deprecated satelliteBuildVersion() which seems utilized only in the Console UI which will be adapted anyway.

Features

  • Get Mission Control, Orbiter and Satellite version() from juno:package and fallback onto deprecated endpoints.
  • Build Satellite type - stock or extended - from juno:package and fallback onto deprecated endpoints.
  • Update did files to deprecate version() and build_version() end points.

@junobuild/config

Features

  • Add constants for packages @junobuild/mission-control and @junobuild/orbiter.

v0.0.135

06 Apr 09:16
Compare
Choose a tag to compare

@junobuild/*

Build

  • Bump lastet dev dependencies.

@junobuild/admin

Features

  • Add utility to find Juno Package dependency.

@junobuild/config

Features

  • Expose constants for the Juno Package dependencies Satellite and Sputnik.

v0.0.134

06 Apr 08:18
Compare
Choose a tag to compare

@junobuild/admin

Features

  • Disable agent-js console.warn when fetching WASM public custom sections.

v0.0.133

06 Apr 07:42
Compare
Choose a tag to compare

@junobuild/*

Features

  • Update DID types.
  • Remove unused deprecated DID types in Storage lib.
  • Add Sputnik DID types to Code lib.

@junobuild/config

Features

  • Define types and schema for juno:package WASM public custom section.

Build

  • Add Zod as peer dependency.

@junobuild/admin

Features

  • Add support for reading juno:package from WASM public custom section.
  • Add a shorthand to solely read the version from juno:package.

@junobuild/cli-tools

Features

  • Add option banner to buildEsm.

v0.0.132

04 Apr 09:27
Compare
Choose a tag to compare

@junobuild/functions

Features

  • Add controllers related functions to SDK.

Refactoring

  • Extract repeated caller normalizer.

@junobuild/cli-tools

Features

  • Utils to read specific fields of a package.json file.