Releases: angularsen/UnitsNet
Releases · angularsen/UnitsNet
UnitsNet/6.0.0-pre019
What's Changed
- Add Mass unit Dalton (atomic mass unit) by @dmlewis08 in #1634
New Contributors
- @dmlewis08 made their first contribution in #1634
Full Changelog: UnitsNet/6.0.0-pre018...UnitsNet/6.0.0-pre019
UnitsNet/6.0.0-pre018
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
UnitsNet/6.0.0-pre017
What's Changed
Full Changelog: UnitsNet/6.0.0-pre016...UnitsNet/6.0.0-pre017
UnitsNet/6.0.0-pre016
What's Changed
- ci: 🧹Remove yaml header by @angularsen in #1584
- ✨Set IsAotCompatible for net7.0 or later by @OleRoss in #1543
- ✨Add more Gray units by @Jagailo in #1568
- UnitParser: adding overloads for getting a UnitInfo using a type/name and abbreviation by @lipchev in #1585
New Contributors
Full Changelog: UnitsNet/6.0.0-pre015...UnitsNet/6.0.0-pre016
UnitsNet/5.75.0
What's Changed
- 🗑️Obsolete Quantity.FromQuantityInfo() by @angularsen in #1577
- 🔧Set assembly file version to match nuget version (v5) by @angularsen in #1581
Full Changelog: UnitsNet/5.74.0...UnitsNet/5.75.0
UnitsNet/6.0.0-pre015
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:GetDefaultAbbreviationshould 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.CreateEmptyshould use the defaultQuantityInfoLookupby @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 theUnitParserby @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 theUnitInfoconstruction 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
- @hailstorm75 made their first contribution in #1506
- @ThomasGaboriau made their first contribution in #1546
- @talanc made their first contribution in #1559
- @DevTKSS made their first contribution in #1563
- @benito5566 made their first contribution in #1567
Full Changelog: UnitsNet/6.0.0-pre014...UnitsNet/6.0.0-pre015
UnitsNet/5.74.0
What's Changed
Full Changelog: UnitsNet/5.73.0...UnitsNet/5.74.0
UnitsNet/5.73.0
What's Changed
Full Changelog: UnitsNet/5.72.0...UnitsNet/5.73.0
UnitsNet/5.72.0
What's Changed
Full Changelog: UnitsNet/5.71.0...UnitsNet/5.72.0
UnitsNet/5.71.0
What's Changed
- Add .NET nanoFramework package for Level unit by @josesimoes in #1520
Full Changelog: UnitsNet/5.70.0...UnitsNet/5.71.0