Skip to content

Releases: angularsen/UnitsNet

UnitsNet/6.0.0-pre019

07 Dec 11:54

Choose a tag to compare

UnitsNet/6.0.0-pre019 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: UnitsNet/6.0.0-pre018...UnitsNet/6.0.0-pre019

UnitsNet/6.0.0-pre018

06 Dec 17:18

Choose a tag to compare

UnitsNet/6.0.0-pre018 Pre-release
Pre-release

What's Changed

✨ New Features

💥 Breaking Changes

  • Refactored the IQuantity interface by @lipchev in #1587
  • Replaced the NotImplementedException from ToUnit with UnitNotFoundException by @lipchev in #1594
  • Making the QuantityInfoLookup public by @lipchev in #1597
  • Removed the obsolete methods (Min/Max) from UnitMath by @lipchev in #1601
  • Replace As(UnitSystem) and ToUnit(UnitSystem) with extension methods by @lipchev in #1600
  • Constraint the Abs extension method to ILinearQuantity by @lipchev in #1607
  • making the TQuantity Create(double, UnitKey) function public by @lipchev in #1611
  • Exposing the operator IDivisionOperators<TSelf, TSelf, double> by @lipchev in #1613
  • Removing the Dimensions instance property (v6) by @lipchev in #1612
  • Providing a default implementation for IQuantity.QuantityInfo by @lipchev in #1614
  • Replace ToUnit(UnitSystem) from the IQuantity interface with an extension method by @lipchev in #1606

🐛 Bug Fixes

  • 🧪Fix test on Norwegian culture, order by StringComparer.Ordinal by @angularsen in #1602
  • ✏️Rename MegaJoulePerTonne to MegajoulePerTonne by @angularsen in #1603
  • ✏️Rename KiloPond to Kilopond by @angularsen in #1604
  • Fix nanoframework packages not publishing all packages. by @TekuSP in #1625

🔨 Refactoring

  • Refactored test: From_ValueAndUnit_ReturnsQuantityWithSameValueAndUnit by @lipchev in #1596
  • Refactored the tests for Parse and TryParse (UnitTestBaseClassGenerator) by @lipchev in #1595
  • Clean-up some commented-out bits from QuantityInfo and IQuantityInfo by @lipchev in #1592
  • Moved the ExceptionHelper to the Exceptions folder and updated the Skip reason for the unknown unit tests by @lipchev in #1599
  • Refactored the clamp function (preserving the unit) by @lipchev in #1608

🔧 Infrastructure & Tooling

📦 Dependencies

📚 Documentation

New Contributors

Full Changelog: UnitsNet/6.0.0-pre017...UnitsNet/6.0.0-pre018

UnitsNet/6.0.0-pre017

29 Jul 09:37

Choose a tag to compare

UnitsNet/6.0.0-pre017 Pre-release
Pre-release

What's Changed

  • Add Unit: atm·cm³/s (Atmosphere Cubic Centimeters per Second) by @n-tiz in #1570

Full Changelog: UnitsNet/6.0.0-pre016...UnitsNet/6.0.0-pre017

UnitsNet/6.0.0-pre016

27 Jul 00:49

Choose a tag to compare

UnitsNet/6.0.0-pre016 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: UnitsNet/6.0.0-pre015...UnitsNet/6.0.0-pre016

UnitsNet/5.75.0

26 Jul 01:36

Choose a tag to compare

What's Changed

Full Changelog: UnitsNet/5.74.0...UnitsNet/5.75.0

UnitsNet/6.0.0-pre015

26 Jul 01:52

Choose a tag to compare

UnitsNet/6.0.0-pre015 Pre-release
Pre-release

What's Changed

  • 🚸Describe why Parse fails due to case-insensitive ambiguity by @angularsen in #1484
  • 💚⬆️net7 to net9 in tests and benchmarks by @angularsen in #1501
  • 💚⬆️net7 to net8 (LTS), net9 (STS) by @angularsen in #1502
  • Minor corrections to some unit abbreviations by @Jagailo in #1496
  • Density: Add pound abbreviations by @hailstorm75 in #1506
  • Added fluid resistance quantity by @Jagailo in #1474
  • 💚FluidResistance: Remove duplicate, invalid base units by @angularsen in #1511
  • Update .NET nanoFramework NuGets by @josesimoes in #1510
  • Update .NET nanoFramework NuGets by @nfbot in #1516
  • Add .NET nanoFramework package for Level unit by @josesimoes in #1520
  • Update .NET nanoFramework NuGets by @nfbot in #1521
  • Update .NET nanoFramework NuGets by @nfbot in #1522
  • VolumeConcentration: fix the SingularName for LiterPerLiter and LiterPerMilliliter by @lipchev in #1504
  • Decompose unit conversion functions to exact coefficients (non-breaking) by @lipchev in #1498
  • Add .NET 9 to v6 by @andrewimcclement in #1525
  • Removing the FrequencyUnit.BUnit by @lipchev in #1529
  • Update .NET nanoFramework NuGets by @nfbot in #1530
  • Decompose unit conversion functions to exact coefficients (breaking) by @lipchev in #1499
  • PressureUnit: remove the MeterOfElevation and FootOfElevation by @lipchev in #1531
  • Enum boxing optimizations (UnitKey) by @lipchev in #1507
  • Merge v6 release branch into master by @angularsen in #1536
  • Remove SupportsSIUnitSystem => true property overrides by @lipchev in #1537
  • UnitAbbreviationsCache: GetDefaultAbbreviation should throw when no abbreviations are mapped by @lipchev in #1539
  • Inverse of Zero should return PositiveInfinity by @lipchev in #1540
  • re-organizing the QuantityIFormattableTests and UnitAbbreviationsCacheTests by @lipchev in #1541
  • Add octet to Information and octet/s to Bitrate by @ThomasGaboriau in #1546
  • UnitAbbreviationsCache.CreateEmpty should use the default QuantityInfoLookup by @lipchev in #1548
  • Removing the IConvertible interface and fixing the JsonNet converters handling for nulls by @lipchev in #1550
  • QuantityFormatter: Take UnitAbbreviationsCache instance, Format with TQuantity by @lipchev in #1551
  • QuantityParser: making the constructor consistent with that of the UnitParser by @lipchev in #1554
  • SpecificWeight: Update wiki link by @talanc in #1559
  • Add SquareMillimeterKelvinsPerWatt to ThermalInsulance by @andrewmeservy in #1561
  • feat(docs): Fixed Markdownlint, added cspell words and slight sample Readme improvement by @DevTKSS in #1563
  • QuantityInfo: internalizing the UnitInfo construction by @lipchev in #1555
  • refactor: Remove obsolete FromQuantityInfo method by @angularsen in #1574
  • refactor: rename to Quantity.DefaultProvider.Quantities by @angularsen in #1576
  • ♻️Move extension methods to UnitInfo by @angularsen in #1579
  • Add Thermal Resistance (KelvinPerWatt and DegreesCelsiusPerWatt) by @andrewmeservy in #1560
  • ✨Add Duration.Picoseconds by @benito5566 in #1567
  • 🔧Set assembly file version to match nuget version by @angularsen in #1582
  • fixup! 🔧Set assembly file version to match nuget version by @angularsen in #1583

New Contributors

Full Changelog: UnitsNet/6.0.0-pre014...UnitsNet/6.0.0-pre015

UnitsNet/5.74.0

02 Apr 15:13

Choose a tag to compare

What's Changed

Full Changelog: UnitsNet/5.73.0...UnitsNet/5.74.0

UnitsNet/5.73.0

10 Mar 21:36

Choose a tag to compare

What's Changed

Full Changelog: UnitsNet/5.72.0...UnitsNet/5.73.0

UnitsNet/5.72.0

10 Mar 12:58

Choose a tag to compare

What's Changed

Full Changelog: UnitsNet/5.71.0...UnitsNet/5.72.0

UnitsNet/5.71.0

09 Mar 17:36

Choose a tag to compare

What's Changed

Full Changelog: UnitsNet/5.70.0...UnitsNet/5.71.0