Skip to content

v0.9.0

Choose a tag to compare

@Upd4ting Upd4ting released this 23 Oct 20:09
· 156 commits to main since this release

Upgrade notes

  • Breaking: ${@<module>.<VAR>} references in antelope.config.ts are resolved, at ajs dms build and ajs dms start, by the pure configVars(config) that the provider declares as antelopeJs.configVarsFile (#192). The hard-coded copy of the api module's logic is gone. With @antelopejs/api ≤ 1.4.0 the ${@api.*} references stay unresolved, the build warns (api declares no antelopeJs.configVarsFile…), and dms falls back to its default apiBaseUrl. Migration: upgrade @antelopejs/api to ≥ 1.5.0 together with this release.
  • Breaking: ajs dms dev reads the frontend modules from the project, as build does (antelope.config.ts, then each module's frontendModule(config, { dev: true })) (#193). The backend only supplies the declared private values (secrets) and originRewrites. Migration: run ajs dms dev from the project, or pass --project when you run ajs dms dev -b <url> outside it. -e/--env selects the environment.
  • ajs dms build and the start of ajs dms dev refuse a catalog message vue-i18n cannot compile, naming the source file, the key and the fix (#190).
  • isDmsHydrating() tells whether the browser is hydrating the page the server rendered (#189).
  • ajs dms start reports the modules the build serves (names and versions), and warns when the project now gives others (#191). A build made before 0.9.0 reports names without versions until rebuilt.
  • Every locale catalog is kept out of the client entry (#181); the build reports what each frontend module adds to the client entry (#182).
  • Frontend modules implementing dms-frontend move their range to >=0.9.0 <0.10.0.

compare changes

🚀 Enhancements

  • build: ⚠️ Resolve ${@module.VAR} with the function its provider declares (#192)
  • dev: ⚠️ Read the frontend modules from the project, as build does (#193)
  • locales: Refuse a catalog message vue-i18n cannot compile (#190)
  • runtime: IsDmsHydrating(), whether the browser hydrates the page (#189)
  • build: Report what each frontend module adds to the client entry (#182)

🔥 Performance

  • vue: Stop useColorMode from re-applying the color mode on boot (#168)
  • i18n: Keep every locale catalog out of the client entry, each one complete (#181)
  • vue: Render a page that completes its query in place of redirecting (#194)

🩹 Fixes

  • start: Report the modules the build serves, and warn when the project now gives others (#191)
  • server: Let a client read its 413 before the proxy closes the connection (#185)
  • vue: Render Nuxt UI key hints the same on the server and in the browser (#172)
  • vue: Keep a failed page setup from warning about its own template (#169)
  • vue: Compile props typed with auto-imported types to their runtime type (#171)

✅ Tests

  • server: Stop the servers a test started before removing their directory (#184)
  • Check that the workspace receives every template file the application loads (#183)

⚠️ Breaking Changes

  • build: ⚠️ Resolve ${@module.VAR} with the function its provider declares (#192)
  • dev: ⚠️ Read the frontend modules from the project, as build does (#193)

❤️ Contributors