Changelog
All three packages (@martipops/cms-core, @martipops/cms-adonis, @martipops/cms-vue) share one version while they live together. Breaking changes are allowed before 1.0 and are listed under Breaking.
0.1.1
Removed
- The unused
CommitRequestandCommitErrorResponsetypes (@martipops/cms-core). - The
allslot prop on<CmsCollection>.items(visible items) is still there.
Changed
- Internal tidy-ups in
@martipops/cms-vue(collection items built in one place, list item buttons rendered from one list). No visible change. - The README explains how to link a local checkout into a site without loading two copies of Vue or AdonisJS.
0.1.0
First version prepared for use outside a client site, in its own repo and published privately to GitHub Packages.
Breaking
- Renamed from
@martipops/cms-*to@martipops/cms-*. mediaExistsis nowmedia: { exists, baseUrl? }, and it's only required once a schema has image or file fields. Missing it fails at boot.f.file()defaults to thefilesfolder (waspdfs).f.image()takes afolder(defaultimages).- Link fields pick from the
linkFolderplugin option (defaultfiles) or the field'sfolder, instead of alwayspdfs. The button reads Choose file. TABLESis replaced bycmsTables(prefix)andcms.tables.mediaUrlis no longer exported from@martipops/cms-core(use the one from@martipops/cms-vue).mediaKeysIn/mediaKeysInFieldstake{ baseUrl, custom }.
Added
node ace configure @martipops/cms-adonis: registers the provider and commands, createsconfig/cms.tsand the migration, mounts the routes, and installs the Vue plugin and Tailwind entry.cms:make:page,cms:make:collectionandcms:make:fieldgenerators, which also register what they create inconfig/cms.ts.@martipops/cms-vueships compiled (dist/, with type declarations) instead of.vuesource, plus a Vite plugin,@martipops/cms-vue/vite, that sites add tovite.config.ts(the installer does).tablePrefixconfig.cmsTablesV1(@martipops/cms-adonis/schema): the tables as a versioned migration step.@martipops/cms-vue/tailwind.css, replacing a hand-written@sourcepath.- Standalone test suites for
cms-coreandcms-adonis.
Fixed
cms-adonisimported types from@vinejs/compiler, which it didn't depend on.slugifystrips accents with an explicit Unicode range.- Builds from a fresh install outside the site:
cms-adonisdeclaresluxonand@adonisjs/assemblerfor its tests, and itsts-morphtypes follow the assembler's major version (28).cms-vuetype-checks under newervue-tsc.