Skip to content
Snippets Groups Projects
Verified Commit e34e8361 authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

chore: add changelog

parent 26b6d1b1
No related branches found
No related tags found
1 merge request!1is needed
Pipeline #438413 passed
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
# WP Migrations Changelog # WP Migrations Changelog
## [1.1.0] - 09-11-2024
### Added
- New method to migration classes: `is_needed()` which can return false to skip specific migration version execution.
### Removed
- Removed `AbstractMigration::down()` as in WordPress context it is impossible to execute down migrations reliably and the method was never actually used.
## [1.0.4] - 06-10-2023 ## [1.0.4] - 06-10-2023
### Fixed ### Fixed
- Respect status returned from migration. If any error occurred (migration returned false or threw), break migration process. - Respect status returned from migration. If any error occurred (migration returned false or threw), break migration process.
......
...@@ -28,10 +28,8 @@ ...@@ -28,10 +28,8 @@
] ]
}, },
"require-dev": { "require-dev": {
"szepeviktor/phpstan-wordpress": "^1.1",
"wpdesk/wp-code-sniffer": "^1.2", "wpdesk/wp-code-sniffer": "^1.2",
"phpstan/phpstan": "^1.10", "wpdesk/phpstan-rules": "^1"
"phpstan/extension-installer": "^1.3"
}, },
"scripts": { "scripts": {
"style:fix": "phpcbf", "style:fix": "phpcbf",
...@@ -45,9 +43,16 @@ ...@@ -45,9 +43,16 @@
] ]
}, },
"config": { "config": {
"gitlab-domains": ["gitlab.wpdesk.dev"],
"allow-plugins": { "allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true, "dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true "phpstan/extension-installer": true
} }
},
"repositories": {
"wpdesk": {
"type": "composer",
"url": "https://gitlab.wpdesk.dev/api/v4/group/wpdesk/-/packages/composer/"
}
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment