UnitsNet/6.0.0-pre018
Pre-release
Pre-release
·
4 commits
to master
since this release
What's Changed
✨ New Features
- Add prefix milli to torr unit by @n-tiz in #1588
- Added more generalized Tablespoon, MetricTablespoon by @tenowg in #1590
- 🎉Add new
NumberExtensionsCS14nuget package by @Ted-Jin-Lab in #1620 - Added unit enum type: kilopound force foot per radian by @JustASquid in #1636
💥 Breaking Changes
- Refactored the
IQuantityinterface 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) fromUnitMathby @lipchev in #1601 - Replace
As(UnitSystem)andToUnit(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
- Migrating to the slnx format by @lipchev in #1591
- Add CLAUDE.md for Claude Code integration by @angularsen in #1621
- Add Claude Code GitHub Workflow by @angularsen in #1622
- 🔧 Add GitHub Actions for CI and PR by @angularsen in #1624
- 🔨Fix build scripts to handle missing Visual Studio by @angularsen in #1626
- 🔨Split build scripts for NanoFramework by @angularsen in #1627
📦 Dependencies
📚 Documentation
New Contributors
- @tenowg made their first contribution in #1590
- @meokullu made their first contribution in #1605
- @Ted-Jin-Lab made their first contribution in #1620
- @TekuSP made their first contribution in #1625
- @JustASquid made their first contribution in #1636
Full Changelog: UnitsNet/6.0.0-pre017...UnitsNet/6.0.0-pre018