NotifySubscribe/NotifyUnsubscribe and Update to PEGTL 3.0.0 Release
I bumped the minor version to 3.3.0 to reflect the new NotifySubscribe/NotifyUnsubscribe feature. The update to PEGTL technically breaks backwards compatibility with older compilers/toolchains, so I could also bump it up to 4.0.0, but since it's still source compatible with prior versions I left it as is.
- Support for invoking the default
Subscriptionobject resolvers onsubscribe/unsubscribe.- If there's a default
Subscriptionobject passed to theOperationsconstructor, and you call one of the overloads which takes astd::launchpolicy, it will resolve the subscription query onsubscribewithResolverContext::NotifySubscribe, and onunsubscribewithResolverContext::NotifyUnsubscribe. - Using the older
subscribe/unsubscribeoverrides, or leaving the defaultSubscriptionargument empty, should behave the same as before, except there's now an additionalFieldParams::resolverContextmember which you may inspect at runtime. - You can still override the
Subscriptionobject when callingdeliverto separate subscription state management from the delivery of events. If you passdeliveranullptr, it will still fallback to using the defaultSubscriptionobject.
- If there's a default
- Update the
PEGTLsubmodule to the 3.0.0 release tag which just came out.- Remove the
boot-filesystemfallback now thatPEGTLdepends onstd::filesystemas well, which bumps the minimum compiler toolchain version up on Linux. - Clarify compatibility requirements in the README
- Remove the
- Other
- Miscellaneous bug fixes.
- Enable
clang-formatand use that to re-format almost everything.