Skip to content

Commit

Permalink
Sync: Updated HPOS Orders Module to allow shop_subscription type (#39…
Browse files Browse the repository at this point in the history
…022)

* Added shop_subscription to order types

* Changelog

* Version bump

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10557390325

Upstream-Ref: Automattic/jetpack@cbe7799
  • Loading branch information
darssen authored and matticbot committed Aug 26, 2024
1 parent d46059b commit 11af6ce
Show file tree
Hide file tree
Showing 9 changed files with 107 additions and 99 deletions.
66 changes: 33 additions & 33 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/automattic/jetpack-blaze/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"automattic/jetpack-plans": "^0.4.8",
"automattic/jetpack-redirect": "^2.0.3",
"automattic/jetpack-status": "^3.3.4",
"automattic/jetpack-sync": "^3.7.1"
"automattic/jetpack-sync": "^3.8.0-alpha"
},
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
Expand Down
8 changes: 8 additions & 0 deletions vendor/automattic/jetpack-sync/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.8.0-alpha] - unreleased

This is an alpha version! The changes listed here are not final.

### Changed
- Sync: Updated allowed order types in HPOS Module

## [3.7.1] - 2024-08-23
### Changed
- Updated package dependencies. [#39004]
Expand Down Expand Up @@ -1247,6 +1254,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Packages: Move sync to a classmapped package

[3.8.0-alpha]: https://github.com/Automattic/jetpack-sync/compare/v3.7.1...v3.8.0-alpha
[3.7.1]: https://github.com/Automattic/jetpack-sync/compare/v3.7.0...v3.7.1
[3.7.0]: https://github.com/Automattic/jetpack-sync/compare/v3.6.0...v3.7.0
[3.6.0]: https://github.com/Automattic/jetpack-sync/compare/v3.5.1...v3.6.0
Expand Down
4 changes: 2 additions & 2 deletions vendor/automattic/jetpack-sync/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"automattic/jetpack-changelogger": "^4.2.6",
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-search": "@dev",
"automattic/jetpack-waf": "@dev",
"automattic/jetpack-waf": "^0.18.4-alpha",
"automattic/wordbless": "@dev"
},
"suggest": {
Expand Down Expand Up @@ -50,7 +50,7 @@
"link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}"
},
"branch-alias": {
"dev-trunk": "3.7.x-dev"
"dev-trunk": "3.8.x-dev"
},
"dependencies": {
"test-only": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
class Package_Version {

const PACKAGE_VERSION = '3.7.1';
const PACKAGE_VERSION = '3.8.0-alpha';

const PACKAGE_SLUG = 'sync';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function __construct() {
* @return array Order types to sync.
*/
public static function get_order_types_to_sync( $prefixed = false ) {
$types = array( 'order', 'order_refund' );
$types = array( 'order', 'order_refund', 'subscription' );
if ( $prefixed ) {
$types = array_map(
function ( $type ) {
Expand Down
2 changes: 1 addition & 1 deletion vendor/automattic/scheduled-updates/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"require": {
"php": ">=7.0",
"automattic/jetpack-status": "^3.3.4",
"automattic/jetpack-sync": "^3.7.1",
"automattic/jetpack-sync": "^3.8.0-alpha",
"automattic/jetpack-plans": "^0.4.8",
"automattic/jetpack-constants": "^2.0.4",
"automattic/jetpack-connection": "^2.12.4"
Expand Down
Loading

0 comments on commit 11af6ce

Please sign in to comment.