Skip to content

Releases: localgovdrupal/localgov_alert_banner

1.1.1

07 Jul 09:25
1277614
Compare
Choose a tag to compare

Bug fix release to address cache issue in #150 (PR #152)

Commits on Jun 29, 2021
@Adnan-cds
Fix for typo in cache context name …
8f0621c
Commits on Jun 30, 2021
@andybroomfield
Merge pull request #149 from localgovdrupal/fix/typo-in-cache-context… …
6b5d7a6
@andybroomfield
Move the cacheContexts and cacheTags to the alert banner entity …
0780491
Commits on Jul 01, 2021
@andybroomfield
Initial alterations to add cache contexts and tags
04a5747
Commits on Jul 02, 2021
@andybroomfield
Remove $this->addCacheContexts($contexts) as returning by merging wit… …
06ab96b
Commits on Jul 05, 2021
@andybroomfield
Merge pull request #152 from localgovdrupal/fix/150-cache-tags …
3e40ca8

1.1.0

18 Jun 14:40
8a43d4d
Compare
Choose a tag to compare

Adds conditional alert banner placement so banner display can be limited to specific paths.

The visibility field limiting where an alert banner is displayed is added to existing alert banners and alert banner types.

Changelog:

#141 @stephen-cox Updated Github CI to run 1.x branch against Drupal 8 and 9
#142 @andybroomfield @stephen-cox Conditional alert banner placement
#144 @andybroomfield Render all content fields on the alert banner

1.0.1

18 May 15:41
e1cea4f
Compare
Choose a tag to compare

Adds Drupal 9 support to LocalGov Alert Banner.

Changelog:

#132 @stephen-cox Code Fixes for Drupal 9 support
#135 @andybroomfield Delete AlertBannerRouteSubscriber.php
#140 @stephen-cox Updated Github CI to run 1.x branch against Drupal 8 and 9

1.0.0

05 May 10:59
36047e4
Compare
Choose a tag to compare

This is the first full release of Localgov_alert_banner
(Yes we're jumping past beta! See #124).

This represents the first stable version, so future releases will be using semantic versioning to manage breaking changes and new features.

Incorporates the template coding standards work thanks @markconroy.
This will require some updates to your theme css if you have customised the banner in your theme.

If anyone is using localgov_theme, they will need to update their CSS classes - I think the only one might be changing localgov_alert_banner to localgov-alert-banner.

Also note that the template for the alert banner has changed from localgov_alert_banner.html.twig
to localgov-alert-banner.html.twig

@markconroy
format templates to follow Drupal practices
32b3ce8

@markconroy
update library definition to fix typo
0f20c34

@markconroy
remove padding from alert banner
95db581

@markconroy
update test to correct class name
21f6ba7

@stephen-cox
Split GitHub CI tests into separate jobs (localgovdrupal/localgov#179)
0260a86

1.0.0-alpha5

16 Apr 08:24
90ba096
Compare
Choose a tag to compare

Changes since Alpha 4

  • Allow a choice for which banners to display in the block #109, thanks @j4-m.
  • Add local task for manage alert banner view #111, thanks @tebb.
  • Add alert banner order to readme #112, thanks @Adnan-cds.
  • Add missing defaultTheme in permissions test #114, thanks @andybroomfield
  • Fix missing save buttons when using Gin admin theme by opting out of the node edit theme on gin #117, thanks @andybroomfield and @jhiron-wf for the report.

1.0.0-alpha4

13 Jan 15:20
ad268c3
Compare
Choose a tag to compare

Changes since alpha3.

  • #96 Update View for compatibility with other types - Thanks @tanc
  • #101 Remove tests dependancy on localgov_profile
  • #102 Remove 1 banner limitation and add the unpublish others as an option
  • #103 / #104 Github Tests update.

Make sure updates.php is run after updating to this release.
The config changes added in #96 are not included in an update hook, as users may have updated the view themselves.
The updated config to install is views.view.localgov_admin_manage_alert_banners.yml.txt.zip and replace existing view to add the alert banner type column. See discussion in #97.

1.0.0-alpha3

20 Nov 17:37
9b51b5a
Compare
Choose a tag to compare
Merge pull request #92 from localgovdrupal/fix/91-title-callback-para…

…meters

Fix/91 title callback parameters