Releases: bbc/branding-client
v2.3.0 - Add cache flush
Now OrbitClient and BrandingClient can use setFlushCacheItems(true)
to flush the cache
v2.2.0 - Added orbit parameters into the orbit response
Added orbit parameters into OrbitStubClient so we can extract them from a response and use it in unitest
v2.1.0 - Add custom cache prefixes
Allow the consuming application to specify a custom cache prefix that is used when building the cache key
v2.0.4 - Navigation item builder
Add a buildNavItem() helper that specifies the format for creating navigation items in the cases where the consuming application may wish to replace the placeholder
v2.0.3 - Return of the Locale
Make sure calling getLocale() returns what you expect.
It turns out when defining new functions, it helps to give them a return locale.
v2.0.1 - RFC-compliant languages
Use the RFC-compliant language format so that you can request the right language from Orbit.
This release deprecates the getOrbitLanguage() function in favour of a getLanguage() function.
v2.0.0 - Updates to Caching
- Clients have been updated to accept a PSR6 cache implementation rather than Doctrine.
- OrbitClient accepts new options for Mustache usage.
v1.3.0 - Include OrbitClient
Embed an OrbitClient in this library rather than relying on an external one.
v1.2.0 - Public release
- Fix bug where using a branding could be potentially cached indefinitely.
- License this code using the Apache 2.0 license.
v1.1.0 - Preview support
Add support for using preview urls. Pass a second argument into BrandingClient->getContent()
that is the themeVersionId you want to preview. To fit in with that the BrandingTool CMS offers you should pull this value from querystring parameter named in \BBC\BrandingClient\BrandingClient::PREVIEW_PARAM
. See the readme for more details.