Download Latest Version v1.23.1 source code.tar.gz (116.6 kB)
Email in envelope

Get an email when there's a new version of Unitful.jl

Home / v1.23.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-06-08 1.9 kB
v1.23.0 source code.tar.gz 2025-06-08 116.5 kB
v1.23.0 source code.zip 2025-06-08 136.8 kB
Totals: 3 Items   255.2 kB 0

Unitful v1.23.0

Diff since v1.22.1

  • Feature: On Julia ≥ 1.9, dimensionless quantities can now be converted to ForwardDiff.Dual. This is important for compatibility with the SciML ecosystem and is provided via a package extension (#765).
  • Feature: On Julia ≥ 1.9, @printf and @sprintf can now be used with Unitful quantities. The specified format is applied to the numeric part of the quantity and the unit is appended to that. This is provided via a package extension (#772).
  • Bugfix: Certain unit conversions involving units that are defined using non-integer exponents no longer error (#783).
  • Enhancement: uconvert now preserves the floating-point precision of quantities in a non-breaking way (#782).

Merged pull requests: - Add a ForwardDiff extension for dimensionless quantities (#765) (@Ickaser) - Add documentation for logunit (#769) (@cgarling) - add Printf support (#772) (@aplavin) - New attempt at preserving the floating-point precision in uconvert (#782) (@sostock) - Fix basefactor calculation in case of rational tensfactor (#783) (@sostock) - Release v1.23.0 (#789) (@sostock)

Closed issues: - uconvert does not preserve the floating-point precision of quantities in some cases (#753) - the new version (1.22) broke interactions with IntervalArithmetic (#758) - Require finer control over basefactor (#780) - Some older versions of Unitful do not precompile on julia 1.12 (#785)

Source: README.md, updated 2025-06-08