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

chore: add changelog


Signed-off-by: default avatarBart Jaskulski <bjaskulski@protonmail.com>
parent 26b6d1b1
No related branches found
No related tags found
1 merge request!1is needed
Pipeline #438413 passed with stages
in 18 seconds
# 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.
......
{ {
"name": "wpdesk/wp-migrations", "name": "wpdesk/wp-migrations",
"type": "library", "type": "library",
"description": "Doctrine Migrations clone suited for WordPress purposes.", "description": "Doctrine Migrations clone suited for WordPress purposes.",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {
"name": "Bart Jaskulski", "name": "Bart Jaskulski",
"email": "bartek.jaskulski@wpdesk.net" "email": "bartek.jaskulski@wpdesk.net"
} }
], ],
"require": { "require": {
"php": "^7.1|^8", "php": "^7.1|^8",
"ext-json": "*", "ext-json": "*",
"psr/log": "^1" "psr/log": "^1"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"WPDesk\\Migrations\\": "src" "WPDesk\\Migrations\\": "src"
} }
}, },
"autoload-dev": { "autoload-dev": {
"psr-4": { "psr-4": {
"WPDesk\\Migrations\\Tests\\": "tests" "WPDesk\\Migrations\\Tests\\": "tests"
...@@ -27,12 +27,10 @@ ...@@ -27,12 +27,10 @@
"tests/stubs" "tests/stubs"
] ]
}, },
"require-dev": { "require-dev": {
"szepeviktor/phpstan-wordpress": "^1.1", "wpdesk/wp-code-sniffer": "^1.2",
"wpdesk/wp-code-sniffer": "^1.2", "wpdesk/phpstan-rules": "^1"
"phpstan/phpstan": "^1.10", },
"phpstan/extension-installer": "^1.3"
},
"scripts": { "scripts": {
"style:fix": "phpcbf", "style:fix": "phpcbf",
"test:phpstan": "phpstan --configuration=phpstan.neon.dist --memory-limit=-1 analyze", "test:phpstan": "phpstan --configuration=phpstan.neon.dist --memory-limit=-1 analyze",
...@@ -44,10 +42,17 @@ ...@@ -44,10 +42,17 @@
"@test:phpunit" "@test:phpunit"
] ]
}, },
"config": { "config": {
"allow-plugins": { "gitlab-domains": ["gitlab.wpdesk.dev"],
"dealerdirect/phpcodesniffer-composer-installer": true, "allow-plugins": {
"phpstan/extension-installer": true "dealerdirect/phpcodesniffer-composer-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.
Finish editing this message first!
Please register or to comment