Version 3.2.0

January 6, 2019

Added

  • Added compatibility with new (Craft 3.4+) control panel layout. (#8)
  • Added the targetSelector setting, which optionally overrides the CSS selector for the label banner.

Version 3.1.5

November 2, 2018

Fixed

  • Fixed order-of-loading conflicts that could generate an error when Environment Label tried to add a Twig global. (#6)
  • Add craftcms/cms 3.0 as a requirement. (Required by plugin store)

Version 3.1.4

June 5, 2018

Fixed

  • Replaced broken URL to docs.

Version 3.1.3

March 22, 2018

Fixed

  • Updated the docs and example config file to reference the correct settings handles for prefixText and suffixText.

Version 3.1.2

March 8, 2018

Fixed

  • Removed a slightly overzealous typehint that causes an error in PHP 7.0 (since the void return type wasn't added until 7.1).

Version 3.1.1

December 31, 2017

Added

  • The environmentLabel Twig global now provides access directly to the Label service.

Fixed

  • The label text is now rendered later in the request (in response to the View's BEFORE_RENDER_PAGE_TEMPLATE event, rather than during the plugin initialization). This allows other plugins to register Twig extensions before we first use Twig to render the label text.

Removed

  • Removed the EnvironmentLabelTwigExtension in favor of a global pass-through to the Label service.

Version 3.0.0

December 25, 2017

Added

  • Environment Label is ready for Craft 3!