Skip to content

Releases: bbc/branding-client

v2.3.0 - Add cache flush

25 Sep 14:17
Compare
Choose a tag to compare

Now OrbitClient and BrandingClient can use setFlushCacheItems(true) to flush the cache

v2.2.0 - Added orbit parameters into the orbit response

02 Aug 15:31
Compare
Choose a tag to compare

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

31 Jul 16:21
Compare
Choose a tag to compare

Allow the consuming application to specify a custom cache prefix that is used when building the cache key

v2.0.4 - Navigation item builder

18 Jul 16:32
Compare
Choose a tag to compare

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

05 Jul 17:00
Compare
Choose a tag to compare

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

04 Jul 15:32
Compare
Choose a tag to compare

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

27 Apr 11:08
Compare
Choose a tag to compare
  • 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

13 Apr 09:54
Compare
Choose a tag to compare

Embed an OrbitClient in this library rather than relying on an external one.

v1.2.0 - Public release

31 Mar 14:33
Compare
Choose a tag to compare
  • 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

24 Nov 15:04
Compare
Choose a tag to compare

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.