Skip to content

Commit 1b9c0b8

Browse files
authored
Make changelog ready for release (#320)
* Make changelog ready for release * Phrasing
1 parent 00c688c commit 1b9c0b8

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

CHANGELOG.md

+12-7
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,24 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## [0.3.0] UNRELEASED [(diff with 0.2.1)][unreleased-diff]
5+
## [0.3.0] - 2025-02-12 - [(diff with 0.2.1)][0.2.1-diff]
66

7-
PubGrub 0.3 improves the interfaces and speeds resolution significantly.
7+
PubGrub 0.3 has a more flexible interface and speeds resolution significantly. The public API is very different now, we
8+
recommend starting the migration by implementing the new `DependencyProvider` interface following the
9+
[Guide](https://pubgrub-rs.github.io/pubgrub/pubgrub/).
810

9-
All public interfaces are now in the root of the crate.
11+
All public interfaces are now in the root of the crate.
1012

11-
In the main interface, [`DependencyProvider`](TODO), `choose_package_version` was split into two methods: `prioritize`
13+
In the main interface, `DependencyProvider`, `choose_package_version` was split into two methods: `prioritize`
1214
for choosing which package to decide next by assigning a priority to each package, and `choose_version`. The generic
1315
parameters became associated types. The version set is configurable by an associated type.
1416

15-
[`Dependencies`](TODO) gained a generic parameter for custom incompatibility type outside version conflicts, such as
16-
packages not available for the current platform or permission errors. This type is on `DependencyProvider` as
17+
`Dependencies` gained a generic parameter for custom incompatibility type outside version conflicts, such as packages
18+
not available for the current platform or permission errors. This type is on `DependencyProvider` as
1719
`DependencyProvider::M`.
1820

19-
`pubgrub::range::Range` now lives in its own crate as [`version_ranges::Ranges`](https://docs.rs/version-ranges/0.1/version_ranges/struct.Ranges.html).
21+
`pubgrub::range::Range` now lives in its own crate as [`version_ranges::Ranges`](https://docs.rs/version-ranges/0.1/version_ranges/struct.Ranges.html). A `Version` can be almost any
22+
ordered type now, it only needs to support set operations through `VersionSet`.
2023

2124
At a glance, this is the new `DependencyProvider` interface:
2225

@@ -208,10 +211,12 @@ The gist of it is:
208211
- `.gitignore` configured for a Rust project.
209212
- `.github/workflows/` CI to automatically build, test and document on push and pull requests.
210213

214+
[0.3.0]: https://github.com/pubgrub-rs/pubgrub/releases/tag/v0.3.0
211215
[0.2.1]: https://github.com/pubgrub-rs/pubgrub/releases/tag/v0.2.1
212216
[0.2.0]: https://github.com/pubgrub-rs/pubgrub/releases/tag/v0.2.0
213217
[0.1.0]: https://github.com/pubgrub-rs/pubgrub/releases/tag/v0.1.0
214218

215219
[unreleased-diff]: https://github.com/pubgrub-rs/pubgrub/compare/release...dev
220+
[0.2.1-diff]: https://github.com/pubgrub-rs/pubgrub/compare/v0.2.1...v0.3.0
216221
[0.2.0-diff]: https://github.com/pubgrub-rs/pubgrub/compare/v0.2.0...v0.2.1
217222
[0.1.0-diff]: https://github.com/pubgrub-rs/pubgrub/compare/v0.1.0...v0.2.0

0 commit comments

Comments
 (0)