Releases: fosskers/rs-versions
Releases · fosskers/rs-versions
6.3.1
Fixed
- Parsing of
Mess
on a single digit will correctly yield MChunk::Digits
.
- Improved comparison of
Version
s whose main chunks lead with a letter, e.g. r23
.
6.3.0
Changed
- Relaxed argument to
new
functions to accept S: AsRef<str>
.
6.2.0
Added
Requirement::serialize
for pretty-encoding of version "requirements strings".
6.1.0
Added
- The
Requirement
type for testing version constraints.
Versioning::parse
for usage with nom
.
Versioning::deserialize_pretty
for deserializing directly from raw version strings.
6.0.0
While technically a breaking change, most users should not notice.
Changed
- The
Err
/ Error
associated types for automatic conversion of strings into proper version types have been changed from ()
to a proper Error
enum.
5.0.1
Changed
- Bumped
itertools
dependency.
5.0.0
This introduces a very small, technically breaking change to the API involving a single type. If you're just doing basic parsing and comparisons and not actually inspecting the types themselves, you shouldn't notice a difference.
Changed
- Versions with
~
in their metadata will now parse as a Mess
. Example: 12.0.0-3ubuntu1~20.04.5
4.1.0
Added
FromStr
and TryFrom
instances for each type.
4.0.0
Added
Changed
SemVer
and Version
have had their prerel field changed to Release
.
- The
Chunk
type has changed from a struct to an enum.
Removed
Fixed
- A bug involving zeroes in
SemVer
prereleases.
- A bug involving the
Display
instance for Version
.
3.0.1
Changed
- Certain parsers are now faster and use less memory.