Unitful.jl
Units in Julia.
Release timeline (newest first, grouped by year and version)
2026 4 entries
1.x
- v1.29.0 release
<h2>Unitful v1.29.0</h2> <p><a href="https://github.com/JuliaPhysics/Unitful.jl/compare/v1.28.0...v1.29.0">Diff since v1.28.0</a></p> <ul> <li><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/9cc95f23e9eb22a5e99171658bfdcdee2c191b70a6
source: github-release - v1.29.0 release
## Unitful v1.29.0 [Diff since v1.28.0](https://github.com/JuliaPhysics/Unitful.jl/compare/v1.28.0...v1.29.0) *  `MixedUnits` now supports `missing` ([#839](https://github.com/JuliaPhysics/Unitful.jl/pull/839)). *  *  Dimensionless quantities now support `iseven` and `isodd` ([#829](https://github.com/JuliaPhysics/Unitful.jl/pu
source: github-release
2025 17 entries
1.x
- v1.27.0 release
<h2>Unitful v1.27.0</h2> <p><a href="https://github.com/JuliaPhysics/Unitful.jl/compare/v1.26.0...v1.27.0">Diff since v1.26.0</a></p> <ul> <li><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/9cc95f23e9eb22a5e99171658bfdcdee2c191b70a6
source: github-release - v1.27.0 release
## Unitful v1.27.0 [Diff since v1.26.0](https://github.com/JuliaPhysics/Unitful.jl/compare/v1.26.0...v1.27.0) *  `NaNMath.pow` and `NaNMath.sqrt` from [NaNMath.jl](https://github.com/JuliaMath/NaNMath.jl) are supported via a
source: github-release - v1.26.0 release
<h2>Unitful v1.26.0</h2> <p><a href="https://github.com/JuliaPhysics/Unitful.jl/compare/v1.25.1...v1.26.0">Diff since v1.25.1</a></p> <ul> <li><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/9cc95f23e9eb22a5e99171658bfdcdee2c191b70a6
source: github-release - v1.26.0 release
## Unitful v1.26.0 [Diff since v1.25.1](https://github.com/JuliaPhysics/Unitful.jl/compare/v1.25.1...v1.26.0) *  The aliases `degC` and `degF` for `°C` and `°F` are added ([#826](https://github.com/JuliaPhysics/Unitful.jl/pu
source: github-release - v1.25.1 release
<h2>Unitful v1.25.1</h2> <p><a href="https://github.com/JuliaPhysics/Unitful.jl/compare/v1.25.0...v1.25.1">Diff since v1.25.0</a></p> <p><strong>Merged pull requests:</strong></p> <ul> <li>Remove extra space in definition of <code>Base</code> methods (<a class="issue-link js-issu
source: github-release - v1.25.1 release
## Unitful v1.25.1 [Diff since v1.25.0](https://github.com/JuliaPhysics/Unitful.jl/compare/v1.25.0...v1.25.1) **Merged pull requests:** - Remove extra space in definition of `Base` methods (#817) (@giordano) - Bump version from 1.25.0 to 1.25.1 (#818) (@giordano) **Closed issues:
source: github-release - v1.25.0 release
<h2>Unitful v1.25.0</h2> <p><a href="https://github.com/JuliaPhysics/Unitful.jl/compare/v1.24.0...v1.25.0">Diff since v1.24.0</a></p> <ul> <li><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/9cc95f23e9eb22a5e99171658bfdcdee2c191b70a6
source: github-release - v1.25.0 release
## Unitful v1.25.0 [Diff since v1.24.0](https://github.com/JuliaPhysics/Unitful.jl/compare/v1.24.0...v1.25.0) *  Quantities and units can now be converted to a LaTeX representation using [`Latexify.jl`](https://github.com/ko
source: github-release - v1.24.0 release
<h2>Unitful v1.24.0</h2> <p><a href="https://github.com/PainterQubits/Unitful.jl/compare/v1.23.1...v1.24.0">Diff since v1.23.1</a></p> <ul> <li><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/9cc95f23e9eb22a5e99171658bfdcdee2c191b70a
source: github-release - v1.24.0 release
## Unitful v1.24.0 [Diff since v1.23.1](https://github.com/PainterQubits/Unitful.jl/compare/v1.23.1...v1.24.0) *  The alias `deg` for `°` is added ([#764](https://github.com/PainterQubits/Unitful.jl/pull/764)). **Merged pull
source: github-release - v1.23.1 release
<h2>Unitful v1.23.1</h2> <p><a href="https://github.com/PainterQubits/Unitful.jl/compare/v1.23.0...v1.23.1">Diff since v1.23.0</a></p> <ul> <li><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/56e30ca5066b1a042077a7036a62a93b9afec98fa
source: github-release - v1.23.1 release
## Unitful v1.23.1 [Diff since v1.23.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.23.0...v1.23.1) *  Fix a world-age issue with the new mechanism to preserve the floating-point precision on unit conversion ([#790
source: github-release - v1.23.0 release
<h2>Unitful v1.23.0</h2> <p><a href="https://github.com/PainterQubits/Unitful.jl/compare/v1.22.1...v1.23.0">Diff since v1.22.1</a></p> <ul> <li><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/9cc95f23e9eb22a5e99171658bfdcdee2c191b70a
source: github-release - v1.23.0 release
## Unitful v1.23.0 [Diff since v1.22.1](https://github.com/PainterQubits/Unitful.jl/compare/v1.22.1...v1.23.0) *  On Julia ≥ 1.9, dimensionless quantities can now be converted to `ForwardDiff.Dual`. This is important for com
source: github-release - v1.22.1 release
<h2>Unitful v1.22.1</h2> <p><a href="https://github.com/PainterQubits/Unitful.jl/compare/v1.22.0...v1.22.1">Diff since v1.22.0</a></p> <ul> <li><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/56e30ca5066b1a042077a7036a62a93b9afec98fa
source: github-release - v1.22.1 release
## Unitful v1.22.1 [Diff since v1.22.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.22.0...v1.22.1) *  The behaviour to preserve the floating-point precision of quantities ([#754](https://github.com/PainterQubits/U
source: github-release - v1.22.0 release
## Unitful v1.22.0 [Diff since v1.21.1](https://github.com/PainterQubits/Unitful.jl/compare/v1.21.1...v1.22.0) *  `Base.big` can now be used with quantities ([#755](https://github.com/PainterQubits/Unitful.jl/pull/755)). * !
source: github-release
2024 4 entries
1.x
- v1.21.1 release
## Unitful v1.21.1 [Diff since v1.21.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.21.0...v1.21.1) **Merged pull requests:** - Add docs chapter on default units and physical constants (#729) (@Eben60) - Readme: Add reference to UnitfulParsableString.jl (#730) (@Eben60
source: github-release - v1.21.0 release
## Unitful v1.21.0 [Diff since v1.20.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.20.0...v1.21.0) **Merged pull requests:** - support date/time + uniful arithmetic (#731) (@aplavin) - Release v1.21.0 (#733) (@sostock) **Closed issues:** - AMU and g/mol are not dimens
source: github-release - v1.20.0 release
## Unitful v1.20.0 [Diff since v1.19.1](https://github.com/PainterQubits/Unitful.jl/compare/v1.19.1...v1.20.0) **Merged pull requests:** - Make the `isapprox` implementation closer to the LinearAlgebra implementation (#719) (@eliascarv) - Release v1.20.0 (#722) (@sostock)
source: github-release - v1.19.1 release
## Unitful v1.19.1 [Diff since v1.19.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.19.0...v1.19.1) **Merged pull requests:** - Remove UnitfulIntegration.jl from README (#578) (@sostock) - Update docs on Logarithmic scales (#703) (@Eben60) - Add `ustrip()` support to `
source: github-release
2023 13 entries
1.x
- v1.19.0 release
## Unitful v1.19.0 [Diff since v1.18.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.18.0...v1.19.0) **Merged pull requests:** - Add the units: parts per hundred thousand (pcm), million (ppm), billion (ppb), trillion (ppt), and quadrillion (ppq) (#699) (@eliascarv) - Up
source: github-release - v1.18.0 release
## Unitful v1.18.0 [Diff since v1.17.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.17.0...v1.18.0) **Merged pull requests:** - Update to Documenter v1 (#687) (@sostock) - Update to Aqua v0.7 (#688) (@sostock) - Import REPL stdlib in test suite (#689) (@sostock) - READ
source: github-release - v1.17.0 release
## Unitful v1.17.0 [Diff since v1.16.3](https://github.com/PainterQubits/Unitful.jl/compare/v1.16.3...v1.17.0) **Merged pull requests:** - Allow for prefixes of atm (#664) (@briochemc) - Release v1.17.0 (#677) (@sostock) - Remove unnecessary use of `u_str` macro in pkgdefaults.jl
source: github-release - v1.16.3 release
## Unitful v1.16.3 [Diff since v1.16.2](https://github.com/PainterQubits/Unitful.jl/compare/v1.16.2...v1.16.3) **Merged pull requests:** - Add `Base.hastypemax` method (#674) (@sostock) - Use fallback implementation for `min`, `max` (#675) (@Socob) - Release v1.16.3 (#676) (@sost
source: github-release - v1.16.2 release
## Unitful v1.16.2 [Diff since v1.16.1](https://github.com/PainterQubits/Unitful.jl/compare/v1.16.1...v1.16.2) **Closed issues:** - Converting large powers of units can result in `NaN`, `Inf`, or 0 (#647) **Merged pull requests:** - Divide units instead of basefactors in convfact
source: github-release - v1.16.1 release
## Unitful v1.16.1 [Diff since v1.16.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.16.0...v1.16.1) **Closed issues:** - Docker image creation fails for julia 1.9 due to pkgdefaults.jl (#667) **Merged pull requests:** - Don’t use `@doc(…)` to look up docstrings (#671)
source: github-release - v1.16.0 release
## Unitful v1.16.0 [Diff since v1.15.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.15.0...v1.16.0) **Closed issues:** - `uconvert` issue (#661) **Merged pull requests:** - [skip ci] Update NEWS.md (#583) (@sostock) - Add support for `tanpi` (#620) (@sostock) - Add Mol
source: github-release - v1.15.0 release
## Unitful v1.15.0 [Diff since v1.14.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.14.0...v1.15.0) **Closed issues:** - [feat] mutable units (#656) **Merged pull requests:** - Improve support for InverseFunctions (#652) (@oschulz) - Turn ConstructionBase into a weak d
source: github-release - v1.14.0 release
## Unitful v1.14.0 [Diff since v1.13.1](https://github.com/PainterQubits/Unitful.jl/compare/v1.13.1...v1.14.0) **Closed issues:** - delegate all comparison methods (#399) **Merged pull requests:** - support InverseFunctions (#622) (@aplavin) - Support numerical types with custom
source: github-release - v1.13.1 release
## Unitful v1.13.1 [Diff since v1.13.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.13.0...v1.13.1) **Closed issues:** - Unexpected pass on 1.9 (#642) **Merged pull requests:** - Fix tests on Julia 1.9 (#643) (@sostock)
source: github-release - v1.13.0 release
## Unitful v1.13.0 [Diff since v1.12.4](https://github.com/PainterQubits/Unitful.jl/compare/v1.12.4...v1.13.0) **Closed issues:** - `floor` with degrees (`NoUnits`) and `digits` fails due to method ambiguity (#469) - Fix method ambiguities (#604) - missing copysign(::Number, ::Qu
source: github-release - v1.12.4 release
## Unitful v1.12.4 [Diff since v1.12.3](https://github.com/PainterQubits/Unitful.jl/compare/v1.12.3...v1.12.4) **Closed issues:** - Calling `promote_type` on a `Quantity` and a `Real` number will return a type where `zero` is not defined (#616) **Merged pull requests:** - Use fun
source: github-release - v1.12.3 release
## Unitful v1.12.3 [Diff since v1.12.2](https://github.com/PainterQubits/Unitful.jl/compare/v1.12.2...v1.12.3) **Closed issues:** - remove UnitfulIntegration from the readme (#376) - Workaround for angles not having a dimension (#570) - Compatibility with QuadGK (#597) - This pac
source: github-release
2022 5 entries
1.x
- v1.12.2 release
## Unitful v1.12.2 [Diff since v1.12.1](https://github.com/PainterQubits/Unitful.jl/compare/v1.12.1...v1.12.2) **Closed issues:** - upreferred fails on range (#564) - Documentation for `Types` outdated? (#590) **Merged pull requests:** - Define `upreferred(::TwicePrecision)` (#57
source: github-release - v1.12.1 release
## Unitful v1.12.1 [Diff since v1.12.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.12.0...v1.12.1) **Closed issues:** - Support `TimeType`s (#125) - uconvert a vector or tuple (#541) - typeof(one(typeof(1u"hr"))) (#554) - Broadcasting error for array type Any on Julia
source: github-release - v1.12.0 release
## Unitful v1.12.0 [Diff since v1.11.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.11.0...v1.12.0) **Closed issues:** - reinterpret error in ustrip(Array) with nested types (#493) - How to do reciprocal conversion? (#520) - \prime and \pprime phase for minute and seco
source: github-release - v1.11.0 release
## Unitful v1.11.0 [Diff since v1.10.1](https://github.com/PainterQubits/Unitful.jl/compare/v1.10.1...v1.11.0) **Closed issues:** - Bug: Array Division by Unit (#225) - left division `A\b` is not supported (#506) - Efficient unit conversion in array (#518) **Merged pull requests:
source: github-release - v1.10.1 release
## Unitful v1.10.1 [Diff since v1.10.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.10.0...v1.10.1) **Closed issues:** - `isapprox` for complex unitful arrays fails (#465) **Merged pull requests:** - Fix #465 for isapprox with complex arrays (#468) (@JeffFessler)
source: github-release
2021 7 entries
1.x
- v1.10.0 release
## Unitful v1.10.0 [Diff since v1.9.2](https://github.com/PainterQubits/Unitful.jl/compare/v1.9.2...v1.10.0) **Closed issues:** - Add doc strings to units? (#436) - incorrect preferred units conversion with atomic units (#457) - numeric type not preserved in uconvert (#502) - one
source: github-release - v1.9.2 release
## Unitful v1.9.2 [Diff since v1.9.1](https://github.com/PainterQubits/Unitful.jl/compare/v1.9.1...v1.9.2) **Closed issues:** - [Possible contribution] Colors (#372) - `eigvals` does not work on matrices with units (#496) **Merged pull requests:** - Fix fastmath trig functions (#
source: github-release - v1.9.1 release
## Unitful v1.9.1 [Diff since v1.9.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.9.0...v1.9.1) **Closed issues:** - Need `deg2rad` for input arguments in degrees ° (#458) - Roundtrip printing (#466) - Cannot convert amu to kg (#471) - making units for things I want to
source: github-release - v1.9.0 release
## Unitful v1.9.0 [Diff since v1.8.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.8.0...v1.9.0) **Closed issues:** - Comparisons with Inf fail (#455) **Merged pull requests:** - Add link to UnitfulBuckinghamPi in README (#442) (@rmsrosa) - Showing how to manually cance
source: github-release - v1.8.0 release
## Unitful v1.8.0 [Diff since v1.7.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.7.0...v1.8.0) **Closed issues:** - Cross platform differences when prettyprinting ^2 (#433) - Installing Unitful.jl on Julia 1.5.3 (#438) - Cannot run first examples in Julia 1.6 (v1.7.0)
source: github-release - v1.7.0 release
## Unitful v1.7.0 [Diff since v1.6.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.6.0...v1.7.0) **Closed issues:** - [suggestion] Latex format? (#167) **Merged pull requests:** - Add support for `Dates.FixedPeriod` and `Dates.CompoundPeriod` (#331) (@sostock) - Move CI
source: github-release - v1.6.0 release
## Unitful v1.6.0 [Diff since v1.5.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.5.0...v1.6.0) **Closed issues:** - Typo in documentation (#219) - Return value of Unitful.register (#344) - Precompilation problem: Method definition abbr overwritten (#371) - Equivalenci
source: github-release
2020 8 entries
1.x
- v1.5.0 release
## Unitful v1.5.0 [Diff since v1.4.1](https://github.com/PainterQubits/Unitful.jl/compare/v1.4.1...v1.5.0) **Closed issues:** - Cannot compute median (#202) - Missing dispatches in the unitless case (#332) - pH unit (#386) **Merged pull requests:** - Fix typos like `Unitful.Energ
source: github-release - v1.4.1 release
## Unitful v1.4.1 [Diff since v1.4.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.4.0...v1.4.1) **Closed issues:** - In Pluto notebook: @u_str not defined (#377) **Merged pull requests:** - Fix tests on master (and set Unitful version number to 1.4.1) (#380) (@sostock)
source: github-release - v1.4.0 release
## Unitful v1.4.0 [Diff since v1.3.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.3.0...v1.4.0) **Closed issues:** - Idea: Overload `Base.in` for easier reading (#270) - Printing of Complex Unitful quantities is confusing. (#285) - Printing of “mixed quantities” (#342)
source: github-release - v1.3.0 release
## Unitful v1.3.0 [Diff since v1.2.1](https://github.com/PainterQubits/Unitful.jl/compare/v1.2.1...v1.3.0) **Closed issues:** - Consider deleting custom show methods for types (#321) - Fix uconvert For Inverse Units (#338) - `allunique` TwicePrecision errors on nightly (#340) - D
source: github-release - v1.2.1 release
## Unitful v1.2.1 [Diff since v1.2.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.2.0...v1.2.1) **Closed issues:** - denominator error when converting fractional units (#327) **Merged pull requests:** - Test on Julia 1.4 (#333) (@sostock) - Fix conversion of fractional
source: github-release - v1.2.0 release
## Unitful v1.2.0 [Diff since v1.1.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.1.0...v1.2.0) **Closed issues:** - Tag new release (v1.0.1?) (#316) - How to define a parameterized type with a unit (#318) **Merged pull requests:** - Allow prefixes for years (#320) (@b
source: github-release - v1.1.0 release
## Unitful v1.1.0 [Diff since v1.0.0](https://github.com/PainterQubits/Unitful.jl/compare/v1.0.0...v1.1.0) **Closed issues:** - Better display for units (#18) - Move to version 1.0 (#289) - Congratulations to Unitful! (#302) - some of type information string is not displayed righ
source: github-release - v1.0.0 releasemajorMajor version 1
## [v1.0.0](https://github.com/PainterQubits/Unitful.jl/tree/v1.0.0) (2020-01-26) [Diff since v0.18.0](https://github.com/PainterQubits/Unitful.jl/compare/v0.18.0...v1.0.0) **Closed issues:** - `one` and `zero` inconsistency (#291) - atan DimensionError (#290) - @u\_str macro hyg
source: github-release
2019 4 entries
0.x
- v0.18.0 release
## [v0.18.0](https://github.com/PainterQubits/Unitful.jl/tree/v0.18.0) (2019-11-27) [Diff since v0.17.0](https://github.com/PainterQubits/Unitful.jl/compare/v0.17.0...v0.18.0) **Closed issues:** - Unable to hold dimensionless values as Quantity'es (#283) - Overload Base.log\(::Qu
source: github-release - v0.17.0 release
## [v0.17.0](https://github.com/PainterQubits/Unitful.jl/tree/v0.17.0) (2019-09-04) [Diff since v0.16.0](https://github.com/PainterQubits/Unitful.jl/compare/v0.16.0...v0.17.0) **Closed issues:** - Astronomical Magnitudes (#265) - `zero\(Quantity{Int64, D, U} where U where D\)` sh
source: github-release - v0.16.0 release
## [v0.16.0](https://github.com/PainterQubits/Unitful.jl/tree/v0.16.0) (2019-07-01) [Diff since v0.15.0](https://github.com/PainterQubits/Unitful.jl/compare/v0.15.0...v0.16.0) **Closed issues:** - Doc links broken (#242) - Error with range and degrees (#241) - World age errors wi
source: github-release - v0.15.0 release
Support `missing`, safer `ustrip` alternatives, `AbstractQuantity`, etc.
source: github-release
2018 10 entries
0.x
- v0.12.0 release
Some new dimensions, units, several bug fixes related to Julia 0.7 upgrade.
source: github-release - v0.6.1 release
- Permit symbols that are bound to `Number`s to be used in `u_str` macro, such that `π` and other non-literal numbers can be used. - Add some cgs units and a few dimensions #115. - Fix a comparison / promotion bug introduced in v0.6.0.
source: github-release
2017 18 entries
0.x
- v0.6.0 release
Fixes to get Unitful working on 0.7.0-DEV again (bump minor version for Compat requirement).
source: github-release - v0.4.0 release
Introduce logarithmic scales and quantities (experimental). See NEWS.md for other changes.
source: github-release - v0.3.0 release
- Require Julia 0.6 - Adds overloads for `rand` and `ones` [#96](https://github.com/ajkeller34/Unitful.jl/issues/96). - Improve symbol resolution in `u_str` macro [#98](https://github.com/ajkeller34/Unitful.jl/pull/98). - More work is done inside the `u_str` macro, such that the
source: github-release - v0.2.3 release
Restore two broken tests; fix design problems with `floor`, `ceil`, `round`, `trunc`, `isinteger`
source: github-release - v0.2.1 release
Fixed `isapprox` bug and added `DimensionlessQuantity` methods for `exp`, `exp10`, `exp2`, `expm1`, `log1p`, `log2`.
source: github-release - v0.2.0 release
`Units{N,D}` is now an abstract type. Different concrete types for units give different behavior under conversion and promotion, enabling predictable behaviors for package development that don't necessarily depend on mutable user preferences. For details, see NEWS.md, as well as
source: github-release - v0.1.2 release
On Julia 0.6, exponentiation by a literal is now type stable for integers.
source: github-release - v0.1.1 release
Fix a macro hygiene issue and add tests for expected functionality of the macros that define new units and dimensions.
source: github-release