Skip to content

Commit

Permalink
Release v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Jul 2, 2021
1 parent 9ae6d0d commit eddaaed
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ name: Publish to Crates.io
on:
push:
tags:
- v*.*.*
- "*.*.*"

jobs:
publish:
needs: publish-derive
runs-on: ubuntu-latest
environment: Crates.io
name: Publish Rust crate
Expand Down
33 changes: 28 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,38 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
[Unreleased]: https://github.com/althonos/packageurl.rs/compare/0.3.0...HEAD


## [0.3.0] - 2021-07-02
[0.3.0] https://github.com/althonos/packageurl.rs/compare/0.2.0...0.3.0

### Added
- Optional `Serialize` and `Deserialize` implementations when the `serde` feature is enabled. Closes [#3](https://github.com/althonos/packageurl.rs/issues/3).
- `Display` implementation for `PackageUrl`. Closes [#2](https://github.com/althonos/packageurl.rs/issues/2).
- `PartialEq` implementation for `PackageUrl`.
- `std::error::Error` trait implementation for the `packageurl::Error` type.

### Changed
- `PackageUrl` does not provide direct access to its fields anymore, only through read-only getters.
- Some `PackageUrl` methods now return a result in case the argument fails to pass validation.

### Fixed
- Qualifier keys are now properly validated and rejected when they contain invalid characters.


## [0.2.0] - 2018-06-14
[0.2.0]: https://github.com/althonos/packageurl.rs/compare/0.1.0...0.2.0

### Fixed
- Update to the new specification with enforces the `pkg` scheme at the start
of every package.
- Update to the new specification with enforces the `pkg` scheme at the start of every package.

### Changed
- Replaced `scheme` field on `PackageUrl` with a field named `ty` (for type)
as scheme now has a constant value of `pkg`.
- Replaced `scheme` field on `PackageUrl` with a field named `ty` (for type) as scheme now has a constant value of `pkg`.

## [0.1.0] - 2017-04-13
[0.1.0]: https://github.com/althonos/packageurl.rs/compare/f61ab5c...0.1.0

## 0.1.0 - 2017-04-13
### Added
- The `PackageUrl` struct with parsing and serializing methods
- Test cases based on the PURL specification test suite.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "packageurl"
version = "0.2.0"
version = "0.3.0"
authors = ["Martin Larralde <[email protected]>"]
license = "MIT"
description = "Rust implementation of the package url specification"
Expand Down

0 comments on commit eddaaed

Please sign in to comment.