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

Breaking changes for next major release #355

Closed
12 tasks done
blaugold opened this issue Jul 18, 2022 · 1 comment
Closed
12 tasks done

Breaking changes for next major release #355

blaugold opened this issue Jul 18, 2022 · 1 comment

Comments

@blaugold
Copy link
Collaborator

blaugold commented Jul 18, 2022

This issue is for collecting and discussing breaking changes for a future major release so that we can batch them and make it easier for users to migrate. We should create a migration guide when the time comes.

Features to remove

Options to enable per default

These options have been successively added and were not enabled by default to not break things. They are generally useful features that most users will want to have enabled.

Move to dependency_overrides.yaml and Dart 2.18.0

We should consider removing support for bootstrapping with temporary packages and fully move to pubspec_overrides.yaml.

This would require moving to Dart 2.18.0 as the minimum supported version to ensure that publishing with dependency_overrides.yaml works without a workaround.

The advantages are:

  • Users won't run into the issues related to temporary packages and get the improved integration with other tools.
  • We don't have to maintain two mechanisms for bootstrapping.
  • Between 2.12.0 and 2.18.0 a number of useful language features were added.

To do

Tasks that need to be completed, if we decide to move to dependency_overrides.yaml.

  • Remove usePubsecOverrides.
  • Remove temporary packages bootstrapping mechanism.
  • Update docs to explain:
    • how bootstrapping uses dependency_overrides.yaml files.
    • that dependency_overrides.yaml should be ignored.
    • how pub get works in a bootstrapped workspace.
    • when melos bootstrap needs to be rerun.
  • Upgrade Dart version constraints.

Rework hooks

Local installation of Melos

Rename config options to be consistent

Fetch tags before versioning

@spydon
Copy link
Collaborator

spydon commented Dec 4, 2023

Closing this since the release already occurred.

@spydon spydon closed this as completed Dec 4, 2023
@spydon spydon unpinned this issue Dec 9, 2023
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

No branches or pull requests

2 participants