Skip to content

0.5.1

Latest

Choose a tag to compare

@chiphogg chiphogg released this 20 Dec 20:36
a4cd560

Release Notes

Upgrading from (0.5.0)

This patch release contains only bug fixes, and should present no
difficulties when upgrading from 0.5.0.

User-facing library changes

Issues fixed:

  • Fixed ambiguous two-parameter constructor for Quantity and
    QuantityPoint (#525)
  • Improved efficiency (fewer assembly instructions) of mean()
    implementation (#526)
  • Make N in mag<N>() a std::uintmax_t, not size_t, improving
    compatibility on architectures where size_t is 32 bits (#542)
  • Fix various compiler errors on GCC 5.3 (#548)
  • Support constexpr use of data_in() for Quantity and
    QuantityPoint (#556)

Future-proofing releases

  • 🚀 0.5.1-future-122: release covering #122

  • 🚀 0.5.1-future-185: release covering #185

    • This commit makes it so that Quantity operations always return a
      Quantity, never a raw number. To fix build errors, wrap the
      Quantity operation inside of a call to as_raw_number().
  • 🚀 0.5.1-future-429: release covering #429

    • This commit deletes the UnitAvoidance construct. To fix build
      errors, instead of specializing ::au::detail::UnitAvoidance,
      specialize ::au::UnitOrderTiebreaker.
  • 🚀 0.5.1-future-481: release covering #481

    • This commit removes all APIs with the word "coerce" in their name.
      To fix build errors, first, delete the coerce_ part of the name.
      Then, if you get a compiler error, read the error to see what risk
      set the library has flagged, and refer to our conversion risk guide
      https://aurora-opensource.github.io/au/0.5.1/troubleshooting/#risk-too-high
      to see how to handle this specific instance.

Closed Issues

This patch release contains cherry-picked fixes, rather than a
date-based range of commits on the main branch. Therefore, see the
milestone page for a list of closed issues:

https://github.com/aurora-opensource/au/milestone/10?closed=1

Contributors

Thanks to those who authored or reviewed PRs, or filed or participated
in Issues! Alphabetically:

Artifacts and SHA256 sums

Artifact Role SHA256 sum
au-0.5.1.tar.gz Main release 65675096bab253f81813760a5643810cb60c662a4fb2944bb49d77d9c11c85e8
au-0.5.1-future-122.tar.gz Future-proof for #122 5a15828421587ca643f3ae73c2c34529d50a16eaca2f361da8fa8b43569d0573
au-0.5.1-future-185.tar.gz Future-proof for #185 fdc19e4afccb3b84156dcea6ea17ba5dad0f8deb2959c2aadad7aec14e972731
au-0.5.1-future-429.tar.gz Future-proof for #429 1b0363488b283cc8300746f4db69cfa9a922f747bc3dfe56597c56a76b13735e
au-0.5.1-future-481-a.tar.gz Future-proof for #481 (revision a) 5dcb682d07cbcafbcb77ee14c8bd70768d2be096000724db08c3a12489301e97
au-0.5.1-future.tar.gz Complete future-proof release 0d5bca2fa817a08bf5e36d9a1af65a8d600526f4f3cf596b58df4f8488bd4e8e

The future-proof artifact for 481 was initially missing a commit. The new
artifact (a) includes this vital commit.