Skip to content

1.0.2

Latest
Compare
Choose a tag to compare
@Neverlord Neverlord released this 30 Oct 09:36
· 24 commits to main since this release

Changed

  • Tests, scenarios and outlines are now automatically put into the anonymous
    namespace to avoid name clashes with other tests. This removes the need for
    users to manually put their tests into an anonymous namespace.
  • The SUITE macro of the unit test framework can now be used multiple times in
    a single compilation unit.

Fixed

  • When using the HTTP client API, the client now properly closes the connection
    after receiving a response even if the server would keep the connection open.
  • When using the WebSocket client API, the socket could close prematurely when
    leaving main right after setting up the connection, even when starting an
    actor in start. This was due to CAF not holding onto a strong reference to
    the connection object (and thus the actor) at all times (#1918).
  • When using log statements in unit tests, e.g. log::test::debug, the output
    will now be rendered by default even when not using the deterministic fixture.
  • Registering a custom option of type size_t will no longer print
    <dictionary> as type hint in the --help output. Instead, CAF will print
    either uint32_t or uint64_t, depending on the platform.
  • Fix handling of unicode escaping (e.g. ä) in the JSON parser (#1937).