Skip to main content

Freezing, Gzip, & Console Enhancements

ยท 2 min read

Hi ๐Ÿ‘‹

A new release is out โ€” v0.0.52 ๐Ÿš€

Here are a few highlights:
๐ŸงŠ Longer default freezing thresholds
โœ… Gzipped HTML
๐Ÿ” Allowed Callers
๐Ÿ›  CLI Improvements
๐Ÿ–ฅ Polished Console UI

Checkout the release notes for details ๐Ÿ‘‰ Release v0.0.52 ยท junobuild/juno

Let me know if anything looks fishy โ€” and happy coding! ๐Ÿ‘จโ€๐Ÿ”ง


๐Ÿ–ฅ๏ธ Two screenshots from the Console new features

The new โ€œNotificationsโ€ component:

Notifications UI

The overall look: collapsible menu, redesigned tabs, more prominent actions, and more.

Console UI Update


As a side note on this release: aside from the custom domain feature, I think itโ€™s now possible to configure your entire project โ€” including authentication, data, storage, and emulator โ€” directly within the Juno config file. Plus with type safety as the cherry on top.

This is especially handy for maintainability or if your project can be forked.

Hereโ€™s an example config that shows where and how the project is deployed, which headers to apply to assets, defines the structure of that data, and which image to use when running the emulator with Podman:

import { defineConfig } from "@junobuild/config";

/** @type {import('@junobuild/config').JunoConfig} */
export default defineConfig({
satellite: {
ids: {
development: "jx5yt-yyaaa-aaaal-abzbq-cai",
production: "fmkjf-bqaaa-aaaal-acpza-cai"
},
source: "build",
predeploy: ["npm run build"],
storage: {
headers: [
{
source: "**/*.png",
headers: [["Cache-Control", "max-age=2592000"]]
}
]
},
collections: {
datastore: [
{
collection: "notes",
read: "managed",
write: "managed",
memory: "stable"
}
]
}
},
emulator: {
runner: {
type: "podman"
},
satellite: {}
}
});

Documentation ๐Ÿ‘‰ https://juno.build/docs/reference/configuration