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

Improved configuration version handling #788

Closed
wants to merge 2 commits into from

Conversation

4drian3d
Copy link
Contributor

@4drian3d 4drian3d commented Jul 9, 2022

Currently the user is "forced" to handle the configuration update on their own, deleting the configuration they have in place to add the new options, whereas the job should be handled by Velocity, especially with a patch version being developed 3.1.2.

This pull request replaces the old logic for handling version 1.0 and 2.0 configuration to a single migration. This would also allow more migrations to be done in case more configuration options or changes are added in the future, e.g. #666. Possibly resolves #733 , but only for the new options that may be added from now on

@Xernium
Copy link
Member

Xernium commented Jul 9, 2022

Collides with #772
Please either wait and rebase or target the PR branch so we can pull this later.

@4drian3d 4drian3d mentioned this pull request Jul 11, 2022
@4drian3d 4drian3d closed this Sep 10, 2022
@4drian3d
Copy link
Contributor Author

superseded by #1111

@4drian3d 4drian3d deleted the config-improvement branch October 15, 2023 03:28
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.

Velocity doesn't add new options to the velocity.toml config file
2 participants