Releases: mongoose13/fling-units
v3.0.x
The third major release. See it on pub.dev
This release comes with more natural instantiation of units, code generation to more easily add new units, and generally a more terse syntax. To keep things uncluttered, old methods are removed. For help migrating to this version from 2.x, see the migration guide.
To use this version in your project, run:
flutter pub add fling_units^3.0.0
or, add the following to your pubspec.yaml
:
dependencies:
fling_units: ^3.0.0
Full Changelog: v2.2.7...v3.0.0
v2.2.x
See it on pub.dev
This release introduces default units for measurements, so measurements have some form of memory and can print themselves in a less surprising way.
To use this version in your project, run:
flutter pub add fling_units^2.2.0
or, add the following to your pubspec.yaml
:
dependencies:
fling_units: ^2.2.0
Full Changelog: v2.1.1...v2.2.0
v2.1.x
See it on pub.dev
This release introduces extensions on the num
class for a natural feel. There is also syntactic sugar for creating derived measurements via by()
and per()
.
To use this version in your project, run:
flutter pub add fling_units^2.1.0
or, add the following to your pubspec.yaml
:
dependencies:
fling_units: ^2.1.0
Full Changelog: v2.0.2...v2.1.0
v2.0.x
The second major release. See it on pub.dev
Dependencies are upgraded. The older, verbose methods of addressing units are deprecated. This may be a backwards-incompatible change for some projects, depending on their dependencies.
To use this version in your project, run:
flutter pub add fling_units^2.0.0
or, add the following to your pubspec.yaml
:
dependencies:
fling_units: ^2.0.0
Full Changelog: v1.4.1...v2.0.0
v1.4.x
See it on pub.dev
This release supports the visitor pattern on measurements.
To use this version in your project, run:
flutter pub add fling_units^1.4.0
or, add the following to your pubspec.yaml
:
dependencies:
fling_units: ^1.4.0
Full Changelog: v1.3.0...v1.4.0
v1.3.0
See it on pub.dev
This release adds support for many new units including moles, amperes, candela, daltons, and electron mass. There are some bug fixes for addition and subtraction related to precision.
To use this version in your project, run:
flutter pub add fling_units^1.3.0
or, add the following to your pubspec.yaml
:
dependencies:
fling_units: ^1.3.0
Full Changelog: v1.2.0...v1.3.0
v1.2.0
See it on pub.dev
This release introduces unit converters that accept a "reference" to the target unit instead of having different methods for each possible conversion. This also allows prefixes on the target units.
To use this version in your project, run:
flutter pub add fling_units^1.2.0
or, add the following to your pubspec.yaml
:
dependencies:
fling_units: ^1.2.0
Full Changelog: v1.1.1...v1.2.0
v1.1.0
See it on pub.dev
This release introduces support for micro, nano, and pico prefixes on meters and seconds.
To use this version in your project, run:
flutter pub add fling_units^1.1.0
or, add the following to your pubspec.yaml
:
dependencies:
fling_units: ^1.1.0
Full Changelog: v1.0.1...v1.1.0
v1.0.x
The first general release. See it on pub.dev
In terms of improvements over v0.x, this includes null safety support as well as support for time and mass as well as general usability improvements.
To use this version in your project, run:
flutter pub add fling_units^1.0.0
or, add the following to your pubspec.yaml
:
dependencies:
fling_units: ^1.0.0
Full Changelog: v0.4.1...v1.0.0