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
Loading
Pipeline #438413 passed with stages
in 18 seconds
# 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
### Fixed
- Respect status returned from migration. If any error occurred (migration returned false or threw), break migration process.
......
{
"name": "wpdesk/wp-migrations",
"type": "library",
"name": "wpdesk/wp-migrations",
"type": "library",
"description": "Doctrine Migrations clone suited for WordPress purposes.",
"license": "MIT",
"authors": [
{
"name": "Bart Jaskulski",
"email": "bartek.jaskulski@wpdesk.net"
}
],
"require": {
"authors": [
{
"name": "Bart Jaskulski",
"email": "bartek.jaskulski@wpdesk.net"
}
],
"require": {
"php": "^7.1|^8",
"ext-json": "*",
"psr/log": "^1"
},
"autoload": {
"psr-4": {
"WPDesk\\Migrations\\": "src"
}
},
"ext-json": "*",
"psr/log": "^1"
},
"autoload": {
"psr-4": {
"WPDesk\\Migrations\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"WPDesk\\Migrations\\Tests\\": "tests"
......@@ -27,12 +27,10 @@
"tests/stubs"
]
},
"require-dev": {
"szepeviktor/phpstan-wordpress": "^1.1",
"wpdesk/wp-code-sniffer": "^1.2",
"phpstan/phpstan": "^1.10",
"phpstan/extension-installer": "^1.3"
},
"require-dev": {
"wpdesk/wp-code-sniffer": "^1.2",
"wpdesk/phpstan-rules": "^1"
},
"scripts": {
"style:fix": "phpcbf",
"test:phpstan": "phpstan --configuration=phpstan.neon.dist --memory-limit=-1 analyze",
......@@ -44,10 +42,17 @@
"@test:phpunit"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
"config": {
"gitlab-domains": ["gitlab.wpdesk.dev"],
"allow-plugins": {
"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