Skip to content
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

[CHORE] Enable workspace version validation on upgrade for next release #11211

Merged
merged 4 commits into from
Mar 26, 2025

Conversation

prastoin
Copy link
Contributor

@prastoin prastoin commented Mar 26, 2025

Introduction

  • Activate workspace version validation on upgrade command
  • Update upgrade command to manager next release starting from 0.44.0

@prastoin prastoin changed the title chore(server): remove temporary workspace version validation on upgra… [CHORE] Enable workspace version validation on upgrade for next release Mar 26, 2025
@prastoin prastoin marked this pull request as ready for review March 26, 2025 20:26
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR enforces workspace version validation and updates the upgrade path from version 0.44.0 to 0.50.0 in the Twenty server.

  • Changed fromWorkspaceVersion from '0.43.0' to '0.44.0' in /packages/twenty-server/src/database/commands/upgrade-version-command/upgrade.command.ts
  • Removed temporary version validation bypass in /packages/twenty-server/src/database/commands/command-runners/upgrade.command-runner.ts
  • Switched active commands from commands_044 to commands_050, using only migrateRelationsToFieldMetadataCommand
  • Potential issue: Direct jump from v0.44 to v0.50 skips intermediate version commands

The changes enforce stricter version control but introduce a version gap that may need addressing.

3 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@charlesBochet charlesBochet merged commit 870069f into main Mar 26, 2025
32 checks passed
@charlesBochet charlesBochet deleted the active-workspace-version-validation branch March 26, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants