Skip to content

Releases: mechanomy/UnitTypes.jl

v2.0.3

23 Mar 18:44

Choose a tag to compare

UnitTypes v2.0.3

Diff since v2.0.2

  • broadens overloads on * and / so that they work on child and base types, issue #24, also fixes #23

Closed issues:

  • u_str for Inch (#23)

v2.0.2

02 Mar 20:39

Choose a tag to compare

UnitTypes v2.0.2

Diff since v2.0.1

v2.0.1

05 Dec 11:41

Choose a tag to compare

UnitTypes v2.0.1

Diff since v2.0.0

Closed issues:

  • Creating new types breaks precompilation (#22)

v2.0.0

06 Nov 17:36

Choose a tag to compare

UnitTypes v2.0.0

Diff since v1.0.2

  • Function overloads on UnitTypes are now specifically typed, as the subtyping approach of v1.0.0 lead to #19. Performance is now on-par with Unitful and very close to Number.
  • Defined types are now documented in the UnitTypes.allUnitTypes dictionary, with keys being the UnitTypes. UnitTypes.allUnitTypes[Meter]
  • Affine definitions can now be made by explicit conversion functions in @makeMeasure: @makeMeasure Meter = Inch "in" 0.0254, @makeMeasure Kelvin = Fahrenheit "F" f->(f+459.67)*5/9 k->k*9/5-459.67 This is a breaking change.
  • Broadcasting and _colon overloads removed due to v1+'s opaque interface specification.

Closed issues:

  • Pascal = N/m2! (#18)

v1.0.2

27 Feb 13:10

Choose a tag to compare

UnitTypes v1.0.2

Diff since v1.0.1

Closed issues:

  • u_str doesn't seem to work on my machine (#16)

v1.0.1

27 Feb 03:43

Choose a tag to compare

UnitTypes v1.0.1

Diff since v1.0.0

Breaking changes

  • macros renamed
  • Measure module removed, all is now contained within UnitTypes

Closed issues:

  • inverse length? (#3)
  • Dimension + Measure = Dimension (#4)
  • Documentation displays strangely (#15)

v1.0.0

26 Feb 18:42

Choose a tag to compare

fix ticks