Skip to content

Releases: junobuild/juno-js

v0.0.121

14 Mar 15:59
Compare
Choose a tag to compare

@junobuild/functions

Breaking Changes

  • Remove suffix in functions name when not need (e.g. OnSetDocConfig -> OnSetDoc).

Fix

  • rawdata type equals Uint8array.

v0.0.120

14 Mar 15:18
Compare
Choose a tag to compare

@junobuild/functions

Breaking Changes

  • Review functions API to avoid duplication.
// Previous syntax
export const onSetDoc = defineHook({
	collections: ['demo', 'console'],
	onSetDoc: async (context: OnSetDocContext) => {
		console.log('onSetDoc');
	}
});

// New syntax
export const onSetDoc = defineHook<OnSetDocConfig>({
	collections: ['demo', 'console'],
	run: async (context) => {
		console.log('onSetDoc');
	}
});

Features

  • Use zod for hooks and assertions definitions.

v0.0.119

14 Mar 07:52
Compare
Choose a tag to compare

@junobuild/functions

Features

  • Polyfill for console.log with support for serializing Principal and BigInt in the passed object.

v0.0.117

12 Mar 16:48
Compare
Choose a tag to compare

@junobuild/functions

Fix

  • Hook and assertion configuration functions were shipped as types only. The functions should not be ambient.

v0.0.116

12 Mar 11:20
eba6004
Compare
Choose a tag to compare

@junobuild/functions

Hello World 👋

(alpha version, work still in progress)

@junobuild/admin

Features

  • Replace copied util uint8ArrayToHexString with its implementation in peer dependency.

@junobuild/*

Chore

  • Bump year to current in LICENSE files.

v0.0.115

26 Feb 14:45
Compare
Choose a tag to compare

@junobuild/core

Features

  • Enforce the restriction of not using the Date object for data fields in the Datastore. See this description for full context.

Note that this is not a breaking change per se, as it strictly involves adding a TypeScript rule. However, it might impact your app, so reach out if this is an issue. We can either find a solution or revert this improvement if needed.

@junobuild/*

Chore

  • Migrate to Eslint v9

v0.0.114

21 Feb 18:51
Compare
Choose a tag to compare

@junobuild/cli-tools

Features

  • Wndows support for pre/postdeploy scripts.

@junobuild/analytics

Build

  • Update dependencies such as isBot.

v0.0.113

15 Feb 10:49
Compare
Choose a tag to compare

@junobuild/admin

Features

  • Support for new options max_changes_per_user (collections) and external_alternative_origins (auth).

@junobuild/cli-tools

Features

  • Extend execute and spawn commands with env.

@junobuild/*

Features

  • Update Satellite v0.0.22 did files.

v0.0.112

13 Feb 16:25
Compare
Choose a tag to compare

@junobuild/errors

Fix

  • TypeScript types were not generated and therefore not published.

v0.0.111

13 Feb 14:07
Compare
Choose a tag to compare

@junobuild/errors

Features

  • Few more constants added in sync with latest Juno release.