Unitful.jl

Physical quantities with arbitrary units

OTHER License

Stars
577
Committers
71

Bot releases are visible (Hide)

Unitful.jl - v1.20.0 Latest Release

Published by github-actions[bot] 5 months ago

Unitful v1.20.0

Diff since v1.19.1

Merged pull requests:

  • Make the isapprox implementation closer to the LinearAlgebra implementation (#719) (@eliascarv)
  • Release v1.20.0 (#722) (@sostock)
Unitful.jl - v1.19.1

Published by github-actions[bot] 5 months ago

Unitful v1.19.1

Diff since v1.19.0

Merged pull requests:

  • Remove UnitfulIntegration.jl from README (#578) (@sostock)
  • Update docs on Logarithmic scales (#703) (@Eben60)
  • Add ustrip() support to Base.TwicePrecision (#711) (@staticfloat)
  • Added Dimensionless.jl in the readme (#714) (@martinkosch)
  • Fix ustrip broadcasting when range step has different unit than eltype (#715) (@sostock)
  • Release v1.19.1 (#721) (@sostock)

Closed issues:

  • ustrip() does not work with Base.TwicePrecision (#709)
  • Wrong result when broadcasting ustrip over ranges whose eltype and step have different units (#712)
  • Can't pass string to @u_str (#713)
  • Inexact error in convert() (#718)
Unitful.jl - v1.19.0

Published by github-actions[bot] 11 months ago

Unitful v1.19.0

Diff since v1.18.0

Merged pull requests:

  • Add the units: parts per hundred thousand (pcm), million (ppm), billion (ppb), trillion (ppt), and quadrillion (ppq) (#699) (@eliascarv)
  • Update to Aqua v0.8 (#700) (@sostock)
  • Release v1.19.0 (#701) (@sostock)

Closed issues:

  • Add parts per million (ppm) unit (#684)
Unitful.jl - v1.18.0

Published by github-actions[bot] 11 months ago

Unitful v1.18.0

Diff since v1.17.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)
  • README: remove link to "latest" documentation (#690) (@Eben60)
  • Allow two argument version of nextfloat and prevfloat (#692) (@cmichelenstrofer)
  • Add compat entries for stdlibs (#693) (@sostock)
  • Move function definition out of testset (#695) (@sostock)
  • Release v1.18.0 (#696) (@sostock)

Closed issues:

  • DimensionError when using updating operator ( .*= ) to multiply a Vector by a Unitful.jl Quantity (#679)
  • Converting to dBSPL from Pa gives incorrect answer (#683)
  • one(T<:Quantity) returns values with no unit (#685)
Unitful.jl - v1.17.0

Published by github-actions[bot] about 1 year ago

Unitful v1.17.0

Diff since v1.16.3

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 (#678) (@sostock)
Unitful.jl - v1.16.3

Published by github-actions[bot] about 1 year ago

Unitful v1.16.3

Diff since v1.16.2

Merged pull requests:

  • Add Base.hastypemax method (#674) (@sostock)
  • Use fallback implementation for min, max (#675) (@Socob)
  • Release v1.16.3 (#676) (@sostock)
Unitful.jl - v1.16.2

Published by github-actions[bot] about 1 year ago

Unitful v1.16.2

Diff since v1.16.1

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() (#648) (@Socob)
  • Test on Julia 1.6 and fix tests (#672) (@sostock)
  • Release v1.16.2 (#673) (@sostock)
Unitful.jl - v1.16.1

Published by github-actions[bot] about 1 year ago

Unitful v1.16.1

Diff since v1.16.0

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) (@sostock)
Unitful.jl - v1.16.0

Published by github-actions[bot] about 1 year ago

Unitful v1.16.0

Diff since v1.15.0

Closed issues:

  • uconvert issue (#661)

Merged pull requests:

  • [skip ci] Update NEWS.md (#583) (@sostock)
  • Add support for tanpi (#620) (@sostock)
  • Add Molar mass as a derived dimension (#663) (@ejmeitz)
  • Fix typo in method signature (#666) (@sostock)
  • Release v1.16.0 (#669) (@sostock)
Unitful.jl - v1.15.0

Published by github-actions[bot] over 1 year ago

Unitful v1.15.0

Diff since v1.14.0

Closed issues:

  • [feat] mutable units (#656)

Merged pull requests:

  • Improve support for InverseFunctions (#652) (@oschulz)
  • Turn ConstructionBase into a weak dependency in Julia ≥1.9 (#658) (@sostock)
  • Release v1.15.0 (#659) (@sostock)
Unitful.jl - v1.14.0

Published by github-actions[bot] over 1 year ago

Unitful v1.14.0

Diff since v1.13.1

Closed issues:

  • delegate all comparison methods (#399)

Merged pull requests:

  • support InverseFunctions (#622) (@aplavin)
  • Support numerical types with custom <= implementation (#646) (@sostock)
  • Remove redundant CI runs for Julia 1.9 (#650) (@sostock)
Unitful.jl - v1.13.1

Published by github-actions[bot] over 1 year ago

Unitful v1.13.1

Diff since v1.13.0

Closed issues:

  • Unexpected pass on 1.9 (#642)

Merged pull requests:

  • Fix tests on Julia 1.9 (#643) (@sostock)
Unitful.jl - v1.13.0

Published by github-actions[bot] over 1 year ago

Unitful v1.13.0

Diff since v1.12.4

Closed issues:

  • floor with degrees (NoUnits) and digits fails due to method ambiguity (#469)
  • Fix method ambiguities (#604)
  • missing copysign(::Number, ::Quantity) (#605)
  • ustrip of a view cannot be assigned to :( (#627)
  • Incorrect conversion from Hz to rad/s (#637)

Merged pull requests:

  • create Logo (#567) (@lmiq)
  • Faster sortexp (#575) (@sostock)
  • add Aqua and resolve some ambiguities (#606) (@sjkelly)
  • Add missing copysign and flipsign methods (#612) (@sostock)
  • Add docstring to NoUnits and add it to the manual (#618) (@sostock)
  • Compact number printing in tables in the manual (#619) (@sostock)
  • Resolve remaining method ambiguities (#626) (@sostock)
  • Add sleep method (#628) (@cstjean)
  • Remove specialized Base.reim method (#631) (@sostock)
  • Dark-mode version of the logo (#634) (@sostock)
  • Fix some typos (#635) (@goggle)
  • Fix runtests for updating sortexp() method (#638) (@michikawa07)
  • Release v1.13.0 (#641) (@sostock)
Unitful.jl - v1.12.4

Published by github-actions[bot] over 1 year ago

Unitful v1.12.4

Diff since v1.12.3

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 functions instead of the intrinsics (#617) (@gbaraldi)
  • Release v1.12.4 (#621) (@sostock)
Unitful.jl - v1.12.3

Published by github-actions[bot] over 1 year ago

Unitful v1.12.3

Diff since v1.12.2

Closed issues:

  • remove UnitfulIntegration from the readme (#376)
  • Workaround for angles not having a dimension (#570)
  • Compatibility with QuadGK (#597)
  • This package assumes that * is commutative (#607)

Merged pull requests:

  • small typo (#596) (@cmichelenstrofer)
  • Update to "other packages" list (#599) (@cmichelenstrofer)
  • avoid downstream users from relying on serialization to create a copy of the binding (#600) (@KristofferC)
  • Use Core.eval and not a random unexported function (#602) (@vtjnash)
  • Only use U+00C5 for encoding Å (#603) (@sostock)
  • Fix * for numbers with non-commutative multiplication (#608) (@sostock)
  • Fix zero tests on Julia master (#609) (@sostock)
  • Release v1.12.3 (#614) (@sostock)
Unitful.jl - v1.12.2

Published by github-actions[bot] almost 2 years ago

Unitful v1.12.2

Diff since v1.12.1

Closed issues:

  • upreferred fails on range (#564)
  • Documentation for Types outdated? (#590)

Merged pull requests:

  • Define upreferred(::TwicePrecision) (#577) (@sostock)
  • Update Types documentation (#591) (@cmichelenstrofer)
  • Fix signature order in docstring for @refunit (#592) (@cmichelenstrofer)
  • Fix quotes in @refunit docstring (#593) (@sostock)
  • Release v1.12.2 (#594) (@sostock)
Unitful.jl - v1.12.1

Published by github-actions[bot] almost 2 years ago

Unitful v1.12.1

Diff since v1.12.0

Closed issues:

  • Support TimeTypes (#125)
  • uconvert a vector or tuple (#541)
  • typeof(one(typeof(1u"hr"))) (#554)
  • Broadcasting error for array type Any on Julia 1.8.1 (#557)
  • It might be good to document that ModelingToolkit, unlike DifferentialEquations, supports Unitful (#574)

Merged pull requests:

  • juliarc to startup (#565) (@KronosTheLate)
  • Add test for issue #557 (#568) (@sostock)
  • Fix convfact documentation (#571) (@JeffFessler)
  • Remove istriu/istril methods (#572) (@sostock)
  • Update README.md (#573) (@briochemc)
  • Release v1.12.1 (#588) (@sostock)
Unitful.jl - v1.12.0

Published by github-actions[bot] about 2 years ago

Unitful v1.12.0

Diff since v1.11.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 second (angles) (#522)
  • feature request / suggestion (#523)
  • question / clarification about units in REPL (#525)
  • documenting constants (#526)
  • 678.0 * u"μg/mL" == 678000.0 * u"ng/mL" evaluates to false (#529)
  • Hz to rad/s? (#531)
  • cispi(x::Unitful.DimensionlessQuantity) is missing (#532)

Merged pull requests:

  • Delete export of convertr, convertrp (#530) (@adkabo)
  • Add cispi and sincospi (#533) (@giordano)
  • Add modf (#539) (@rashidrafeek)
  • Add link to UnitfulChainRules.jl to README (#542) (@SBuercklin)
  • Fix printing of StepRangeLen with affine units (#551) (@tomyun)
  • Fix doctests on Julia ≥1.7 (#555) (@sostock)
  • Release v1.12.0 (#559) (@sostock)
Unitful.jl - v1.11.0

Published by github-actions[bot] over 2 years ago

Unitful v1.11.0

Diff since v1.10.1

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:

  • Remove unnecessary code related to encoding of μ (#511) (@sostock)
  • Fix printing of StepRangeLen with complex elements (#513) (@sostock)
  • Fix range implementation on Julia master and resolve method ambiguities (#514) (@sostock)
  • Enable zero for arrays with non-concrete eltype (#516) (@sostock)
  • Release 1.11.0 (#519) (@sostock)
Unitful.jl - v1.10.1

Published by github-actions[bot] almost 3 years ago

Unitful v1.10.1

Diff since v1.10.0

Closed issues:

  • isapprox for complex unitful arrays fails (#465)

Merged pull requests:

  • Fix #465 for isapprox with complex arrays (#468) (@JeffFessler)