satisfied_version 0.4.0 satisfied_version: ^0.4.0 copied to clipboard
Compare and check whether the version is satisfied with provided version (or build number) in String, List, or Map.
0.4.0 #
- Add supports for build number (compare 2 integers).
- Add
createString
andcreateNumber
as helpers to create a version inString
andint
with leading condition. - Rename from
satisfiedWith
tosatisfysWith
(satisfiedWith
will be marked as deprecated). - BREAKING CHANGE
- Remove
preferValue
inMap
, the biggest version value will be used if there is many satisfied version ranges.
- Remove
0.3.0 #
- Bump sdk to ">=3.0.0 <4.0.0".
- Better support for the version with format "major.minor.patch".
- Remove deprecated function:
.isSatisfiedVersion
,SatisfiedVersion.isSatisfied
. - Improve test and cover up to 100%.
0.2.0 #
- Bump sdk to ">=2.18.0 <4.0.0".
0.1.0+2 #
- Improved pub score.
0.1.0+1 #
- Improved README.
0.1.0 #
- [BUG] add
defaultCondition
to_getCondition
(Internal). - [DEPRECATED] change extension from
isSatisfiedVersion
tosatisfiedWith
. - [DEPRECATED] change from
SatisfiedVersion.isSatisfied
toSatisfiedVersion.string
. - Improve test for extension.
0.0.2 #
- Added support to compare the version within the range for
List
. See README.
0.0.1+3 #
- Supports dart native.
0.0.1+2 #
- README typo.
- Removed useless dependencies to support dart native.
0.0.1+1 #
- Initial release.