Skip to content

Releases: angularsen/UnitsNet

UnitsNet/4.5.0

01 Feb 10:05
Compare
Choose a tag to compare
  • bf87f92 Merge pull request #595 from tongbong/features/add-GramsPerHour
  • 02098b2 Merge pull request #594 from tmilnthorp/ReplaceLambdas
  • 04c78c0 Merge pull request #584 from TrevorVonSeggern/feature/CaseSensitivity
  • dfaafa2 Merge pull request #589 from tmilnthorp/AnsysUse

UnitsNet/4.4.0

16 Jan 17:28
Compare
Choose a tag to compare

23fec69 Add pressure change rate units (#583)

UnitsNet/4.3.0

11 Jan 22:28
Compare
Choose a tag to compare

5542558 Add Mass.Grain, SpecificEnergy.BtuPerPound (#582)

UnitsNet/4.2.0

11 Jan 20:41
Compare
Choose a tag to compare

d4e8677 Add JoulesPerSquareMillimeter unit (#581)
a1c5dc2 Feature/more units (#580)

UnitsNet/4.1.0

20 Dec 20:43
Compare
Choose a tag to compare

91a7589 Added MapUnitToDefaultAbbreviation (#578)

UnitsNet/4.0.0

16 Dec 13:26
Compare
Choose a tag to compare

87dc3c7 v4.0.0 (#487)

4.0.0 Release

This PR will serve as the list of items to complete and it will be updated to show the progress before finally merged into master when completed. We all have busy schedules, so if you want to help move this work forward then that is much appreciated!

The main theme is to reduce binary size

In two years it has grown from 280 kB to 1.4 MB and a lot of it is due to unnecessary syntactic sugar with many method overloads for various number types and nullable types - for every of our 800+ units! It simply adds up to a big total.

These items are chosen from #180, trying to include as many of the low hanging fruits as possible, while still keeping the list short and realistic to complete in a reasonably short time - we are all busy in our daily lives. We can always have more major version bumps later than trying to perfect it all now.

Feature complete before November, merged before mid-December

I would like to aim for a "beta" pre-release nuget sometime in October with all the items completed, so we can have some time to test it before releasing the final, stable 4.0.0 version before Christmas holidays.
We should have the work items list more or less final before Monday, October 8th.

Changes

Added

  • UnitSystem with a different meaning, now defines the base units for a unit system (#524)

Removed

  • Replace netstandard1.0 target with netstandard2.0, to avoid the extra dependencies (#477)
  • Remove code marked as [Obsolete], such as VolumeUnit.Teaspoon (#490)
  • Remove nullable From factory methods (#483)
  • Remove extension methods on nullable number types (#483)
  • Remove all number extension methods (#497)
  • Remove Length2d, replaced by Area (#501)
  • Remove static methods on UnitSystem, should use UnitSystem.Default instead (#496)
  • Remove unit parameter from ToString() methods (#546)

Changed

  • Throw exception on NaN values in static constructor methods, like FromMeters() (#502, see #176 (comment))
  • Throw if unit was not specified when constructing quantities, (#499 - #389 (comment))
  • Stricter parsing (#343 and #180 (comment))
  • Remove unit parameter from ToString() methods (#546)
  • Change Temperature arithmetic back to use base unit Kelvin (#550, see #518)

Renamed

  • Correct SingularName for some Flow unit definitions (#494, see #360)
  • Split/rename UnitSystem into UnitParser, GlobalConfiguration, UnitAbbreviationsCache (#511)

Fixed

  • Search for any TODO comments in the code to address, remove comment and either fix or create issue (5d24432)
  • Update README with v4 changes #498
  • Do not try/catch in UnitConverter.Try-methods (#506)
  • Do not try/catch in Length.TryParse() and for other quantities (#507)
  • Add/update changelog in wiki for v4 with some summary copied from this issue, some v3 to v4 migration instructions and briefly explain why some stuff were removed

Milestones

  • Finalize work items list (Monday, October 8)
  • Release 4.0.0-beta1, feature complete (Wednesday, October 31)
  • Show release notes and upgrade guide when upgrading to 4.x nuget, if possible
  • Release 4.0.0 (Monday, December 17)

JsonNet/4.0.0

16 Dec 13:27
Compare
Choose a tag to compare

The main change to JSON library jumping from 1.x to 4.x is to share versioning number with UnitsNet and now requires UnitsNet 4.0.0 or higher as dependency.

UnitsNet/3.111.0

14 Dec 17:25
Compare
Choose a tag to compare

288133a Fix negative FeetInches and StonePounds with negative values

UnitsNet/3.110.0

10 Dec 11:17
Compare
Choose a tag to compare

0f8c06b Extend volume flow by cubic millimeter per second (#571)
a9a20ff Extend quantities by some SI prefix (#570)

UnitsNet/4.0.0-beta2

16 Nov 15:02
Compare
Choose a tag to compare

23af7a9 UnitsNet: 4.0.0-beta2
e5ccbcd JsonNet: 4.0.0-beta2
0826b75 Merge remote-tracking branch 'origin/master' into v4
71bc0a8 Revert "Normalize Temperature arithmetic (#550)"
f5c256d UnitsNet: 3.109.0
5342ec9 Add KilogramPerMinute, KilousGallonsPerMinute (#561)
f28d009 Publish nugets on v4 branch instead of release/v4
e211e13 README: Update link to UnitConverter.Wpf
b075ff3 Upgrade UnitConverter.Wpf to net471
3c91775 Merge branch 'v4-upgrade-samples-nugets' into v4
f7c2011 Merge branch 'v4-move-testapps-to-samples' into v4
721f165 Use wildcards in WRC project
f777e28 Remove nunit binaries
c815ba9 Add back missing SourceLink
2161082 Remove symbols nuget packages