Unitful.jl

Physical quantities with arbitrary units

OTHER License

Stars
577
Committers
71

Bot releases are visible (Hide)

Unitful.jl - v1.10.0

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

Unitful v1.10.0

Diff since v1.9.2

Closed issues:

  • Add doc strings to units? (#436)
  • incorrect preferred units conversion with atomic units (#457)
  • numeric type not preserved in uconvert (#502)
  • one and zero exhibit different behaviors. (#508)

Merged pull requests:

  • Unit construction macro now defines docs for units (#476) (@lukebemish)
  • Attempt to allow preferunits to work with non-pure units (#478) (@lukebemish)
  • make norm use norm rather than abs (#500) (@oscardssmith)
  • support broadcasting on ranges (#501) (@aplavin)
  • fix range eltype (#503) (@aplavin)
  • Fix some major invalidations to improve compile times (#509) (@ChrisRackauckas)
Unitful.jl - v1.9.2

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

Unitful v1.9.2

Diff since v1.9.1

Closed issues:

  • [Possible contribution] Colors (#372)
  • eigvals does not work on matrices with units (#496)

Merged pull requests:

  • Fix fastmath trig functions (#497) (@giordano)
Unitful.jl - v1.9.1

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

Unitful v1.9.1

Diff since v1.9.0

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 count (#473)
  • Macro to import units as variable names (#475)
  • Float32 is converted to Float64 due to multiplied by UnitRange{Int64} (#477)
  • How to supply custom values to uconvert()? (#479)
  • NaturallyUnitful (#480)
  • Data sizes (#486)
  • *(Bool, AbstractQuantity) fails for Complex Quantities (#490)
  • How should i handle Quantity{Int64} problems? (#492)

Merged pull requests:

  • Update .gitignore (#482) (@Mo8it)
  • Update README.md (#483) (@Mo8it)
  • Calculate correct eltype when multiplying StepRangeLen by Units. (#485) (@sostock)
  • Use aggressive constprop for ^(::AbstractQuantity, ::Rational) (#487) (@sostock)
  • Fix multiplication of range and quantity on master (#489) (@sostock)
  • Remove unnecessary Bool-AbstractQuantity multiplication methods (#491) (@SBuercklin)
  • Fix broadcasted method ambiguity (#495) (@sostock)
Unitful.jl - v1.9.0

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

Unitful v1.9.0

Diff since v1.8.0

Closed issues:

  • Comparisons with Inf fail (#455)

Merged pull requests:

  • Add link to UnitfulBuckinghamPi in README (#442) (@rmsrosa)
  • Showing how to manually cancel units (#451) (@KronosTheLate)
  • fix example isa(1m, Length) (#454) (@JeffFessler)
  • Elaborate on UnitfulRecipes in readme (#456) (@JeffFessler)
  • deg2rad and rad2deg with "units" (#459) (@JeffFessler)
  • Fix doctests (#464) (@giordano)
Unitful.jl - v1.8.0

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

Unitful v1.8.0

Diff since v1.7.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) (#441)
  • Bug? 10u"MeV" == 10000u"keV" returns "false" (#449)
  • determinant of simple Unitful matrix fails (#453)

Merged pull requests:

  • Use the :fancy_exponent IO context property to override the behavior of fancy exponents (#446) (@DilumAluthge)
Unitful.jl - v1.7.0

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

Unitful v1.7.0

Diff since v1.6.0

Closed issues:

  • [suggestion] Latex format? (#167)

Merged pull requests:

  • Add support for Dates.FixedPeriod and Dates.CompoundPeriod (#331) (@sostock)
  • Move CI to GitHub Actions (#415) (@giordano)
  • Update CI badge (#425) (@sostock)
  • Add UnitfulLatexify to README (#426) (@gustaphe)
  • get upreferred to work with AbstractQuantity (#431) (@mileslucas)
Unitful.jl - v1.6.0

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

Unitful v1.6.0

Diff since v1.5.0

Closed issues:

  • Typo in documentation (#219)
  • Return value of Unitful.register (#344)
  • Precompilation problem: Method definition abbr overwritten (#371)
  • Equivalencies as in astropy.units (#383)
  • Convert between angular frequency and frequency (#392)
  • Add cgs-units oersted and gauss (#395)
  • Complex Level (#398)
  • Question: promotion to acceleration unit? (#409)
  • range with Quantity{<:Integer} (#410)
  • Add Rydberg unit of energy (#413)

Merged pull requests:

  • Macro hygeine (#390) (@bramtayl)
  • Fix a doctest (#393) (@sostock)
  • Added magnetic CGS units (#397) (@KronosTheLate)
  • Restrict Levels to real quantities (#400) (@sostock)
  • Add link to UnitfulEquivalences.jl to README (#401) (@sostock)
  • Add custom ==/isequal methods for logarithmic quantities (#404) (@sostock)
  • Simplify a test (#405) (@sostock)
  • Add Base.isunordered(::AbstractQuantity) (#406) (@sostock)
  • Implement traits correctly (#407) (@sostock)
  • Promote to unit of start in range(start; step, length) (#411) (@sostock)
  • doc: Note on hbar/ħ (#414) (@musoke)
  • Remove bad at-eval (#417) (@Keno)
  • Fix typo in docs (#418) (@BrandonConder)
  • Rename RealQuantity to RealOrRealQuantity (#421) (@sostock)
  • Release 1.6.0 (#422) (@sostock)
Unitful.jl - v1.5.0

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

Unitful v1.5.0

Diff since v1.4.1

Closed issues:

  • Cannot compute median (#202)
  • Missing dispatches in the unitless case (#332)
  • pH unit (#386)

Merged pull requests:

  • Fix typos like Unitful.EnergyUnit in docs (#381) (@singularitti)
  • Add unitless dispatch for more trig functions (#387) (@derikk)
Unitful.jl - v1.4.1

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

Unitful v1.4.1

Diff since v1.4.0

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)
Unitful.jl - v1.4.0

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

Unitful v1.4.0

Diff since v1.3.0

Closed issues:

  • Idea: Overload Base.in for easier reading (#270)
  • Printing of Complex Unitful quantities is confusing. (#285)
  • Printing of “mixed quantities” (#342)

Merged pull requests:

  • Remove @_doctables (#363) (@sostock)
  • Fix a doctest (#365) (@sostock)
  • Fix printing of complex and logarithmic quantities (#366) (@sostock)
  • Allow for array division by unit (#369) (@briochemc)
  • [skip ci] Update README.md (#370) (@briochemc)
Unitful.jl - v1.3.0

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

Unitful v1.3.0

Diff since v1.2.1

Closed issues:

  • Consider deleting custom show methods for types (#321)
  • Fix uconvert For Inverse Units (#338)
  • allunique TwicePrecision errors on nightly (#340)
  • Duplicate @affineunit in documentation (#347)
  • Documentation is not deployed (#348)

Merged pull requests:

  • Provide Base.isless() for LogScaled values (#315) (@VikoRifeo)
  • Delete show(::IO, ::Type) methods. (#322) (@andreasnoack)
  • Add CompatHelper, reduce frequency of TagBot to once per day (#337) (@giordano)
  • Small fixes to documentation (#341) (@sostock)
  • Fix some doctests (#345) (@sostock)
  • Delete duplicate @affineunit docstring in the documentation (#349) (@sostock)
  • Add AbstractQuantity docstring to docs (#351) (@sostock)
  • Update repo URL (#352) (@sostock)
  • Switch to a more standard Documenter setup (#353) (@sostock)
  • Throw error for div etc. with affine quantities (#354) (@sostock)
  • Enable Travis on macOS (#355) (@giordano)
  • Fixes for the documentation (#356) (@sostock)
  • Properly document Quantity constructor (#357) (@sostock)
  • Fix link to documentation in README.md: latest -> dev. (#360) (@ajkeller34)
  • Add page headers to documentation (#361) (@sostock)
Unitful.jl - v1.2.1

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

Unitful v1.2.1

Diff since v1.2.0

Closed issues:

  • denominator error when converting fractional units (#327)

Merged pull requests:

  • Test on Julia 1.4 (#333) (@sostock)
  • Fix conversion of fractional units (#335) (@briochemc)
  • Update README.md (#336) (@briochemc)
Unitful.jl - v1.2.0

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

Unitful v1.2.0

Diff since v1.1.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) (@briochemc)
  • Use integer for conversion if ratio is whole (#323) (@ajkeller34)
  • Release v1.2.0 (#324) (@giordano)
  • Add readme link to UnitfulRecipes (#325) (@mcabbott)
Unitful.jl - v1.1.0

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

Unitful v1.1.0

Diff since v1.0.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 right (#304)
  • Rounding with digits/sigdigits (#307)
  • Typo in runtests.jl (#311)
  • Base.isequal works differently than == (#314)

Merged pull requests:

  • Add unit of year (#288) (@briochemc)
  • unicode exponents for display (#297) (@briochemc)
  • Remove code for Julia < 1.0 (#303) (@sostock)
  • Install TagBot as a GitHub Action (#305) (@JuliaTagBot)
  • Fix rounding with digits/sigdigits (#308) (@sostock)
  • Fix typo in tests (#312) (@giordano)
  • Support mixed argument types to div and friends (#317) (@Tokazama)
Unitful.jl - v1.0.0

Published by julia-tagbot[bot] over 4 years ago

v1.0.0 (2020-01-26)

Diff since v0.18.0

Closed issues:

  • one and zero inconsistency (#291)
  • atan DimensionError (#290)
  • @u_str macro hygiene? (#272)
  • Add function for run-time parsing (#214)

Merged pull requests:

  • Update Project.toml (#301) (ajkeller34)
  • Parsing of units from strings (#298) (c42f)
  • Support Float32/Float16 etc. type conversions (#296) (cstjean)
  • Add pertenthousand ‱ unit (#294) (briochemc)
  • Fix atan DimensionError (#293) (sostock)
Unitful.jl - v0.18.0

Published by julia-tagbot[bot] almost 5 years ago

v0.18.0 (2019-11-27)

Diff since v0.17.0

Closed issues:

  • Unable to hold dimensionless values as Quantity'es (#283)
  • Overload Base.log(::Quantity)? (#279)
  • Depend on ConstructionBase.jl to allow funcitonal updating of quantities etc. (#277)
  • @u_str should make FreeUnits and not Quantity (#275)
  • What is the suggested way to convert the T type of a Quantity{T,D,U}? (#274)
  • What is the simple way of writing a DimensionlessQuantity? (#273)

Merged pull requests:

  • Update CI settings. (#286) (ajkeller34)
  • Add constructorof for Quantity, and ConstructionBase dep (#280) (rafaqz)
  • Handle missing |> kg (#278) (cstjean)
  • Document how to print to preferred (SI) units. (#276) (jarvist)
  • Add unit "angstrom" (#271) (singularitti)
Unitful.jl - v0.17.0

Published by julia-tagbot[bot] about 5 years ago

v0.17.0 (2019-09-04)

Diff since v0.16.0

Closed issues:

  • Astronomical Magnitudes (#265)
  • zero\(Quantity{Int64, D, U} where U where D\) should error? (#264)
  • Determining number type without adding a Unitful dependency (#262)
  • conversion from RPM to rad/s is incorrect (#261)
  • Degree printing (#253)
  • Dependant package proposal: MechanicalUnits (#248)
  • promote_to_derived() fails (#237)
  • Request: Add molar, volume and mass flows (#211)
  • Unitful ranges are really hard to read (#199)
  • Occasional seg faults on 0.7/1.0 (#193)

Merged pull requests:

  • Add MassFlow, MolarFlow, VolumeFlow derived dimensions. (#269) (ajkeller34)
  • Fix conversions between rpm, rps, and other rotational units. (#268) (ajkeller34)
  • Implement more methods of isrootpower\_dim. (#267) (ajkeller34)
  • Clarify the behavior of zero on Quantity types… (#266) (ajkeller34)
  • Fix typo in extending.md (#263) (asinghvi17)
  • Add molar unit (#258) (jlumpe)
  • More concise printing of some standard Range types (#256) (c42f)
  • Fix display() of angular degrees to be SI compliant (#255) (c42f)
  • Some fixes for register() documentation. (#254) (c42f)
  • Make Unitful.promote\_to\_derived usable again (#252) (ChristianKurz)
  • Auto-register basefactors for precompiled unit extension modules (#251) (c42f)
Unitful.jl - v0.16.0

Published by julia-tagbot[bot] over 5 years ago

v0.16.0 (2019-07-01)

Diff since v0.15.0

Closed issues:

  • Doc links broken (#242)
  • Error with range and degrees (#241)
  • World age errors with --compiled-modules=no (#232)
  • World age problem when 'using' Measurements after Unitful (#231)
  • Link to documentation is broken (#229)
  • Move Unitful.jl to an organisation? (#228)
  • Dealing with Real and Complex Quantities (#223)
  • @u\_str should preserve order (#222)
  • using logarithmic quantities (#217)
  • round to units (#207)

Merged pull requests:

  • Fix two rounding issues (#250) (ajkeller34)
  • add two arg rounding methods (#249) (rafaqz)
  • REQUIRE -> Project.toml; CI tweaks (#247) (c42f)
  • update rounding code (#246) (BeastyBlacksmith)
  • Fix issue #241 (#245) (ajkeller34)
  • Fix issue #232. (#243) (ajkeller34)
  • Update constants to CODATA 2018 (#235) (sostock)
  • Links go to the wrong repository (#234) (OvidiusCicero)
  • Do not call zero\(T\) from generated function body (#233) (c42f)
  • Fixed docs from ajkeller34. to painterqubits. (#230) (rapus95)
  • implement Base.complex, Base.widen, Base.reim (fix #223) (#227) (steinQF)
  • Implement upreferred(::Missing) (#224) (cstjean)
  • Add show method for MIME"text/plain" (#213) (giordano)
  • Remove type annotation on last argument of ustrip methods (#212) (giordano)
Unitful.jl - v0.15.0

Published by ajkeller34 over 5 years ago

Support missing, safer ustrip alternatives, AbstractQuantity, etc.

Unitful.jl - v0.14.0

Published by ajkeller34 almost 6 years ago

See NEWS.md.