satisfied_version 0.4.1 copy "satisfied_version: ^0.4.1" to clipboard
satisfied_version: ^0.4.1 copied to clipboard

Compare and check whether the version is satisfied with provided version (or build number) in String, List, or Map.

0.4.1 #

  • Update homepage URL.
  • Update comments.
  • Fix README typo.
  • Fix CHANGELOG typo.

0.4.0 #

  • Add supports for build number (compare 2 integers).
  • Add createString and createNumber as helpers to create a version in String and int with leading condition.
  • Rename from satisfiedWith to satisfysWith (satisfiedWith will be marked as deprecated).
  • BREAKING CHANGE
    • Remove preferTrue in Map, the biggest version value will be used if there is many satisfied version ranges.

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 to satisfiedWith.
  • [DEPRECATED] change from SatisfiedVersion.isSatisfied to SatisfiedVersion.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.
3
likes
160
pub points
73%
popularity

Publisher

verified publisherlamnhan.dev

Compare and check whether the version is satisfied with provided version (or build number) in String, List, or Map.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on satisfied_version