Releases: SymbolicML/DynamicQuantities.jl
Releases · SymbolicML/DynamicQuantities.jl
v0.8.2
DynamicQuantities v0.8.2
Merged pull requests:
- Add some
Unitful
unit names that were missing (#81) (@MichaelHatherly)
v0.8.1
DynamicQuantities v0.8.1
Merged pull requests:
- Add informative error when converting symbolic dimensions to Unitful (#80) (@jkrumbiegel)
Closed issues:
v0.8.0
What's Changed
- Support dispatches on
Number
via union type by @MilesCranmer and @gaurav-arya in #49- This splits
Quantity
into two types:Quantity <: AbstractQuantity <: Number
andGenericQuantity <: AbstractGenericQuantity <: Any
. - This will help a lot with downstream integration as now
Quantity <: Number
(just like Unitful). - Methods are now defined on
Union{AbstractQuantity,AbstractGenericQuantity}
, which let's us both have multiple abstract types dispatched on different supertypes, and also only writing a single method for all abstract types in our library!- Note there are exceptions due to ambiguous methods, and at some points in the code we loop over the abstract types with an
@eval
- Note there are exceptions due to ambiguous methods, and at some points in the code we loop over the abstract types with an
- (It's essentially like a way of manually doing multiple inheritance)
- This splits
- Reduce the number of method invalidations by @MilesCranmer in #71
- Create
constructorof
,with_type_parameters
,dimension_names
by @MilesCranmer and @devmotion in #72- Helps us clean up the typing throughout the library. Should be more robust to new behavior in downstream user-defined
AbstractDimensions
- Helps us clean up the typing throughout the library. Should be more robust to new behavior in downstream user-defined
Full Changelog: v0.7.5...v0.8.0
v0.7.5
DynamicQuantities v0.7.5
Merged pull requests:
- Add pico and nano prefixes for gram (#70) (@MilesCranmer)
Closed issues:
- Adding "missing" units (#69)
v0.7.4
DynamicQuantities v0.7.4
Merged pull requests:
- Add
uconvert
and chemistry example (#48) (@gaurav-arya) - Add
uconvert
method forQuantityArray
(#61) (@MilesCranmer) - Deprecate
expand_units
->uexpand
(#62) (@MilesCranmer)
v0.7.3
DynamicQuantities v0.7.3
Merged pull requests:
- Remove SparseArrays dependency (#56) (@devmotion)
Closed issues:
- Make SparseArrays a weak dependency? (#53)
v0.7.2
DynamicQuantities v0.7.2
Merged pull requests:
- Make package a bit more lightweight and improve loading time (#54) (@devmotion)
v0.7.1
DynamicQuantities v0.7.1
Merged pull requests:
- Add extension for Measurements.jl (#46) (@MilesCranmer)
- Some docs fixes (#47) (@gaurav-arya)
Closed issues:
- Feature suggestion: assignment of variables as unit during with
using DynamicQuantities: <list of units>
(#43)
v0.7.0
What's Changed
- Create
QuantityArray <: AbstractArray
by @MilesCranmer and @gaurav-arya in #33 - Make literal_pow generic on quantities, but specialize for dimensions by @gaurav-arya in #36
- Breaking: Redefine
float
to match Unitful and return quantity by @MilesCranmer in #37 - Fix broadcast stack overflow by @gaurav-arya in #38
- Clean up promotion rules in #33
- Make scalar
AbstractQuantity
compatible with broadcasting operations in #33 - Move LinearAlgebra.jl to extension in #33
- StaticArrays.jl compatibility and integration tests in #33
New Contributors
- @gaurav-arya made their first contribution in #36
Full Changelog: v0.6.3...v0.7.0
v0.6.3
DynamicQuantities v0.6.3
Merged pull requests:
- Switch to PackageExtensionCompat.jl for extensions (#34) (@MilesCranmer)
- Add Aqua.jl to test suite (#35) (@MilesCranmer)