-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
[v1.40.0] Remove code deprecated in v1.30.0 #2924
Draft
Geod24
wants to merge
27
commits into
dlang:master
Choose a base branch
from
Geod24:mlang/RemoveOverrides
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
fc1711a
Remove deprecated override system
Geod24 63fe80d
Remove deprecated PackageManager.getLatestPackage
Geod24 2074d61
Remove Dependency : Repository related deprecations
Geod24 65ba191
Remove deprecated SelectedVersions Json constructor
Geod24 c85a46a
Remove deprecated PackageManager.loadSCMPackage(string, Dependency)
Geod24 8cf5ffe
Remove deprecated Project.dependencyToJson
Geod24 e2fdbda
Remove deprecated Dub.remove(pack, bool)
Geod24 0cd0675
Remove deprecation project : PlacementLocation alias
Geod24 189d4f5
Remove deprecated selections JSON deserialization functions
Geod24 8898c1c
Remove deprecated DependencyResolver constructor
Geod24 2a81349
Error our on invalid settings / selections file
Geod24 2a0b04c
Remove deprecated enum LocalPackageType
Geod24 e0e7209
Remove deprecated Dependency.matchesAny
Geod24 6b8726d
Remove deprecated dub.remove overload
Geod24 d9c2355
Remove deprecated Dependency.versionSpec
Geod24 fd7830d
Remove deprecated Dub.fetch with Dependency
Geod24 d64cc26
Remove deprecated Dub.getPackageSuppliers
Geod24 0db33e3
Remove deprecated PackageManaget.getPackage version string overloads
Geod24 855cd2d
Remove deprecated Dependency.path and repository setters
Geod24 a645511
Error out on invalid dub.json file
Geod24 b82ec23
Remove deprecated PackageManager.getFirstPackage
Geod24 0248cbb
Remove deprecated PackageManager.getPackage(string, NativePath)
Geod24 0ca27a9
Remove PackageManager.completeSearchPath
Geod24 9cd7640
Remove deprecated PackageManager.getPackage overload
Geod24 3558335
Remove deprecated PackageManager.storeFetchedPackage
Geod24 6d4fb1a
Dub: Remove the ability to change the rootpath
Geod24 6e5e4c9
Remove deprecated BuildOptions / BuildRequirements aliases
Geod24 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
The override system has been removed | ||
|
||
The override system was deprecated in v1.30.0 as it was neither | ||
widely used nor generally useful given Dub's available feature set. | ||
With this release, it is now completely removed. | ||
|
||
This means that the commands `add-override`, `remove-override`, | ||
`list-override`, and the interaction with `local-overrides.json` | ||
have been removed, along with all the associated APIs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the value of deprecating/removing something like this? IMO, it makes code easier to read and also keeps a door open for backwards compatible adjustments of the exact type (exactly like what was happening in the mentioned original commit).