Skip to content

UnitsNet/6.0.0-pre018

Pre-release
Pre-release

Choose a tag to compare

@angularsen angularsen released this 06 Dec 17:18
· 4 commits to master since this 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