Releases: bcc-code/directus-schema-sync
Releases · bcc-code/directus-schema-sync
schema-sync v3.0.9
What's Changed
- Do not update hash/timestamp if hash didn't actually change.
Full Changelog: v3.0.8...v3.0.9
Version 3.0.8
What's Changed
- Just some performance updates to load and save files in parallel.
Full Changelog: 3.0.7...v3.0.8
Version 3.0.7
Version 3.0.6
What's Changed
- add SCHEMA_SYNC_DATA_ONLY flag by @adelinn in #60
- add --data option to import command to only import data and not schema
Full Changelog: 3.0.5...3.0.6
Version 3.0.2
What's Changed
Full Changelog: v3.0.1...v3.0.2
Version 3.0.1
Just fixed directus_config.js duplicate permissions configuration.
For migration guide please refer to Version 3
Full Changelog: 3.0.0...v3.0.1
Version 3.0.0
Updated for the Directus 11.
Migration guide:
- First update to Directus 11, including running
npx directus database migrate:latest - Then install schema-sync
npm install directus-extension-schema-sync@latest -S - Then copy the new configuration for policies and access, as well as the updated config for permissions and roles from
node_modules/directus-extension-schema-sync/install/schema-sync/directus_config.js - Paste the updated configuration into your
./schema-sync/directus_config.jsfile - Finally run
npx directus schema-sync exportto generate a new snapshot with the latest schema 🎉
Full Changelog: v2.1.2...3.0.0
Version 2.1.2
- Remove old schema files when generating new schema files.
- This is to remove files of deleted collections.
Version 2.1.1
What's Changed
- Collection exporter issue - throw clearer error by @StevenMalaihollo in #41
New Contributors
- @StevenMalaihollo made their first contribution in #41
Full Changelog: v2.1.0...v2.1.1
Version 2.1.0
Added groupBy parameter to collection options
(optional) array of fields to group the exported data into multiple files, eg. ['collection'] (per collection)
This is useful when you have a large amount of data in a collection (such as directus_permissions) and want to split it up into multiple files.
{
directus_permissions: {
watch: ['permissions'],
groupBy: ['collection', 'role'],
…
},
}
Full Changelog: v2.0.0...v2.1.0