Skip to content

Add breaking change for snapshot #402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions content/releases/3.breaking-changes/2.version-11.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@ title: Version 11
description: Breaking changes may require action on your part before upgrading.
---

## Version 11.X.X

#### database-only tables are now excluded from snapshots
Comment on lines +6 to +8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Version 11.X.X
#### database-only tables are now excluded from snapshots
## Version 11.10.0
#### Database-only tables are now excluded from snapshots


Snapshots now exclude tables not tracked in `directus_collections` (database-only tables).

| Source Version | Target Version | Behavior | Impact |
| -------------- | -------------- | ---------------------------------------------------------- | -------------------------------------------- |
| < 11.10.0 | ≥ 11.10.0 | Database-only tables from source will be created on target | ⚠️ Tables added |
| ≥ 11.10.0 | < 11.10.0 | Database-only tables will be dropped from target | 🚨 Data loss risk |
| ≥ 11.10.0 | ≥ 11.10.0 | Database-only tables are ignored in snapshots | ✅ No changes |
| < 11.10.0 | < 11.10.0 | Database-only tables may be created or dropped | ⚠️ Depends on the diff between source/target |

Please review your snapshot workflows to ensure these changes will not result in unexpected behaviour.

## Version 11.9.0

#### SDK login function now uses a payload parameter for email and password
Expand Down