Releases: palantirnet/drupal-rector
0.12.2
What's Changed
- Mark conflict on rector >=0.12.18 by @mglaman in #195
Full Changelog: 0.12.1...0.12.2
0.12.1
Updates Drupal Rector for the most common Drupal 9.3 and 9.4 deprecations.
What's Changed
- Update composer.json for allow-plugins by @mglaman in #186
- Rectors for drupal_get_path & drupal_get_filename by @mglaman in #187
- Handle custom message types by @mglaman in #190
- Add Rector for deprecated
render
by @mglaman in #188 - Use dev-main for rector-src by @mglaman in #193
- Rectors for file_move, file_copy, file_save_data by @mglaman in #189
- file_url_generator service Rector rules by @mglaman in #191
- MetadataBag::clearCsrfTokenSeed replaced by stampNew by @mglaman in #192
Full Changelog: 0.12.0...0.12.1
0.12.0
This release updates the codebase to support:
- PHPStan 1.0
- Rector 0.12.x
0.11.4
This is a maintenance release that includes updates to stay compatible with Rector.
0.11.3
This is a maintenance release that fixes a number of issues and updates the deprecations-index
for Drupal 9 changes.
-
Cleans up internal function doc mismatches.
-
Fix entity_view(), entity_delete_multiple() and EntityTypeInterface::getLowercaseLabel deprecation message
-
Issue #3228110: Improve AssertNoUniqueTextRector documentation and scope
-
Adds AssertLegacy and other new items to the index.
-
Issue #3229896: Fix broken params on assert cache tag Rector rules
-
Ensure proper rector install on github ci.
-
Issue #3221584: Use "*" over sha for sandbox test
-
Issue #3228113: Make PassRector more specific and fix documentation
-
Prevents stubs used for testing from breaking end user's PHPUnit tests for Drupal
-
Fixes BuildXPathQuery docs.
-
Fix REQUEST_TIME deprecation message. Noted by @mglaman
-
Issue #3222671: Rector for assertNoFieldByName()
-
Issue #3222671: Rector for assertUniqueText() and assertNoUniqueText()
-
Issue #3222671: Rector for pass()
0.11.2
This release corrects an error in Rector 0.11.38 that was fixed in later versions (rectorphp/rector-src#484).
See https://www.drupal.org/project/rector/issues/3225019 and a hat-tip to Grimreaper
for reporting and testing this issue.
0.11.1 - Drupal 9 deprecations
The release prepares drupal-rector to handle Drupal 9 deprecations, using PHP 8 and rector v 0.11.
This release also changes the file structure of the underlying code and introduced PHPUnit testing.
Note that this version can be run in PHP 7 without PHPUnit, which is not necessary for running rector upgrades on your code.
This release supports 8.x and 9.x code conversions and can be run with either Drupal 8 or Drupal 9.
0.11.0
This release brings us up-to-date with Rector 11 and adds support for PHPUnit testing.
PHPUnit testing requires PHP 8 and is used for development.
Creating new Rector rules and running the Rector update requires PHP 7 or higher.
0.10.0
This release updates to Rector version 0.10.0 and prepares for more substantial changes coming to prepare for Drupal 10.
Major changes
- We now use
rector.php
instead ofrector.yml
for configuration. - Adds PHPStan for static code analysis.
- We are deprecating the Behat tests in favor of PHPUnit (See #152)
New rules
- entity_view