Skip to content

Releases: junobuild/juno-js

v0.0.17

28 Apr 06:01
8cdde74
Compare
Choose a tag to compare

Fix

  • after sign-out use anonymous identity for calls

Build

  • bump dev dependencies

v0.0.16

23 Apr 18:25
Compare
Choose a tag to compare

Features

  • add functions to set controllers to satellites and mission controls in admin library

Build

  • run CI checks on PRs only

v0.0.15

20 Apr 16:46
Compare
Choose a tag to compare

Features

  • improve error msg if no identity

Build

  • bump dependencies
  • add CI checks including size-imit
  • publish CLI to npmjs on release with a GitHub actions
  • provide provenance alongside published information

v0.0.14

03 Apr 19:56
Compare
Choose a tag to compare

Breaking Changes

  • internetcomputer.org is now used as the default domain for II sign-in. If you wish to continue to use ic0.app, the new signIn function offers a domain option (see documentation)

  • authSubscribe used to provide a user object containg a principal. This information has been removed as replaced by the new owner information (see below).

Features

  • support for NFID (see documentation)
  • documents and assets (get or list) are now returned with a textual information about the owner

e.g.

export interface Doc<D> {
  key: string;
  data: D;
  owner?: string;
  created_at?: bigint;
  updated_at?: bigint;
}
  • the user provided by the authSubscribe feature contains a provider information which can be either Internet Identity, NFID or undefined. This is supported for edge cases where the user closes, reopen or refreshes the browser between the brief moment where the authentication is granted by the third party and the call to create the user in the satellite does not happens instantly - i.e. when the information about the selected provider sign-in method get lost. We can improve this in the future if needed.

  • add timestamps to listed assets

v0.0.13

23 Mar 18:27
Compare
Choose a tag to compare

Features

  • add list and set rules to admin

v0.0.12

19 Mar 20:08
Compare
Choose a tag to compare

Features

  • add a backwards compatibility workaround to upgrade satellites with previous list_controllers

v0.0.11

19 Mar 19:12
Compare
Choose a tag to compare

Breaking Changes

  • admin package updated for new controllers structure

v0.0.10

11 Mar 11:30
Compare
Choose a tag to compare

Build

v0.0.9

10 Mar 09:36
Compare
Choose a tag to compare

Breaking Changes

  • Node cjs has been deprecated for esm - i.e. libraries of Juno are now shipped for browser and node as ES modules

Features

  • core: provide an optional web worker that checks periodically (every second) the session timeout and sign-out the user automatically if expired

Fix

  • Resolve build warning "Critical dependency: require function is used in a way in which dependencies cannot be statically extracted" when libs were used in webpack projects

Build

  • bump agent-js v0.15.4

v0.0.8

03 Mar 15:45
Compare
Choose a tag to compare

Core

Features

  • sort list options for timestamps
  • update types converter for dfx v0.13.1