From 0bdaa7f5eb5a3cb3b4272901e48d4750418e6667 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 7 Mar 2023 03:49:50 +0000 Subject: [PATCH] chore(master): release 0.20.1 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 36 +++++++++++++++++++++++++++++++++++ composer.json | 26 ++++++++++++------------- 3 files changed, 50 insertions(+), 14 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 71e95ba..978d571 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.20.0" + ".": "0.20.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..64a6ea5 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,36 @@ +# Changelog + +## [0.20.1](https://github.com/devuri/wp-env-config/compare/v0.20.0...v0.20.1) (2023-03-07) + + +### Features + +* add configMap() Display a list of constants defined by Setup. ([68f1fa5](https://github.com/devuri/wp-env-config/commit/68f1fa5b005d9fd5befd60684d5e139b848b9124)) +* Adds 'wordpress' => 'wp', ([16f5804](https://github.com/devuri/wp-env-config/commit/16f5804254d8c009cf385e294828dfc4103c8f46)) +* Adds `asset_url()` ([47d33b8](https://github.com/devuri/wp-env-config/commit/47d33b852bdf0caf8d1e40a5e8ac960b92449f49)) +* Adds `Asset::url` ([d8572c2](https://github.com/devuri/wp-env-config/commit/d8572c27f1e44acbe5a5b5f68529751e70802100)) +* Adds `env()` function ([c9ce38b](https://github.com/devuri/wp-env-config/commit/c9ce38ba7f3ad207ff6e183b0a15a4b4c491e413)) +* Adds `HttpKernel` default args ([5e4a020](https://github.com/devuri/wp-env-config/commit/5e4a020911853d0f613636b65026706cd5948675)) +* Adds `static::detect_error()` and `static::env()` ([b310e16](https://github.com/devuri/wp-env-config/commit/b310e16f680a1261e7150e15b6cc074bc14643ea)) +* adds a list of setup options ([9dea7b3](https://github.com/devuri/wp-env-config/commit/9dea7b39933c05d42bb8b79e57c45d1fdb7fdd75)) +* adds config method in class Setup ([5a5502b](https://github.com/devuri/wp-env-config/commit/5a5502b2a86712dca1434ae511ba6be310a8021d)) +* Adds docs dir ([4f89446](https://github.com/devuri/wp-env-config/commit/4f89446f0a706283c4a8c9cdcbd124c389ca637e)) +* adds Environment::secure() ([8a2f109](https://github.com/devuri/wp-env-config/commit/8a2f1099d9be5fd21466d8a674a583be050edee4)) +* adds Exception try catch block ([c71034f](https://github.com/devuri/wp-env-config/commit/c71034f3182e510f62ac2418a8d2c570f9cd20df)) +* adds getEnvironment() to get the current Environment setup ([46f65d5](https://github.com/devuri/wp-env-config/commit/46f65d550a054ad67e9c9128f66743b6615099eb)) +* Adds Kernel ([8fc96c2](https://github.com/devuri/wp-env-config/commit/8fc96c20ecd8034d0691c6a05d634732a225628b)) +* adds more error reporting for `debug` ([7c55d36](https://github.com/devuri/wp-env-config/commit/7c55d36c193deb5f3325c89f1901fee9977ea150)) +* Adds tests for `HttpKernel` ([b18b06c](https://github.com/devuri/wp-env-config/commit/b18b06c2a2cf652e6d27a91081d87d90d8ecda16)) +* can now disable and bypass the default setup process ([617938a](https://github.com/devuri/wp-env-config/commit/617938a07228cde57087be0379a9b3efe77a8588)) +* constant can be overridden in wp-config.php, add Directory $path ([e9fa1b5](https://github.com/devuri/wp-env-config/commit/e9fa1b50cc5e0ea33d5a278e6485de9ea6cce0ae)) +* defines Environment types ([36e7778](https://github.com/devuri/wp-env-config/commit/36e7778f0a1b66cf60a510102360564ef11e2b70)) +* simplify environment setup, allow bypass of default setup ([8ef04d5](https://github.com/devuri/wp-env-config/commit/8ef04d5009528209fdcbf0e33a733707f2bb88aa)) + + +### Bug Fixes + +* debug settings, adds DISALLOW_FILE_EDIT ([e908ae1](https://github.com/devuri/wp-env-config/commit/e908ae181bb1680dc47fdd8a4fbacdeb884bcaf1)) +* fix ConfigInterface ([3570754](https://github.com/devuri/wp-env-config/commit/35707547213bbc77665a9d9d94cc851d300bdcd0)) +* fix example file ([c84cd88](https://github.com/devuri/wp-env-config/commit/c84cd8852a8e31bde1f600c11521bffb2c23bf79)) +* fixes rreturn type set to ConfigInterface ([338912a](https://github.com/devuri/wp-env-config/commit/338912a62a8b730181362868a42e8db731f7e93a)) +* remove string constraint in uploads param ([fb5ae22](https://github.com/devuri/wp-env-config/commit/fb5ae220fd1c6cd0a1c81053bdb3d7368e537b4c)) diff --git a/composer.json b/composer.json index 0515529..83dfb09 100644 --- a/composer.json +++ b/composer.json @@ -48,9 +48,9 @@ "yoast/phpunit-polyfills": "^1.0" }, "autoload": { - "files": [ - "src/inc/helpers.php" - ], + "files": [ + "src/inc/helpers.php" + ], "psr-4": { "DevUri\\Config\\": "src" } @@ -61,25 +61,25 @@ } }, "scripts": { - "wpcs":"composer wpcs-lint", - "wpcs-lint":[ + "wpcs": "composer wpcs-lint", + "wpcs-lint": [ "composer install -q", "phpcs -ns src" ], - "wpcs-lint-all":[ + "wpcs-lint-all": [ "composer install -q", "phpcs -s src" ], - "wpcs-fix":[ + "wpcs-fix": [ "composer install -q", "phpcbf src" ], - "test":[ + "test": [ "composer install -q", "vendor/bin/phpunit", "composer no-dev -q" ], - "lint":[ + "lint": [ "composer install -q", "composer phpstan", "composer psalm-secure", @@ -95,16 +95,16 @@ "composer test", "composer no-dev -q" ], - "phpstan":"@php ./vendor/bin/phpstan analyse", + "phpstan": "@php ./vendor/bin/phpstan analyse", "psalm": "vendor/bin/psalm", "psalm-secure": "vendor/bin/psalm --taint-analysis", "psalm-info": "vendor/bin/psalm --show-info=true", "psalm-fix-return": "vendor/bin/psalm --alter --issues=MissingReturnType", "psalm-autofix": [ - "composer install -q", - "vendor/bin/psalm --alter --issues=InvalidNullableReturnType,MismatchingDocblockReturnType,InvalidReturnType,InvalidFalsableReturnType,LessSpecificReturnType,MissingParamType" + "composer install -q", + "vendor/bin/psalm --alter --issues=InvalidNullableReturnType,MismatchingDocblockReturnType,InvalidReturnType,InvalidFalsableReturnType,LessSpecificReturnType,MissingParamType" ], - "codefix":[ + "codefix": [ "composer php-cs-fixer", "composer no-dev -q" ],