Skip to content

@antelopejs/dms v0.11.0

Choose a tag to compare

@Upd4ting Upd4ting released this 23 Oct 21:40
· 85 commits to main since this release

Upgrade notes

  • Implements @antelopejs/interface-dms >=0.9.0 <0.10.0 (see its 0.9.0 notes: DefaultLayoutOptions.record as a loader, tenant provisioning through TENANT_BEING_PROVISIONED).
  • Breaking: changing modules from the store is reserved to development (#418). A configuration that sets store.enabled: true in production no longer opens the store.
  • Breaking: the GitHub star button is removed from the footer (#428). branding.footer.githubStar no longer exists: a layer that sets it gets a TypeScript error on DmsFooterConfig and should delete the line.
  • Breaking (layer API): isHydratingComponent is removed, without an alias (#424). Use isDmsHydrating() from @antelopejs/dms-frontend ≥ 0.9: ref(!import.meta.env.SSR && !isHydratingComponent()) becomes ref(!import.meta.env.SSR && !isDmsHydrating()).
  • Behavior change: forms read the data API's structured field errors, 400 { code, fields } from @antelopejs/interface-data-api 0.4, and name each refused field by its column label (#433). Requires interface-data-api >=0.4.0.
  • Behavior change: the fallback language of a @Localized field is required in generated forms, client and server (#427).
  • Table view columns support visibleWhen and disabledWhen; the write routes ignore hidden or locked values, and an edit that hides a visibleWhen field clears it (#431).
  • Requires @antelopejs/dms-frontend >=0.9.0 <0.10.0 (with @antelopejs/api ≥ 1.5.0), @antelopejs/interface-database-decorators >=0.1.10 and @antelopejs/interface-database >=0.1.11. Modules move to @antelopejs/dms 0.11 and @antelopejs/interface-dms >=0.9.0.

compare changes

🚀 Enhancements

  • frontend: List the origins the dev manifest rewrites (#434)
  • store: ⚠️ Changing modules from the store is reserved to development (#418)
  • relation: "Not found" for unanswered ids, cascader read by ?ids=, lists need the Foreign join (#421)
  • tenants: Provision the default tenant through TENANT_BEING_PROVISIONED (#420)
  • page: Read the page's record with its layout, in PageLayoutRequest's context (#426)
  • page: Leave a detail page whose record was deleted; 404 shown as not found (#432)
  • dms-layout: ⚠️ Remove the GitHub star button from the footer (#428)
  • forms: Require the fallback language of a localized field (#427)
  • table-view: VisibleWhen and disabledWhen column conditions (#431)
  • errors: Read the data API's { code, fields } field errors (#433)

🔥 Performance

  • dms-ui: Load each code snippet's grammar alone, without the editor (#403)

🩹 Fixes

  • export: Quote the CSV header line (#419)
  • format: Draw the narrow no-break space in Geist, and keep the locale's (#422)
  • playground: Hydration and invite-extension warnings of the playground pages (#429)
  • tabs: Take the pill tabs' corners from the theme radius (#359)
  • modules: Wait for the listing's background read on a return to the page (#436)

💅 Refactors

  • i18n: Translate outside setup through getAppTranslation only (#423)
  • hydration: Read the runtime's isDmsHydrating, drop isHydratingComponent (#424)

📖 Documentation

  • changelog: Upgrade notes of dms 0.10.0 (#417)
  • deployment: Require affinity on the realtime routes across instances (#430)

📦 Build

  • deps: Dms-frontend 0.9, interface-data-api 0.4, decorators 0.1.10 (#437)

🏡 Chore

  • release: @antelopejs/interface-dms v0.9.0 (555267de)

✅ Tests

  • Run the backend tests without Ethereal (#435)
  • hydration: Give the live tests isDmsHydrating (#438)

⚠️ Breaking Changes

  • store: ⚠️ Changing modules from the store is reserved to development (#418)
  • dms-layout: ⚠️ Remove the GitHub star button from the footer (#428)

❤️ Contributors