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
Mike Jolley
fd03b79995
StoreAPI: Rename namespace to remove `\Blocks` ( https://github.com/woocommerce/woocommerce-blocks/pull/5982 )
...
* Composer config
* Update namespace in deprecated.php
* Bulk update namespace
* Revert rename in deprecated class
* bw compat
* Store API: Add dedicated container and make Store API code self-contained (https://github.com/woocommerce/woocommerce-blocks/pull/5986 )
* Move ArrayUtils to StoreApi
* Move PaymentContext/PaymentResult
* Move create account functionality to checkout endpoint. Update tests.
* Move get_routes_from_namespace to blocks
* Move RestApi logic within StoreApi namespace/directory
* StoreAPI Container
* Update functions
* Update extend docs
* Run Doc build script
* Missing container calls for 3rd party extensions
* Fix doc toc
2022-03-04 13:28:37 +00:00
Mike Jolley
49b65c7bcf
Refactor ExtendRestApi as ExtendSchema and expose `register_endpoint_data` as a public function ( https://github.com/woocommerce/woocommerce-blocks/pull/5941 )
...
* Create Extend class under schema namespace
* ExtendRestApi -> ExtendSchema
* ExtendSchema helper functions
* Move tests
* Fix tests
* Fix docs
* Typos
* Remove invalid param
* phpcs formatting
* Update docs/contributors/documentation-guidelines.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Update docs/extensibility/filtering-payment-methods.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Update docs/extensibility/README.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Update docs/extensibility/available-slot-fills.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Asserttrue comment
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
2022-03-01 10:34:05 +00:00
Mike Jolley
a58b2d0ac4
Store API: Introduce API Versioning System ( https://github.com/woocommerce/woocommerce-blocks/pull/5911 )
...
* Fix missing dependency
* Min version exceeds required 5.6
* Move exceptions
* Move schemas under V1 namespace
* Move routes to v1
* Move RouteException
* Route versioning
* Update route and schema identifiers/init
* Rework route init to support multiple versions and multiple schema
* Tests for cart routes
* Cart coupons tests
* Batch
* extensions
* Update docs
* Update remaining tests
* woocommerce_store_api_route_version was unused
* Revert unrelated change
* Fix phpcs
* Update src/StoreApi/docs/guiding-principles.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Update src/StoreApi/docs/cart-items.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Update src/StoreApi/RoutesController.php
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Note about v1 unversioned endpoints
* Remove unused get_route_version
* 409 comment in tests
* Remove copy pasted comments
* Update all usage to v1
* Correct namespace
* More v1 namespaces
* More missing v1
* fix mocks
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
2022-02-23 12:00:45 +00:00
Tom Cafferkey
445f8175a1
Throw an exception if there is no selected shipping method on an item… ( https://github.com/woocommerce/woocommerce-blocks/pull/4784 )
...
* Throw an exception if there is no selected shipping method on an item that needs shipping
* Update src/StoreApi/Utilities/OrderController.php for ensure error message ends with a period.
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2021-09-21 10:31:52 +01:00