You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue serves as a place to discuss what to include in this version, since major version bumps allow us to make breaking changes we think are necessary or worth it.
The wishlist keeps track of the items to include, but items may be added or removed at any time.
Consolidate UnitsNetSetup.Default.UnitConverter and each quantity's DefaultConversionFunctions, these can become inconsistent when adding custom conversion functions at runtime. Consider making DefaultConversionFunctions internal, not public.
This issue serves as a place to discuss what to include in this version, since major version bumps allow us to make breaking changes we think are necessary or worth it.
The wishlist keeps track of the items to include, but items may be added or removed at any time.
As changes are completed, they are added to https://github.com/angularsen/UnitsNet/wiki/Upgrading-from-5.x-to-6.x
Changes
Remove BtuPerSquareFootDegreeFahrenheit Remove obsolete units #1372
Fix plural form of
Speed.MeterPerMinuteRename/fix calorie/btu units to specify their definition as International Steam Table (IT) or Thermochemical (th), see https://github.com/angularsen/UnitsNet/pull/1196/files#r1105112205
Consistent imperial/UK/US unit namings v6 Release #1200 (comment)
UnitAbbreviationsCache.ctor()should create empty cache, not load default abbreviations 💥Change UnitAbbreviationsCache ctor to not load defaults #1476UnitParser.ctor(UnitAbbreviationsCache)should not fallback to built-in units if givennull💥Change UnitParser ctor to require unit abbreviations cache #1477Rename
AbsorbedDoseOfIonizingRadiationtoRadiationAbsorbedDoseAdd radiation equivalent dose #1352 (comment)Review all
[Obsolete]in code and add to this listEqualsoverloads 🐛ComparisonType ignored in obsolete Equals method #1396 (comment)Remove static🔥Remove static Default getters, obsoleted by UnitsNetSetup #1475 reverted by Revert "🔥Remove static Default getters, obsoleted by UnitsNetSetup" #1480Defaultgetters pointing toUnitsNetSetup.DefaultFix typo in
TonneSquareMilimeter, missinglFix typo in
VolumeConcentration.LitersPerMililiter, missinglVolumeConcentration: fix typo in LitersPerMililiter (missing 'l') #1497Remove
TorquePerLength: dimensionless, domain specific, conflicts withForce = Torque / LengthRemoving TorquePerLength #1458Rename
ThermalResistancetoThermalInsulance: enables future conversions between thermal conductivity, resistivity if added Rename ThermalResistance to ThermalInsulance #1460Change
Anglebase unit fromDegreetoRadianFix typo
KiloNewton=>KilonewtoninSpecificFuelConsumption.jsonUnitParser: fix the nullability of the Parse / TryParse overloads #1445
v6-Electric #1467
💥Remove obsolete electric quantities #1482
PressureUnit: remove the MeterOfElevation and FootOfElevation #1531
Remove
IConvertiblefromIQuantityRemoving the IConvertible interface and fixing the JsonNet converters handling for nulls #1550Update wiki regarding
IQuantityand sample quantity Length Per Angle Unit (e.g. mm/rev, m/degree) #1519 (comment)Consolidate
UnitsNetSetup.Default.UnitConverterand each quantity'sDefaultConversionFunctions, these can become inconsistent when adding custom conversion functions at runtime. Consider makingDefaultConversionFunctionsinternal, not public.Moved
IQuantitymethods to extension methods withUntypedsuffix, e.g.ToUnit()becomesToUnitUntyped()to improve intellisense from strongly typed extension methods ReplaceAs(UnitSystem)andToUnit(UnitSystem)with extension methods #1600Remove .NET nanoFramework support, now maintained and published separately by the nanoFramework team at nanoframework/nanoFramework.UnitsNet Remove .NET nanoFramework support #1676
Fixed