Commit Graph

258 Commits

Author SHA1 Message Date
vedanshujain d03e91c7d2 Merge branch 'master' into update/jetpack-autoloader 2020-12-21 16:40:41 +05:30
Christopher Allford 1bec2b9172 Updated the Jetpack Autoloader to v2.7.1
This includes a number of improvements but also requires that we set the `optimize-autoloader` configuration key to compensate for some classes that don't comply with PSR-4.
2020-12-18 14:52:39 -08:00
vedanshujain 293849ac53 Merge branch 'master' into update/woocommerce-blocks-4.0.0 2020-12-18 20:02:00 +05:30
Sam Seay 975388bfb3 Update wc-admin to 1.8.1 2020-12-15 15:00:08 +13:00
Mike Jolley 6208fc3d27 Update WooCommerce Blocks package to 4.0.0 2020-12-08 15:18:54 +00:00
Timmy Crawford 098d654dd4 Update woocomerce-admin to 1.7.3 2020-12-03 13:26:44 -08:00
Renovate Bot efbd5aa52c
Update dependency automattic/jetpack-constants to v1.5.1 2020-11-25 11:10:58 +00:00
Renovate Bot bfbf556c96
Update dependency automattic/jetpack-autoloader to v2.6.0 2020-11-25 03:08:35 +00:00
Fernando Marichal 83c170b88e Version bump wc-admin 1.7.2 2020-11-24 17:10:48 -08:00
Darren Ethier 8ffa39b78f
bump wc-blocks package to 3.8.1 2020-11-23 16:09:57 -05:00
Nestor Soriano 16bd67688f Remove "pushd" and "popd" from build-lib.sh
These are bash specific commands and will fail since the script is
actually run as a sh script. Instead, the "-d" option of composer
is now used.
2020-11-19 09:25:48 +01:00
Christopher Allford e9dfe64f9f Replaced the local repository with root autoload definitions
Since Composer can't recursively use repositories, we can't actually use a local package to deal with this. We're going to keep the local package to separate the dependencies but we need to add autoload keys in the root package's `composer.json`
2020-11-18 15:31:54 -08:00
Christopher Allford c9f413d297 Created dummy `woocommerce/woocommerce-lib` package to contain dependencies
In order to avoid problems posed by potentially including the unconverted dependencies in the root autoloader, this package will hold all dependencies that require conflict avoidance.
2020-11-18 13:54:20 -08:00
Nestor Soriano 556ea1ecfa Merge branch 'master' into use-mozart-to-renamespace-dependencies 2020-11-18 09:05:11 +01:00
Christopher Allford c491bd45aa Updated lock file 2020-11-13 09:43:01 -08:00
Christopher Allford 1041c8d238 Updated WooCommerce Admin 2020-11-12 11:22:39 -08:00
Christopher Allford b22268c754 Updated to Composer v2
This also updates the woocommerce/woocommerce-admin and woocommerce/woocommerce-blocks packages as their dependence on `composer/installers` precludes update otherwise
2020-11-11 13:45:51 -08:00
Nestor Soriano 8bb0f196e6 Change the strategy for moving packages
Since the Mozart package requires PHP 7.2, and we need to support 7.0
and 7.1, the moving step has been removed from the composer install
stage. Instead, now it has to be triggered manually via
`composer run move-vendor-namespaces`, and the moved package must be
added to source control. See the updated src/Internal/Vendor/REAMDE.md
for details.
2020-11-05 17:19:14 +01:00
Nestor Soriano 96fce186e7 Use Mozart instead of a script to renamespace packages.
A custom fork of the coenjacobs/mozart package is now used to change
the namespace of the appropriate packages (only league/container
for now) instead of the previously used prefix-vendor-namespaces script.

The packages are now moved to the src/Internal/Vendor namespace instead
of being modified in-place in the vendor directory. The namespaces
are thus now prefixed with Automattic\WooCommerce\Internal\Vendor
(previously it was just Automattic\WooCommerce\Vendor).
2020-10-30 12:28:26 +01:00
Ron Rennick b6c88e3171 update composer.lock 2020-10-28 14:36:45 -03:00
Timmy Crawford 0c40758f5e Updates wc-admin to 1.6.3 2020-10-26 13:35:24 -07:00
Rodrigo Primo d0576a2a17 Merge branch 'master' into update/woocommerce-admin/1.6.2 2020-10-20 10:43:52 -03:00
Claudio Sanches f349a70618 Merge branch 'master' into update/woocommerce-blocks-3.6.0 2020-10-19 23:40:52 -03:00
Claudio Sanches e6e199fb7e Update composer.lock 2020-10-19 23:37:27 -03:00
Timmy Crawford 8641ec6135 Update woocommerce-admin to 1.6.2 2020-10-19 10:39:15 -07:00
Renovate Bot a7696c7392
Update dependency automattic/jetpack-constants to v1.5.0 2020-10-16 10:31:13 +00:00
Albert Juhé Lluveras b02f4ec62b Update WooCommerce Blocks package to 3.6.0 2020-10-15 10:46:20 +02:00
Renovate Bot e3f91ef4ec
Update dependency league/container to v3.3.3 2020-10-14 16:24:37 +00:00
Timmy Crawford 729086a583 Update woocommerce-admin to 1.6.1 2020-10-13 15:42:09 -07:00
Timmy Crawford 58f181e351 Update WooCommerce Admin to 1.6.0 2020-10-09 14:15:42 -07:00
Nestor Soriano a621f07a96 Merge branch 'master' into add/composer-bin-plugin 2020-10-08 12:27:28 +02:00
Nestor Soriano ca085a8e6b Update composer.lock 2020-10-08 09:30:29 +02:00
Nestor Soriano 97618d8fad Reintroduce the League's Container package, and prefix it.
All the classes in the package are re-namespaced from
"Leage\Container" to "Automattic\WooCommerce\Vendor\League\Container"
to prevent conflicts with extensions using the same plugin.

The re-namespacing is done by using a simple text substitution
on all the code files (see prefix-vendor-namespaces.sh), for this
particular case this approach is enough.
2020-10-08 09:28:01 +02:00
Christopher Allford b3da18a14b Merge branch 'master' into add/composer-bin-plugin 2020-10-06 10:13:47 -07:00
Timmy Crawford 7efccce126 Update woocommerce-admin to 1.6.0-rc.3 2020-10-01 06:39:57 -07:00
Christopher Allford ef612f60e5 Moved the PHP code sniffs into a bin folder 2020-09-22 11:55:24 -07:00
Christopher Allford f81a25c398 Moved all of the composer binary commands into the `composer-bin-plugin` to avoid version compatibility errors 2020-09-22 11:44:27 -07:00
Timmy Crawford 3def445592 Update composer.lock 2020-09-18 12:39:49 -07:00
Darren Ethier aeeee93e4b
update woo-blocks to 3.4.0 2020-09-15 09:39:41 -04:00
Rebecca Scott 1f42f0f487 Bump WooCommerce Admin version to 1.5.0 2020-09-08 10:56:31 -05:00
Claudio Sanches e581dbfadd Restore platform confirm and force package-lock.json to update 2020-09-08 11:38:57 -03:00
Renovate Bot debe085284
Pin dependencies 2020-09-05 13:43:24 +00:00
Jonathan Sadowski d637db8201 Update composer.lock 2020-09-02 17:26:15 -05:00
Jonathan Sadowski 456851c827 Bump wc-admin to 1.5.0-rc.3 2020-09-01 13:50:02 -05:00
Rebecca Scott 97902b00cd Bump wc-admin to 1.5.0-rc.2 2020-08-25 08:49:50 +10:00
Christopher Allford 358db5dc3e Removed the internals of the Container pending package conflict resolution
Since reverting the PR at this point would be a mess I've gone ahead and removed the internals of the container. We should aim to keep the class since it's now part of our public API but it won't work as expected anymore. This is fine for now since we don't actually have anything in it!
2020-08-18 20:39:48 -07:00
Jonathan Sadowski 163bb51089 Resolved composer conflict 2020-08-18 10:46:41 -05:00
Néstor Soriano 57cb6c03df
Merge branch 'master' into preparation/4.4.0-final 2020-08-18 11:27:44 +02:00
Nestor Soriano 509664cfc7 Update readme, changelog, and composer.lock 2020-08-18 10:32:24 +02:00
Christopher Allford 8c41aa8b83 Updated the package to 2.2.0 2020-08-18 10:05:08 +02:00
Timmy Crawford f6d49d5b64 Update WooCommerce Admin to 1.4.0 for 4.4 2020-08-18 10:00:57 +02:00
vedanshujain beb45bf2dd Update API to 1.0.15 2020-08-18 09:59:02 +02:00
Timmy Crawford ac905d830a Update WooCommerce Admin to 1.4.0 for 4.4 2020-08-17 17:22:14 -07:00
Christopher Allford b80341a360 Updated the `automattic/jetpack-autoloader` package to 2.2.0 2020-08-17 11:32:45 -07:00
Christopher Allford 13a3b80cb6 Removed classes accidentally added back by merge from master 2020-08-07 16:45:09 -07:00
vedanshujain 5b32ec3755 Remove REST API package because its added directly. 2020-08-06 14:34:02 +05:30
Christopher Allford dda2f3b405 Pinned the dependencies that were not already pinned 2020-08-05 14:19:43 -07:00
Timmy Crawford d55fa5ea0a Update woocommerce-admin to 1.4.0-rc.3 2020-08-03 23:35:10 -07:00
Albert Juhé Lluveras ba4afe633c Update woocommerce/woocommerce-blocks to v3.1.0 2020-07-30 11:07:19 +02:00
Christopher Allford 7d80474b60 Updated the `composer.lock` for re-release of woocommerce/woocommerce-admin@1.4.0-beta.2 2020-07-28 08:29:48 -07:00
Nestor Soriano 393dbb7124 Update composer.lock 2020-07-28 10:09:33 +02:00
Christopher Allford c36ea25eb9 Updated composer lock file
Now that we've got all of the packages updated successfully we can do this!
2020-07-27 09:40:55 +02:00
Nestor Soriano 8f596bd25a Update composer.lock 2020-07-24 09:41:45 +02:00
Nestor Soriano 312383ae47 First steps towards introducing a dependency injection framework.
- Add PHP League's Container package via Composer.
- Add an ObjectContainer class that encapsulates all the configuration
  and insulates the codebase from the concrete DI engine used.
- Add an improved ReflectionContainer class that will allow to
  register individual classes as singletons while autowiring.
- Use ObjectContainer to resolve the WooCommerce class, everything
  instantiated with "new" inside it, and all singletons that are
  usually obtained via WC() function.
- Introduce the CustomerProvider class.
- Introduce a service provider to resolve WC_Queue_Interface,
  this replaces the WC_Queue class.
- Mark as obsolete all the replaced "instance()" methods,
  and the entire WC_Queue class.
2020-07-24 09:20:21 +02:00
Timmy Crawford 000e695a34 [4.3.1] Update WooCommerce Admin Package. 2020-07-20 16:57:57 -07:00
Timmy Crawford 1fb700486b Update WooCommerce Admin to 1.3.0 2020-07-08 09:51:54 -07:00
Timmy Crawford bb32e4a557 Update woocommerce-admin to 1.3.0-rc.3 2020-07-06 15:15:15 -07:00
Paul Sealock 75cd74fe24 Bump wc-admin version 1.3.0-rc.2 2020-06-25 15:23:50 +12:00
Paul Sealock 7ae8bd53d0 Bump wc-admin to 1.3.0-rc.1 2020-06-23 21:49:59 +12:00
Albert Juhé Lluveras 55fba0e79b Update woocommerce/woocommerce-blocks to v2.7.1 2020-06-16 16:24:40 +02:00
Peter Fabian 67ab59d176 Update composer.lock 2020-06-16 15:01:40 +02:00
Peter Fabian 418d95298a Merge branch 'master' into update/wc-admin-1.3.0-beta-1
# Conflicts:
#	composer.lock
2020-06-16 14:58:43 +02:00
vedanshujain ff18dfccc9 Update rest API to 1.0.10 2020-06-16 15:30:37 +05:30
Paul Sealock 3c83db4c4a Version bump wc-admin 1.3.0-beta.1 2020-06-16 19:52:36 +12:00
Albert Juhé Lluveras 0bd26f3615 Update woocommerce/woocommerce-blocks to v2.7.0 2020-06-09 12:19:29 +02:00
Renovate Bot 4d4e327df6
Update dependency woocommerce/woocommerce-admin to v1.2.3 2020-05-22 19:24:14 +00:00
Christopher Allford 326d8feb92 Updated the Jetpack Autoloader
Jetpack made a change that requires some extra ignore entries from the latest release of the autoloader, otherwise debug logging warnings are thrown.
2020-05-19 16:16:50 -07:00
Ron Rennick 229841b9b5 fix merge conflicts take 2 2020-05-12 14:32:59 -03:00
Ron Rennick db7d86f4f5 fix merge conflicts 2020-05-12 13:46:10 -03:00
Ron Rennick f5a7f727f3 update Action Scheduler to 3.1.6 2020-05-12 13:41:13 -03:00
Renovate Bot c4bb82eafc
Update dependency woocommerce/woocommerce-admin to v1.2.0 2020-05-12 16:24:15 +00:00
vedanshujain 253cf5b5d9 Update WC-REST API version to 1.0.8 2020-05-11 23:54:19 +05:30
Ron Rennick 105cea27c5 fix merge conflicts 2020-04-30 13:34:29 -03:00
Renovate Bot 276c293edc
Update dependency woocommerce/woocommerce-admin to v1.1.1 2020-04-29 18:04:08 +00:00
Renovate Bot 70ad0d0954
Update dependency woocommerce/action-scheduler to v3.1.5 2020-04-29 16:50:56 +00:00
Ron Rennick da494be615 merge master 2020-04-28 16:13:30 -03:00
vedanshu.jain 894f26b39c Update wc-adminv version to 1.1.0 2020-04-21 16:16:33 +05:30
Jeff Stieler dfb3057d12 Update woocommerce-admin to latest 1.1.0 version. 2020-04-15 11:18:08 -06:00
Renovate Bot 65ae94bd4d
Update dependency woocommerce/woocommerce-sniffs to v0.0.10 2020-04-09 13:01:24 +00:00
vedanshu.jain a47c02678a Bump wc-admin version to use latest 1.1.0.
Using commit to force travis to clear build cache.
2020-04-09 16:08:37 +05:30
Peter Fabian 2de06827e6 Updated jetpack-autoloader and woocommerce-blocks
Dependencies updated in one go as Blocks bumped version for JP autoloader.
2020-04-07 14:19:35 +02:00
Renovate Bot 69256e7b89
Update dependency woocommerce/woocommerce-admin to v1.1.0 2020-04-06 20:40:26 +00:00
Renovate Bot c2002976af
Update dependency woocommerce/woocommerce-blocks to v2.5.15 2020-03-31 14:12:53 +00:00
Renovate Bot 2a7cb16ab6
Update dependency woocommerce/woocommerce-admin to v1.0.3 2020-03-19 17:40:15 +00:00
Renovate Bot 75d07e9064
Update dependency woocommerce/action-scheduler to v3.1.4 2020-03-18 15:23:38 +00:00
Paul Sealock 7213ddb3f7 wc-admin: bump version to 1.0.2 2020-03-18 11:58:14 +13:00
Peter Fabian 968e9c6527 Update Action Scheduler to version 3.1.2
This is a trick to avoid function conflict with MailChimp 2.3.4 and how it hooks its own version of Action Scheduler during the autoloader function.
2020-03-10 16:02:37 +01:00
Renovate Bot 3968c31466
Update dependency woocommerce/woocommerce-admin to v1 2020-03-05 02:07:09 +00:00
Renovate Bot ec0b9412ef
Update dependency woocommerce/woocommerce-blocks to v2.5.14 2020-03-03 14:59:04 +00:00
Paul Sealock 27504e8bd5 bump wc-admin to 0.26.1 2020-02-26 10:02:01 +13:00