Releases: localgovdrupal/localgov_core
2.1.2
What's Changed
- Add missing test module description by @andybroomfield in #123
- Correcting package name by @BrizzleRocker in #121
New Contributors
- @BrizzleRocker made their first contribution in #121
Full Changelog: 2.1.1...2.1.2
2.1.1
What's Changed
- Update Github Actions to use standard config by @stephen-cox in #116
- adds localgov_admin_theme_improvements module by @markconroy in #119
Full Changelog: 2.1.0...2.1.1
2.1.0
Splits LocalGov Workflows submodule into it's own module; https://github.com/localgovdrupal/localgov_workflows
Changelog:
#84 @markconroy @danchamp Adds global variable to turn on/off CSS/JS.
#99 @stephen-cox @finnlewis @andybroomfield Added contributor role.
#102 @finnlewis @Adnan-cds Relabel localgov_media for consistency.
#111 @andybroomfield @stephen-cox @finnlewis Split localgov_workflows into separate module.
2.0.2
Adds hook to allow modules to set their default permissions for LocalGov Drupal Core Roles.
#88 @danchamp @andybroomfield
Include email matcher in default LinkIt profile
#87 @ekes @Adnan-cds
Add HOOK_localgov_roles_default to install default permissions for modules
2.0.1
Includes the forward port of the paragraphs fix #81.
Commits on May 26, 2021
@stephen-cox
Fix GitHub CI after 2.0.0 release (#80)
Verified
17d3b25
@andybroomfield
Update paragraph tables with references to new field names …
75d9420
@andybroomfield
Coding standards fixes
5eb35ac
@andybroomfield
Add test for paragraph fix on field rename …
6445325
@andybroomfield
Coding standards fix and rename the test
278807d
@andybroomfield
Fix test to call the entity reference revisions purger …
e4100e3
@andybroomfield
Add extra if to fieldrenamehelper to detect entity_referenece_revisions …
95bac6f
@andybroomfield
Throw exception if renaming a non paragraph entity_reference_revisions
ffdffaa
@andybroomfield
code standards fix
b679a07
@finnlewis
Fix coding standards.
6db6daa
Commits on May 27, 2021
@andybroomfield
Merge pull request #81 from localgovdrupal/fix/75-2.x-fix-paragraph …
Verified
b4d7cf0
1.0.1
Bugfix release to address an issue whereby the paragraph topics fields on localgov_services_sub_landing_page get removed by the entity reference revisions queue worker on cron. Thanks for the bug report (#75) @Adnan-cds and the fix (#76) @andybroomfield.
Commits on May 19, 2021
@stephen-cox
Updated Github CI to run 1.x branch against Drupal 8 (#71)
b7afc5f
Commits on May 20, 2021
@andybroomfield
Update paragraph tables with references to new field names …
d7d0176
@andybroomfield
Coding standards fixes
e43fab3
Commits on May 21, 2021
@andybroomfield
Add test for paragraph fix on field rename …
201b9dc
Commits on May 22, 2021
@andybroomfield
Coding standards fix and rename the test
72517db
Commits on May 23, 2021
@andybroomfield
Fix test to call the entity reference revisions purger …
2afb3f1
Commits on May 24, 2021
@andybroomfield
Add extra if to fieldrenamehelper to detect entity_referenece_revisions …
88b4cb2
Commits on May 25, 2021
@andybroomfield
Throw exception if renaming a non paragraph entity_reference_revisions
3f2ba37
Commits on May 26, 2021
@andybroomfield
Merge pull request #76 from localgovdrupal/fix/75-fix-paragraphs …
defa403
2.0.0 release for Drupal 9
Tagging 2.0.0 release for Drupal 9 support.
No new changes since the 2.x branch.
This branch requires Drupal 9.
1.0.0-alpha4
Changelog:
#63 @stephen-cox @finnlewis Corrected label and link of 'Powered by LocalGovDrupal' block.
#65 @Adnan-cds @andybroomfield Drush deploy compatible field renaming
#54 @markconroy @ekes allow br in wysiwyg
1.0.0
Tagging Policy - 1.0.0
localgovdrupal/localgov#194
No updates.
1.0.0-alpha3
Rename core provided fields from field_* to localgov_*
Caution
Please see: https://github.com/localgovdrupal/localgov/releases/tag/1.0.0-alpha4
This is the update that renames fields.
When updating to this release, you must also update run database updates and export the configuration.
This update performs the following field rename
field_email_address to localgov_email_address
field_facebook to localgov_facebook
field_phone to localgov_phone
field_twitter to localgov_twitter
Full release notes for this update for all field renaming updates.
These modules and theme update will update the field machine names used in the service landing, sub landing, service page and the page components paragraph. This also renames references to those fields in localgov theme.
The following fields machine names will be updated:
field_email_address to localgov_email_address
field_facebook to localgov_facebook
field_phone to localgov_phone
field_twitter to localgov_twitter
field_page_components to localgov_page_components
field_address_first_line to localgov_address_first_line
field_address to localgov_address
field_contact_us_online to localgov_contact_us_online
field_destinations to localgov_destination
field_hearing_difficulties_phone to localgov_hearing_difficulties_ph
field_link_to_map to localgov_link_to_map
field_opening_hours to localgov_opening_hours
field_other_team_contacts to localgov_other_team_contacts
field_popular_topics to localgov_popular_topics
field_common_tasks to localgov_common_tasks
field_download_links to localgov_download_links
field_hide_related_topics to localgov_hide_related_topics
field_override_related_links to localgov_override_related_links
field_related_links to localgov_related_links
field_service_status_on_list to localgov_service_status_on_list
field_enable_service_updates to localgov_enable_service_updates
field_service_status to localgov_service_status
field_service_status_on_landing to localgov_service_status_on_landi
field_topics to localgov_topics
Before you begin, make sure you have a complete back up of your sites code, files and database as these updates cannot be rolled back once applied. You should also export and commit your current config as part of the update process involves exporting and reimporting the sites config to get the renamed field names to stick.
Update to these modules using composer update. It is important to update to the latest releases of localgov_core, localgov_services, localgov_page_components and localgov_theme at the same time.
Next run the database updates. Run the database updates either by visiting yoursite.com/update.php or using the command drush updb. This will go through each module and rename the fields used by each module.
Once database updates have been run, you must export your config (eg. using drush cex) and commit your config to version control. This is so that the changed field names are preserved in your site. Then import the config using drush cim which will remove any last references to the old field name.
If you import the old site config before exporting it, the old field names will be resurrected. If this happens you will need to manually change the database installed version and re-run the database updates for that module.
After applying these updates, check your sites theme and custom modules for any references to the old field names and search and replace them. Test the site to check for all data is present and fields are displaying correctly. Then commit and deploy the update.
To keep your current versions if you are not ready to update yet, add the following to your root composer.json and run composer update.
"localgovdrupal/localgov_core": "1.0.0-alpha2",
"localgovdrupal/localgov_services": "1.0.0-alpha2",
"localgovdrupal/localgov_page_components": "1.0.0-alpha1",
"localgovdrupal/localgov_theme": "1.0.0-alpha3"
This will prevent these modules and theme being updated, however to get future updates you will need to proceed with the update.
Commits
@paulpopus
Update workflow file to be consistent with upstream repo
436d8be
@paulpopus
Merge pull request #51 from localgovdrupal/feature/githubactions-6-up… …
e9e817b
@andybroomfield
Rename the field storage config to localgov_ prefix …
17b4927
@andybroomfield
Update function to rename the core fields …
39b6438
@andybroomfield
WIP: Load the dependant config and apply to renamed fields …
8e870aa
@andybroomfield
WIP: Fix renamed table data values …
aac6be9
@andybroomfield
Preserve field groups when updating field machine names …
ca115a4
@andybroomfield
Initial move the field rename logic into a seperate class for reuse
7966e0a
@andybroomfield
Check the correct DB column names to update field data
29fc2ac
@andybroomfield
Update the docblock on localgov_core update hook …
08d09f6
@andybroomfield
Fix field rename error when field is missing …
1deb743
@andybroomfield
Add a test for the field rename helper …
c7e5357
@andybroomfield
Fix to make the field rename database queries work with table prefix
82087ff
@andybroomfield
Remove superfluous sql statements as just and insert all needed …
152e383
@Adnan-cds
@andybroomfield
Field renaming: Use schema for data copying. …
bec6f29
@Adnan-cds
@andybroomfield
Temporary change to test runner. …
ec7bab5
@Adnan-cds
@andybroomfield
Field renaming: Coding standard changes. …
8a47e65
@andybroomfield
Initial add test for field group in entity display
4bd268b
@andybroomfield
Set up field groups in form and view display and test for renamed field …
a8fbe57
@andybroomfield
Add test for field config (weight, label) in each display …
a2eda5f
@andybroomfield
Add field group as dependancy
8f31b97
@andybroomfield
Code standard fix
628a35c
@andybroomfield
Add message to export configuration once update is completed
d196c5a
@andybroomfield
Real delete the test.yml file
78fc962
@andybroomfield
Merge pull request #37 from localgovdrupal/fix/35-rename-fields …
b815c0a