Skip to content

Releases: SymbolicML/DynamicQuantities.jl

v0.8.2

09 Nov 13:59
f2eea2a
Compare
Choose a tag to compare

DynamicQuantities v0.8.2

Diff since v0.8.1

Merged pull requests:

v0.8.1

08 Nov 22:14
aa3ea7c
Compare
Choose a tag to compare

DynamicQuantities v0.8.1

Diff since v0.8.0

Merged pull requests:

  • Add informative error when converting symbolic dimensions to Unitful (#80) (@jkrumbiegel)

Closed issues:

  • What is the recommended way of dealing with non-SI units? (#52)
  • Unexpected sum Performance Delta vs Unitful (#55)
  • Behavior with missing (#68)
  • Unitful conversion fails for symbolic units (#79)

v0.8.0

02 Nov 17:03
6769df1
Compare
Choose a tag to compare

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 and GenericQuantity <: 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
    • (It's essentially like a way of manually doing multiple inheritance)
  • 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

Full Changelog: v0.7.5...v0.8.0

v0.7.5

22 Oct 15:18
09a43cc
Compare
Choose a tag to compare

DynamicQuantities v0.7.5

Diff since v0.7.4

Merged pull requests:

Closed issues:

  • Adding "missing" units (#69)

v0.7.4

15 Oct 02:39
e5f4305
Compare
Choose a tag to compare

DynamicQuantities v0.7.4

Diff since v0.7.3

Merged pull requests:

v0.7.3

12 Oct 23:01
7d229fd
Compare
Choose a tag to compare

DynamicQuantities v0.7.3

Diff since v0.7.2

Merged pull requests:

Closed issues:

  • Make SparseArrays a weak dependency? (#53)

v0.7.2

10 Oct 15:30
eeba43f
Compare
Choose a tag to compare

DynamicQuantities v0.7.2

Diff since v0.7.1

Merged pull requests:

  • Make package a bit more lightweight and improve loading time (#54) (@devmotion)

v0.7.1

01 Oct 18:18
87e1eb3
Compare
Choose a tag to compare

DynamicQuantities v0.7.1

Diff since v0.7.0

Merged pull requests:

Closed issues:

  • Feature suggestion: assignment of variables as unit during with using DynamicQuantities: <list of units> (#43)

v0.7.0

09 Sep 22:16
bece5e9
Compare
Choose a tag to compare

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

Full Changelog: v0.6.3...v0.7.0

v0.6.3

07 Aug 00:33
94686d8
Compare
Choose a tag to compare

DynamicQuantities v0.6.3

Diff since v0.6.2

Merged pull requests: