Paulo Arromba
0223b0d156
Updated composer.lock ( https://github.com/woocommerce/woocommerce-blocks/pull/11213 )
2023-10-12 02:37:14 -07:00
dependabot[bot]
fa7d66e248
Bump automattic/jetpack-autoloader from 2.11.22 to 2.12.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/11066 )
...
Bumps [automattic/jetpack-autoloader](https://github.com/Automattic/jetpack-autoloader ) from 2.11.22 to 2.12.0.
- [Release notes](https://github.com/Automattic/jetpack-autoloader/releases )
- [Changelog](https://github.com/Automattic/jetpack-autoloader/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/Automattic/jetpack-autoloader/compare/v2.11.22...v2.12.0 )
---
updated-dependencies:
- dependency-name: automattic/jetpack-autoloader
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 06:19:05 -07:00
Niels Lange
60e5943c53
Update the sidebar notice we show for incompatible extensions ( https://github.com/woocommerce/woocommerce-blocks/pull/10877 )
...
* Adkust text of sidebar notice
* Adjust text of sidebar notice
* Rename folder to “incompatible-extension-notice”
* Rename main component and interface
* Rename constants
* Add new files for splitting logic
* WIP: Semi-hardcoded solution
* WIP: Add new data store
* Fetch incompatible extensions dynamically
* Fix broken dismiss notice functionality
* Minor refactor
* Remove data store
* Remove console.log
* Remove obsolete data store fragment
* Update package-lock.json and composer.lock
* Change wording from “might be” to “may be”
* Show single incompatible extension within notice instead of as list
* Fix *.md linting error
2023-09-29 17:39:57 +07:00
dependabot[bot]
a0e246eb52
Bump phpunit/php-code-coverage from 9.2.27 to 9.2.29 ( https://github.com/woocommerce/woocommerce-blocks/pull/11044 )
...
Bumps [phpunit/php-code-coverage](https://github.com/sebastianbergmann/php-code-coverage ) from 9.2.27 to 9.2.29.
- [Changelog](https://github.com/sebastianbergmann/php-code-coverage/blob/9.2.29/ChangeLog-9.2.md )
- [Commits](https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.27...9.2.29 )
---
updated-dependencies:
- dependency-name: phpunit/php-code-coverage
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-28 20:21:18 -07:00
dependabot[bot]
f3ce00a709
Bump automattic/jetpack-config from 1.15.3 to 1.15.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/11047 )
...
Bumps [automattic/jetpack-config](https://github.com/Automattic/jetpack-config ) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/Automattic/jetpack-config/releases )
- [Changelog](https://github.com/Automattic/jetpack-config/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/Automattic/jetpack-config/compare/v1.15.3...v1.15.4 )
---
updated-dependencies:
- dependency-name: automattic/jetpack-config
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-28 20:10:43 -07:00
Paulo Arromba
615d4455d8
Updated composer.lock ( https://github.com/woocommerce/woocommerce-blocks/pull/10936 )
2023-09-14 14:51:23 +01:00
Patricia Hillebrandt
deb71f97fa
Store Customization > Implement Client for requests to the GPT API ( https://github.com/woocommerce/woocommerce-blocks/pull/10846 )
...
* Add the Jetpack Connection Package as a dependency for WooCommerce Blocks.
* Introduce the new Configuration Class for registering and enabling the Jetpack connection for sites and users.
* Introduce the Connection class for making requests to the GPT AI API.
* Update the get_jwt_token method.
* Update the error messages for the get_jwt_token method.
* Update the register_site method.
* Update the Configuration class structure and add Dependency Injection.
* Update structure for the Connection Class.
* Update the return type for the get_jwt_token method.
* Update method visibility for get_site_id
* Update the name and params for methods within the Connection Class
* Add tests for the Connecction class.
* Update the Constructor for the Configuration class.
2023-09-12 08:41:43 +00:00
dependabot[bot]
f72fe33e6d
Bump mockery/mockery from 1.6.5 to 1.6.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/10591 )
...
Bumps [mockery/mockery](https://github.com/mockery/mockery ) from 1.6.5 to 1.6.6.
- [Release notes](https://github.com/mockery/mockery/releases )
- [Changelog](https://github.com/mockery/mockery/blob/1.6.x/CHANGELOG.md )
- [Commits](https://github.com/mockery/mockery/compare/1.6.5...1.6.6 )
---
updated-dependencies:
- dependency-name: mockery/mockery
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Lara <allexandrelara@gmail.com>
2023-09-04 15:23:36 -03:00
Alexandre Lara
705de55bb6
Update composer.lock and package-lock.json files ( https://github.com/woocommerce/woocommerce-blocks/pull/10710 )
2023-08-23 20:38:02 -03:00
dependabot[bot]
5a84f82425
Bump mockery/mockery from 1.6.4 to 1.6.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/10495 )
...
Bumps [mockery/mockery](https://github.com/mockery/mockery ) from 1.6.4 to 1.6.5.
- [Release notes](https://github.com/mockery/mockery/releases )
- [Changelog](https://github.com/mockery/mockery/blob/1.6.x/CHANGELOG.md )
- [Commits](https://github.com/mockery/mockery/compare/1.6.4...1.6.5 )
---
updated-dependencies:
- dependency-name: mockery/mockery
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-08 14:12:39 +02:00
dependabot[bot]
881eefefc0
Bump phpdocumentor/reflection from 3.0.0 to 3.0.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/10416 )
...
Bumps [phpdocumentor/reflection](https://github.com/phpDocumentor/Reflection ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/phpDocumentor/Reflection/releases )
- [Commits](https://github.com/phpDocumentor/Reflection/compare/3.0.0...3.0.1 )
---
updated-dependencies:
- dependency-name: phpdocumentor/reflection
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 09:50:53 +02:00
dependabot[bot]
f218cfb51e
Bump phpunit/phpunit from 8.5.33 to 9.2.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/9188 )
...
* Bump phpunit/phpunit from 8.5.33 to 9.2.6
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit ) from 8.5.33 to 9.2.6.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases )
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.2.6/ChangeLog-9.2.md )
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/8.5.33...9.2.6 )
---
updated-dependencies:
- dependency-name: phpunit/phpunit
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update dependencies to avoid conflicts in php8
* Fix test due to array order of values
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
2023-07-28 16:19:45 +01:00
dependabot[bot]
5ca496c20b
Bump yoast/phpunit-polyfills from 1.0.5 to 2.0.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/9795 )
...
* Bump yoast/phpunit-polyfills from 1.0.5 to 2.0.0
Bumps [yoast/phpunit-polyfills](https://github.com/Yoast/PHPUnit-Polyfills ) from 1.0.5 to 2.0.0.
- [Release notes](https://github.com/Yoast/PHPUnit-Polyfills/releases )
- [Changelog](https://github.com/Yoast/PHPUnit-Polyfills/blob/2.x/CHANGELOG.md )
- [Commits](https://github.com/Yoast/PHPUnit-Polyfills/compare/1.0.5...2.0.0 )
---
updated-dependencies:
- dependency-name: yoast/phpunit-polyfills
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Remove expect exception usage
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
2023-07-28 12:53:40 +01:00
dependabot[bot]
c12f7bda70
Bump mockery/mockery from 1.6.2 to 1.6.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/10335 )
...
Bumps [mockery/mockery](https://github.com/mockery/mockery ) from 1.6.2 to 1.6.4.
- [Release notes](https://github.com/mockery/mockery/releases )
- [Changelog](https://github.com/mockery/mockery/blob/1.6.x/CHANGELOG.md )
- [Commits](https://github.com/mockery/mockery/compare/1.6.2...1.6.4 )
---
updated-dependencies:
- dependency-name: mockery/mockery
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 13:05:22 +01:00
Thomas Roberts
074a502612
Regenerate composer.lock after release
2023-07-07 13:52:26 +01:00
dependabot[bot]
4c012300c1
Bump mockery/mockery from 1.6.1 to 1.6.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/9796 )
...
Bumps [mockery/mockery](https://github.com/mockery/mockery ) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/mockery/mockery/releases )
- [Changelog](https://github.com/mockery/mockery/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mockery/mockery/compare/1.6.1...1.6.2 )
---
updated-dependencies:
- dependency-name: mockery/mockery
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-14 15:05:10 +01:00
dependabot[bot]
525bd58c74
Bump mockery/mockery from 1.5.1 to 1.6.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/9728 )
...
Bumps [mockery/mockery](https://github.com/mockery/mockery ) from 1.5.1 to 1.6.1.
- [Release notes](https://github.com/mockery/mockery/releases )
- [Changelog](https://github.com/mockery/mockery/blob/1.6.1/CHANGELOG.md )
- [Commits](https://github.com/mockery/mockery/compare/1.5.1...1.6.1 )
---
updated-dependencies:
- dependency-name: mockery/mockery
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 10:27:55 +02:00
dependabot[bot]
3d853d77d5
Bump automattic/jetpack-autoloader from 2.11.19 to 2.11.21 ( https://github.com/woocommerce/woocommerce-blocks/pull/9639 )
...
Bumps [automattic/jetpack-autoloader](https://github.com/Automattic/jetpack-autoloader ) from 2.11.19 to 2.11.21.
- [Release notes](https://github.com/Automattic/jetpack-autoloader/releases )
- [Changelog](https://github.com/Automattic/jetpack-autoloader/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/Automattic/jetpack-autoloader/compare/v2.11.19...v2.11.21 )
---
updated-dependencies:
- dependency-name: automattic/jetpack-autoloader
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 16:24:44 +02:00
dependabot[bot]
2e4557bdb7
Bump automattic/jetpack-autoloader from 2.11.18 to 2.11.19 ( https://github.com/woocommerce/woocommerce-blocks/pull/9305 )
...
Bumps [automattic/jetpack-autoloader](https://github.com/Automattic/jetpack-autoloader ) from 2.11.18 to 2.11.19.
- [Release notes](https://github.com/Automattic/jetpack-autoloader/releases )
- [Changelog](https://github.com/Automattic/jetpack-autoloader/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/Automattic/jetpack-autoloader/compare/v2.11.18...v2.11.19 )
---
updated-dependencies:
- dependency-name: automattic/jetpack-autoloader
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Lara <allexandrelara@gmail.com>
2023-05-03 17:21:04 -03:00
Paulo Arromba
7c25db1c80
Add PHP 8.1/8.2 to unit testing matrix ( https://github.com/woocommerce/woocommerce-blocks/pull/8757 )
...
* Added PHP 8.1 to unit testing matrix
* Refactor unit testing to match Gutenberg repo 🤞
* Removed Gutenberg reference from debug information
* Updated image running phpunit binary
* Reverted image running phpunit binary
* Remove composer platform override
* Bump @wordpress/env and include phpunit
* Update phpunit and tests
* Change prefix
* Try admin context when install wc
* try wc install
* adjust phpunit config file
* Updated phpunit.xml.dist, composer.json and package.json
* Added PHP 8.1 to unit testing matrix
* Refactor unit testing to match Gutenberg repo 🤞
* Removed Gutenberg reference from debug information
* Updated image running phpunit binary
* Reverted image running phpunit binary
* Remove composer platform override
* Bump @wordpress/env and include phpunit
* Update phpunit and tests
* Change prefix
* Try admin context when install wc
* try wc install
* adjust phpunit config file
* Updated phpunit.xml.dist, composer.json and package.json
* Revert install changes
* updated npm packages
* updated composer lock
* updated check assets flow
* Updated check assets flow. Yaml file auto formatted.
* Updated check assets flow.
* Attempt at fixing E2E
* Reverted setup permissions step
* Add logging information to E2E
* Reverted E2E test flow
* test playwright perms fix
* test e2e perms fix
* test e2e perms fix
* test e2e perms fix
* test e2e perms fix
* languages update & debug
* languages update & debug
* revert
* force "@wordpress/env": "^4.9.0" on E2E
* update package lock
* update package lock
---------
Co-authored-by: Mike Jolley <mike.jolley@me.com>
Co-authored-by: Niels Lange <info@nielslange.de>
2023-04-21 12:07:37 +01:00
dependabot[bot]
fbfc3a8d87
Bump wp-phpunit/wp-phpunit from 6.1.1 to 6.2.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/8935 )
...
Bumps [wp-phpunit/wp-phpunit](https://github.com/wp-phpunit/wp-phpunit ) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/wp-phpunit/wp-phpunit/releases )
- [Commits](https://github.com/wp-phpunit/wp-phpunit/compare/6.1.1...6.2.0 )
---
updated-dependencies:
- dependency-name: wp-phpunit/wp-phpunit
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-18 15:28:38 +02:00
dependabot[bot]
060e0071f1
Bump yoast/phpunit-polyfills from 1.0.4 to 1.0.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/8936 )
...
Bumps [yoast/phpunit-polyfills](https://github.com/Yoast/PHPUnit-Polyfills ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/Yoast/PHPUnit-Polyfills/releases )
- [Changelog](https://github.com/Yoast/PHPUnit-Polyfills/blob/2.x/CHANGELOG.md )
- [Commits](https://github.com/Yoast/PHPUnit-Polyfills/compare/1.0.4...1.0.5 )
---
updated-dependencies:
- dependency-name: yoast/phpunit-polyfills
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-18 14:17:51 +02:00
dependabot[bot]
b5db6e3ed1
Bump automattic/jetpack-autoloader from 2.11.16 to 2.11.18 ( https://github.com/woocommerce/woocommerce-blocks/pull/8934 )
...
Bumps [automattic/jetpack-autoloader](https://github.com/Automattic/jetpack-autoloader ) from 2.11.16 to 2.11.18.
- [Release notes](https://github.com/Automattic/jetpack-autoloader/releases )
- [Changelog](https://github.com/Automattic/jetpack-autoloader/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/Automattic/jetpack-autoloader/compare/v2.11.16...v2.11.18 )
---
updated-dependencies:
- dependency-name: automattic/jetpack-autoloader
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-18 12:31:15 +02:00
dependabot[bot]
0c4ad5ec13
Bump automattic/jetpack-autoloader from 2.11.14 to 2.11.16 ( https://github.com/woocommerce/woocommerce-blocks/pull/8534 )
...
Bumps [automattic/jetpack-autoloader](https://github.com/Automattic/jetpack-autoloader ) from 2.11.14 to 2.11.16.
- [Release notes](https://github.com/Automattic/jetpack-autoloader/releases )
- [Changelog](https://github.com/Automattic/jetpack-autoloader/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/Automattic/jetpack-autoloader/compare/v2.11.14...v2.11.16 )
---
updated-dependencies:
- dependency-name: automattic/jetpack-autoloader
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Manish Menaria <the.manish.menaria@gmail.com>
2023-03-02 13:46:51 +05:30
Patricia Hillebrandt
721b52a939
Bump woocommerce/woocommerce-sniffs from 0.1.0 to 0.1.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/8031 )
...
* Update WooCommerce Sniffs to version 0.1.3
* Add since versioning to all hooks to comply with the updated standards.
* Add since tags for hooks.
* Add the since tags to additional actions and filters
* Update build hook documentation via
> @woocommerce/block-library@9.2.0-dev prebuild:docs /Users/patriciahillebrandt/Woo/plugins/woocommerce-blocks
> rimraf docs/extensibility/actions.md & rimraf docs/extensibility/filters.md
> @woocommerce/block-library@9.2.0-dev build:docs /Users/patriciahillebrandt/Woo/plugins/woocommerce-blocks
> ./vendor/bin/wp-hooks-generator --input=src --output=bin/hook-docs/data && node ./bin/hook-docs
Scanning for files...
Found 212 files. Parsing hooks...
Done
Let's create some docs!
Generating Action Docs...
Creating file docs/third-party-developers/extensibility/hooks/actions.md...
Done!
Generating Filter Docs...
Creating file docs/third-party-developers/extensibility/hooks/filters.md...
Done!
> @woocommerce/block-library@9.2.0-dev postbuild:docs /Users/patriciahillebrandt/Woo/plugins/woocommerce-blocks
> ./bin/add-doc-footer.sh
* Add since tag for additional hooks.
* build hook documentation
* Update QuantityLimits filter_value docblock.
* Add the @since tags to recently added hooks.
* Add tag for the woocommerce_loop_add_to_cart_args filter.
* Update hooks documentation
---------
Co-authored-by: Niels Lange <info@nielslange.de>
2023-02-24 13:08:34 +01:00
dependabot[bot]
eebb3e41ea
Bump automattic/jetpack-autoloader from 2.11.12 to 2.11.14 ( https://github.com/woocommerce/woocommerce-blocks/pull/8036 )
...
Bumps [automattic/jetpack-autoloader](https://github.com/Automattic/jetpack-autoloader ) from 2.11.12 to 2.11.14.
- [Release notes](https://github.com/Automattic/jetpack-autoloader/releases )
- [Changelog](https://github.com/Automattic/jetpack-autoloader/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/Automattic/jetpack-autoloader/compare/v2.11.12...v2.11.14 )
---
updated-dependencies:
- dependency-name: automattic/jetpack-autoloader
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Lara <allexandrelara@gmail.com>
2023-01-04 17:52:55 -03:00
dependabot[bot]
533d7cb33d
Bump yoast/phpunit-polyfills from 1.0.3 to 1.0.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/7766 )
...
Bumps [yoast/phpunit-polyfills](https://github.com/Yoast/PHPUnit-Polyfills ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/Yoast/PHPUnit-Polyfills/releases )
- [Changelog](https://github.com/Yoast/PHPUnit-Polyfills/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/Yoast/PHPUnit-Polyfills/compare/1.0.3...1.0.4 )
---
updated-dependencies:
- dependency-name: yoast/phpunit-polyfills
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
2022-12-12 16:30:39 +00:00
dependabot[bot]
c7329cc98b
Bump automattic/jetpack-autoloader from 2.11.11 to 2.11.12 ( https://github.com/woocommerce/woocommerce-blocks/pull/7768 )
...
Bumps [automattic/jetpack-autoloader](https://github.com/Automattic/jetpack-autoloader ) from 2.11.11 to 2.11.12.
- [Release notes](https://github.com/Automattic/jetpack-autoloader/releases )
- [Changelog](https://github.com/Automattic/jetpack-autoloader/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/Automattic/jetpack-autoloader/compare/v2.11.11...v2.11.12 )
---
updated-dependencies:
- dependency-name: automattic/jetpack-autoloader
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
2022-12-12 16:17:53 +00:00
dependabot[bot]
9f3992af54
Bump wp-phpunit/wp-phpunit from 6.1.0 to 6.1.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/7767 )
...
Bumps [wp-phpunit/wp-phpunit](https://github.com/wp-phpunit/wp-phpunit ) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/wp-phpunit/wp-phpunit/releases )
- [Commits](https://github.com/wp-phpunit/wp-phpunit/compare/6.1.0...6.1.1 )
---
updated-dependencies:
- dependency-name: wp-phpunit/wp-phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 15:37:50 +00:00
Tarun Vijwani
4f75d12188
Add woocommerce_blocks_loaded hook information to actions doc ( https://github.com/woocommerce/woocommerce-blocks/pull/7600 )
...
* Add woocommerce_blocks_loaded hook information to actions doc
* add docs to woocommerce_blocks_loaded hook inline
* fix docs
* Switch to updated wp-hooks/generator package
* Prevent syntax error in doc script from storeapi.php
* Remove footer from internal docs and examples
* Doc footer script should ignore examples and internal developer docs
Co-authored-by: Nadir Seghir <nadir.seghir@gmail.com>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
2022-11-10 09:52:04 +01:00
Paulo Arromba
f857afae0f
Add PHP8 Unit Testing ( https://github.com/woocommerce/woocommerce-blocks/pull/7528 )
...
* fixed method sig
* Updated to @wordpress/env@5.5.0 and set default PHP 7.4 for wp-env.
* updated Coding Standards flow to use PHP 8.0
* Added comment to E2E flows explaining what PHP version is used
* Revert "Updated to @wordpress/env@5.5.0 and set default PHP 7.4 for wp-env."
This reverts commit 696cd7f42edc9d9726b777cf4f83a501a6d63936.
* Added comment to Unit test flows explaining what PHP version is used.
Specified PHP version on .wp-env.json
* Fixed composer-lock.json version.
* Updated tests to run on PHP Unit 9.2.6
* Updated tests to run on PHP 8
* Reverted test, mismatched results between local and pipeline
* Removed Todo
* Updated platform overrides
* Update Migrationb tests with Mockery for PHP8 compat
* try at PHP unit flow matrix
* Fix blocks.ini invalid config
* Temp disable E2E
* Downgraded woocommerce/woocommerce-sniffs as it introduced new sniffs we should be handling on a different PR
* re-enable E2E tests
* blocks.ini fix
* revert blocks.ini fix
* Update @wordpress/env
* remove .htaccess mapping
* Fix permissions for tests
* Debug permissions
* Attempt at perm fix
* Attempt at perm fix
* Downgraded @wordpress/env
* Another attempt at upgrade @wordpress/env
* Attempt at cleaning wp-env before run
* Attempt at destroying wp-env before run. Disabled E2E.
* Attempt at destroying wp-env before run.
* debug wp-env data
* attempt at deleting wp-env data (destroy won't work due to prompt)
* re-enable E2E
* Fix deprecation warnings
* Cleaned wp-env data for E2E
* Fix perms for E2E
* Updated RateLimitsTests
* debug
* Force 7.4 for wp-env
* Run sh outside of npm
* Reverted E2E flow
* reverted wp-env-config.sh debug test
* reverted .wp-env.json phpVersion force
* Update tests/php/StoreApi/Utilities/ProductQueryFilters.php
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Update tests/php/StoreApi/Routes/CartExtensions.php
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Update tests/php/StoreApi/Routes/CartItems.php
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Update tests/php/StoreApi/Routes/Products.php
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Update tests/php/StoreApi/Routes/ProductCollectionData.php
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Update tests/php/StoreApi/Routes/Batch.php
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Update tests/php/StoreApi/Routes/Checkout.php
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Update tests/php/StoreApi/Routes/CartCoupons.php
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Update tests/php/StoreApi/Routes/ProductAttributes.php
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Update tests/php/StoreApi/Routes/Cart.php
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* downgraded @wordpress/env to v4
* Reverted back to reflection class for pivate attribs manipulation on tests
* reverted JS unit testing job name
* Update tests/php/StoreApi/Formatters/TestMoneyFormatter.php
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Typo fix
Co-authored-by: Mike Jolley <mike.jolley@me.com>
2022-11-09 15:28:08 +00:00
dependabot[bot]
9a2a4f5c9f
Bump wp-phpunit/wp-phpunit from 6.0.3 to 6.1.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/7602 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 15:23:14 +07:00
dependabot[bot]
2a3a39bdcd
Bump automattic/jetpack-autoloader from 2.11.10 to 2.11.11 ( https://github.com/woocommerce/woocommerce-blocks/pull/7549 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 09:19:36 +07:00
dependabot[bot]
1b54bf8a13
Bump wp-phpunit/wp-phpunit from 6.0.2 to 6.0.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/7471 )
...
Bumps [wp-phpunit/wp-phpunit](https://github.com/wp-phpunit/wp-phpunit ) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/wp-phpunit/wp-phpunit/releases )
- [Commits](https://github.com/wp-phpunit/wp-phpunit/compare/6.0.2...6.0.3 )
---
updated-dependencies:
- dependency-name: wp-phpunit/wp-phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Dudzic <daniel.dudzic@automattic.com>
2022-10-28 13:34:35 +02:00
dependabot[bot]
9229f441a1
Bump automattic/jetpack-autoloader from 2.11.9 to 2.11.10 ( https://github.com/woocommerce/woocommerce-blocks/pull/7358 )
...
Bumps [automattic/jetpack-autoloader](https://github.com/Automattic/jetpack-autoloader ) from 2.11.9 to 2.11.10.
- [Release notes](https://github.com/Automattic/jetpack-autoloader/releases )
- [Changelog](https://github.com/Automattic/jetpack-autoloader/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/Automattic/jetpack-autoloader/compare/v2.11.9...v2.11.10 )
---
updated-dependencies:
- dependency-name: automattic/jetpack-autoloader
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
Co-authored-by: Alba Rincón <albarin@users.noreply.github.com>
2022-10-13 11:01:36 +02:00
Mike Jolley
6f93c5cf1b
Store API - Cart JWT tokens/session handling ( https://github.com/woocommerce/woocommerce-blocks/pull/5953 )
...
* Re-apply token support
* Updated nonce headers
* Updated package-lock.json
* test commit to debug failing git hooks
* Revert "test commit to debug failing git hooks"
This reverts commit e64086b0a7aede154705be09c7b3433b08bc1e34.
* JsonWebToken utility class for generating and validating HS256 JWT tokens. Removed third-party JWT library.
* Add ext-hash to composer (required by hash_hmac())
* Removed unnecessary method param.
* Tests for retrieving cart contents via Cart-Token
* Removed token tests ( we can't properly test cart token functionality until we refactor the way it intercepts calls to replace the session object )
* Abstracted payload from JsonWebToken class. We can now use it to encode custom payloads and reuse them wherever we want.
* Fixed missing check for token expiration in the payload.
* MD lint error and config fix
* Update composer.lock
* Fixed bug using the wrong nonce header.
* Refactor to properly save session data based on cart token.
* Refactored DB queries to properly use prepared statement
* Removed underscore prefix for class attributes
* Fixed spaces instead of tabs indenting composer.json. Cleaned up .editorconfig
* Cleaned up borked .md comments.
* Comment for WP_SETUP_CONFIG check.
* Reverted SQL prepared statement for including table names.
* Used hash_equals() for signature comparison. Renamed some wrongly named properties.
* Updated composer.lock
* Reverted some accidentally removed lines on some documentation files.
* Reverted accidentally removed line on docs/internal-developers/testing/releases/404.md
* Changed param type from mixed to
Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
2022-10-03 11:49:32 +01:00
dependabot[bot]
12c668d51c
Bump mockery/mockery from 1.5.0 to 1.5.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/7124 )
...
Bumps [mockery/mockery](https://github.com/mockery/mockery ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/mockery/mockery/releases )
- [Changelog](https://github.com/mockery/mockery/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mockery/mockery/compare/1.5.0...1.5.1 )
---
updated-dependencies:
- dependency-name: mockery/mockery
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 13:26:47 -04:00
dependabot[bot]
575f4a4903
Bump wp-phpunit/wp-phpunit from 6.0.1 to 6.0.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/7067 )
...
Bumps [wp-phpunit/wp-phpunit](https://github.com/wp-phpunit/wp-phpunit ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/wp-phpunit/wp-phpunit/releases )
- [Commits](https://github.com/wp-phpunit/wp-phpunit/compare/6.0.1...6.0.2 )
---
updated-dependencies:
- dependency-name: wp-phpunit/wp-phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 11:28:46 +02:00
dependabot[bot]
58838d025f
Bump automattic/jetpack-autoloader from 2.11.6 to 2.11.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/6810 )
...
Bumps [automattic/jetpack-autoloader](https://github.com/Automattic/jetpack-autoloader ) from 2.11.6 to 2.11.7.
- [Release notes](https://github.com/Automattic/jetpack-autoloader/releases )
- [Changelog](https://github.com/Automattic/jetpack-autoloader/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/Automattic/jetpack-autoloader/compare/v2.11.6...v2.11.7 )
---
updated-dependencies:
- dependency-name: automattic/jetpack-autoloader
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 12:05:06 +02:00
dependabot[bot]
1466367e66
Bump johnbillion/wp-hooks-generator from 0.7.0 to 0.9.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/6705 )
...
Bumps [johnbillion/wp-hooks-generator](https://github.com/johnbillion/wp-hooks-generator ) from 0.7.0 to 0.9.0.
- [Release notes](https://github.com/johnbillion/wp-hooks-generator/releases )
- [Commits](https://github.com/johnbillion/wp-hooks-generator/compare/0.7.0...0.9.0 )
---
updated-dependencies:
- dependency-name: johnbillion/wp-hooks-generator
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
2022-08-03 12:00:04 +02:00
dependabot[bot]
dcccd33aa3
Bump yoast/phpunit-polyfills from 1.0.2 to 1.0.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/6704 )
...
Bumps [yoast/phpunit-polyfills](https://github.com/Yoast/PHPUnit-Polyfills ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/Yoast/PHPUnit-Polyfills/releases )
- [Changelog](https://github.com/Yoast/PHPUnit-Polyfills/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/Yoast/PHPUnit-Polyfills/compare/1.0.2...1.0.3 )
---
updated-dependencies:
- dependency-name: yoast/phpunit-polyfills
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-03 11:12:38 +02:00
dependabot[bot]
52282e51cd
Bump mockery/mockery from 1.4.4 to 1.5.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/6703 )
...
Bumps [mockery/mockery](https://github.com/mockery/mockery ) from 1.4.4 to 1.5.0.
- [Release notes](https://github.com/mockery/mockery/releases )
- [Changelog](https://github.com/mockery/mockery/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mockery/mockery/compare/1.4.4...1.5.0 )
---
updated-dependencies:
- dependency-name: mockery/mockery
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alba Rincón <albarin@users.noreply.github.com>
2022-07-28 15:34:17 +02:00
dependabot[bot]
088907dec2
Bump automattic/jetpack-autoloader from 2.10.7 to 2.11.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/6702 )
...
Bumps [automattic/jetpack-autoloader](https://github.com/Automattic/jetpack-autoloader ) from 2.10.7 to 2.11.6.
- [Release notes](https://github.com/Automattic/jetpack-autoloader/releases )
- [Changelog](https://github.com/Automattic/jetpack-autoloader/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/Automattic/jetpack-autoloader/compare/v2.10.7...v2.11.6 )
---
updated-dependencies:
- dependency-name: automattic/jetpack-autoloader
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-26 15:14:18 +02:00
dependabot[bot]
caedfa278a
Bump wp-phpunit/wp-phpunit from 5.8.1 to 6.0.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/6701 )
...
Bumps [wp-phpunit/wp-phpunit](https://github.com/wp-phpunit/wp-phpunit ) from 5.8.1 to 6.0.1.
- [Release notes](https://github.com/wp-phpunit/wp-phpunit/releases )
- [Commits](https://github.com/wp-phpunit/wp-phpunit/compare/5.8.1...6.0.1 )
---
updated-dependencies:
- dependency-name: wp-phpunit/wp-phpunit
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-26 14:40:13 +02:00
Mike Jolley
7cb46eb092
Prevent duplicate hooks in hook docs ( https://github.com/woocommerce/woocommerce-blocks/pull/5472 )
...
* Update wp-hooks-generator
* Update inline hook documentation into consistent format
1. Hook docs for the same hook should be identical
2. Prefix with `Hook: ` so the case of the hook is not changed.
3. Use `@see` instead of `@hooked`. Hooked is not a standard PHP Doc tag.
cc @Aljullu
* Update hook doc script to support duplicate hooks across files
* Remove unused variables in function
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2022-01-04 14:12:08 +00:00
Seghir Nadir
ea1e17fc81
Fix sanitization callback ( https://github.com/woocommerce/woocommerce-blocks/pull/5060 )
...
* Fix sanitization callback
* Add test case to confirm sanitization callbacks work for nested properties
Co-authored-by: Mike Jolley <mike.jolley@me.com>
2021-11-05 15:39:08 +00:00
Mike Jolley
cf7d5d8d53
Add hook documentation and build script ( https://github.com/woocommerce/woocommerce-blocks/pull/4927 )
...
* Script to generate hook docs
* Inline docs for action and filter hooks
* __experimental_woocommerce_blocks_checkout_order_processed example
* Update doc generation
* Document exceptions
* examples
* Fix a typo
* Remove unused dependency
* add platform override for phpunit tests
2021-10-13 10:45:59 +01:00
Mike Jolley
1d79bb6365
PHPUnit Tests running on wp-env ( https://github.com/woocommerce/woocommerce-blocks/pull/4567 )
...
* Tidy up bootstap so it uses autoloaders and works with the known plugin paths
* eslint ignore woocommerce bin
* Use WC from bin in wp-env
* Git ignore woocommerce in bin
* Remove reliance on core framework across phpunit tests
* Simplify bootstrap - since test framework is no longer required, there is no need to pull in woo from github
* Remove unused configs
* Update CI
* Implement PHPunit Polyfill
* Abstract the test case
* Update lock
* remove chown
* experiment: try sudo
* move phpversion to first run
* Remove 7.0 tests :(
* test plugin override for 5.5 test
* Use dev version
* Fix formatting
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2021-08-20 14:58:32 +01:00
Mike Jolley
b941b0c332
Update Dependencies to Latest Versions supporting React 16x ( https://github.com/woocommerce/woocommerce-blocks/pull/4532 )
...
* Update storybook to 6.3.6
* @storybook/addon-knobs
* Remove need for wordpress-compose imports
This functionality exists in WP 5.5 so we don't need to import the package any more.
* Update to latest non 17x packages
* Composer update
* Fix for @babel/plugin-proposal-nullish-coalescing-operator and spinner style
* onSelect was called before init
* Add back env
* Update locks
* Revert browserlist config increase (ie11 support dropped needs separate discussion)
* update locks
* SVG can come from the external
* Import from components package where possible (5.5 has Gutenberg 9.2.0) and revert component package version change
* Revert component imports. Import from wordpress-components in the frontend context. This removes `wp-components` dependency from all -frontend asset files.
2021-08-05 10:26:00 +01:00
Mike Jolley
a4cd850384
Deprecate the woocommerce_shared_settings hook ( https://github.com/woocommerce/woocommerce-blocks/pull/4092 )
...
* Deprecate the filter
* Prevent test from failing due to notices
2021-04-26 10:36:50 +01:00