Freezing, Gzip, & Console Enhancements
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:
The overall look: collapsible menu, redesigned tabs, more prominent actions, and more.
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