Skip to content

Version 0.10.0

Latest

Choose a tag to compare

@dunglas dunglas released this 03 Nov 07:27
Immutable release. Only release title and notes can be modified.
v0.10.0
b6d2186
  • Authorization::setCookie() (and therefore the Twig mercure() function) can now be called several times for the same hub during the same request: the grants of every call are merged into a single subscriber authorization cookie (topics are added to an existing grant with the same actions and payload, other grants are appended), and so are the additional claims, instead of throwing a RuntimeException. The earliest exp is kept; giving any other claim two different values still throws, and so does mixing setCookie() and clearCookie() for the same hub
  • Fix the doubled quotes around the hub name in the exception thrown when the subscriber authorization cookie of a named hub has already been set