Releases: junobuild/juno-js
Releases · junobuild/juno-js
v0.0.121
@junobuild/functions
Breaking Changes
- Remove suffix in functions name when not need (e.g.
OnSetDocConfig
->OnSetDoc
).
Fix
rawdata
type equalsUint8array
.
v0.0.120
@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
@junobuild/functions
Features
- Polyfill for
console.log
with support for serializingPrincipal
andBigInt
in the passed object.
v0.0.117
@junobuild/functions
Fix
- Hook and assertion configuration functions were shipped as types only. The functions should not be ambient.
v0.0.116
@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
@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
@junobuild/cli-tools
Features
- Wndows support for pre/postdeploy scripts.
@junobuild/analytics
Build
- Update dependencies such as
isBot
.
v0.0.113
@junobuild/admin
Features
- Support for new options
max_changes_per_user
(collections) andexternal_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
@junobuild/errors
Fix
- TypeScript types were not generated and therefore not published.
v0.0.111
@junobuild/errors
Features
- Few more constants added in sync with latest Juno release.