Releases: fossas/locator-rs
Releases · fossas/locator-rs
v4.2.0
What's Changed
- Bump Swatinem/rust-cache from 2.7.8 to 2.8.0 in the rollup group by @dependabot[bot] in #31
- Bump actions/checkout from 4 to 5 in the rollup group by @dependabot[bot] in #32
- Bump Swatinem/rust-cache from 2.8.0 to 2.8.1 in the rollup group by @dependabot[bot] in #33
- Add PURL support by @nficca in #36
Full Changelog: v4.1.0...v4.2.0
v4.1.0
v4.0.2
v4.0.1
v4.0.0
v3.0.0
What's Changed
- [ANE-2381] Implement Nuget constraint by @james-fossa in #21
- [ANE-2359] Add Cargo Constraints by @nficca in #20
- Refactor comparisons by @jssblck in #23
- Bump Swatinem/rust-cache from 1.3.0 to 2.7.8 by @dependabot in #18
- Update itertools requirement from 0.10.5 to 0.14.0 by @dependabot in #17
- Update deps, swap to utoipa v5 by @jssblck in #25
New Contributors
Full Changelog: v2.4.1...v3.0.0
v2.4.1
v2.4.0
What's Changed
- Add the concept of constraints by @jssblck in #14
- Add license scan report and status by @fossabot in #12
- Bump actions/checkout from 2 to 4 by @dependabot in #3
- [ANE-2371] Add Gem constraint by @james-fossa in #16
- [ANE-2382] Add Pip constraint by @james-fossa in #19
New Contributors
- @fossabot made their first contribution in #12
- @dependabot made their first contribution in #3
- @james-fossa made their first contribution in #16
Full Changelog: v2.3.1...v2.4.0
v2.3.0
v2.2.0
What's Changed
Replace typed_builder with bon by @jssblck in #9:
Instead of this:
let org_id = Some(1234);
let locator = StrictLocator::builder()
.fetcher(Fetcher::Git)
.package("...")
.revision("...");
let locator = match org_id {
None => locator.build(),
Some(org_id) => locator.org_id(org_id).build(),
};Users can now do this:
let org_id = Some(1234);
let locator = StrictLocator::builder()
.fetcher(Fetcher::Git)
.package("...")
.revision("...")
.maybe_org_id(org_id)
.build();Users can still fill the field directly when a value is known to exist:
let locator = StrictLocator::builder()
.fetcher(Fetcher::Git)
.package("...")
.revision("...")
.org_id(1234)
.build();Additionally, error messages for partially built structs are now improved.
Full Changelog: v2.1.0...v2.2.0