Skip to content

0.4.1

Latest
Compare
Choose a tag to compare
@chiphogg chiphogg released this 20 Dec 14:39
05f6674

Release Notes

This was mainly a bugfix release, focused on some small breakages in
CMake and MSVC. We've added CI coverage to prevent these kinds of
errors robustly going forward.

User-facing library changes

New common unit utilities (#362)

  • common_unit(...) utility computes an instance of the common unit of
    the inputs. Arguments are unit slots, so you can pass not just units
    (Meters{}), but also quantity makers (meters), unit symbols (m),
    and so on.
  • make_common(...) is like common_unit(...), except that the inputs
    all have to be the same "kind" of thing, and the output will be that
    same "kind" of thing, not just a simple unit. For example,
    make_common(mm, in) gives a unit symbol, and you can multiply it by
    a number just as you could with the inputs mm or in.
  • We also have common_point_unit(...) and make_common_point(...) if
    you want to get the "for points" flavor of the common unit.

Other changes

  • Error messages are cleaner when you try passing a Quantity or
    QuantityPoint to any kind of unit slot (#366).
  • Used more specific feature test macro for C++20 operator<=> support
    (#358).

Documentation updates

  • Added a new troubleshooting entry for passing a Quantity to a unit
    slot (#366).

Repo updates

  • Added CI coverage for CMake client libraries (360).
  • Expanded CI coverage for MSVC (#363, #365).

Closed Issues

Here are all of the issues that were closed between these releases.
(Note that the resolution is at the level of days, so some of these
issues might show up in the notes for more than one release.)

NOTE: change dates below!

https://github.com/aurora-opensource/au/issues?q=is%3Aissue+closed%3A2024-12-12..2024-12-20

Contributors

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