Commit Graph

278 Commits

Author SHA1 Message Date
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
Ron Rennick 25ab5596a2 fix composer.lock conflict 2020-02-25 15:00:55 -04:00
Renovate Bot 0f317108cf
Update dependency woocommerce/woocommerce-blocks to v2.5.13 2020-02-25 10:25:02 +00:00
Peter Fabian 19b180af7e Updated composer.lock file. 2020-02-25 09:32:56 +01:00
Ron Rennick 22d5dce682 change the namespace of the WC Admin Package class 2020-02-24 22:56:32 -04:00
Renovate Bot 4d682b6cdc
Update dependency woocommerce/woocommerce-admin to v0.25.1 2020-02-08 11:24:16 +00:00
Renovate Bot 2242c20409
Update dependency woocommerce/woocommerce-blocks to v2.5.12 2020-02-06 11:17:31 +00:00
Claudio Sanches 805d499649 Merge branch 'master' into try/add-wc-admin 2020-02-05 14:09:03 -03:00
Claudio Sanches 5b9937ad48 Merge branch 'master' into try/add-wc-admin 2020-02-05 13:02:51 -03:00
Claudio Sanches c79d457266 Merge branch 'try/add-wc-admin' of github.com:woocommerce/woocommerce into try/add-wc-admin 2020-02-05 11:43:06 -03:00
Claudio Sanches 2b30c3179b Merge branch 'master' into update/makepot 2020-02-05 10:52:50 -03:00
Rodrigo Primo f539d3e04b Merge branch 'master' into update/emogrifier 2020-02-05 10:01:38 -03:00
Rodrigo Primo ff05b06e6b Merge branch 'master' into update/emogrifier 2020-02-05 09:56:03 -03:00
Peter Fabian 87e42acd56
Merge branch 'master' into try/add-wc-admin 2020-02-05 13:02:20 +01:00
Peter Fabian b0f6efebbb
Merge pull request #25566 from woocommerce/update/action-scheduler-3
Updated AS to version 3.0.1
2020-02-05 11:29:37 +01:00
Jeff Stieler 213c7e0569 Use release version of WooCommerce Admin. 2020-02-04 16:07:32 -08:00
Jeff Stieler d78c045ac6 Alias a branch of wc-admin instead. 2020-02-04 16:03:15 -08:00
Paul Sealock 4380087608 wc-admin: Include package 2020-02-04 16:01:57 -08:00
Christopher Allford 57734ca8ce Merge branch 'master' into refactor/add-jetpack-constants 2020-02-04 14:36:35 -08:00
Claudio Sanches a94746e4aa Use WP-CLI to generate .pot file 2020-02-04 17:37:35 -03:00
Peter Fabian dadebd44a2 Included composer.lock with the update. 2020-02-04 15:52:55 +01:00
Ron Rennick e242d84877 fix merge conflicts 2020-01-31 10:11:01 -04:00
Christopher Allford 53e0087318 Merge remote-tracking branch 'origin/master' into refactor/add-jetpack-constants 2020-01-29 12:31:29 -08:00
Claudio Sanches d4ea170cf0 Added Emogrifier as a composer package 2020-01-29 15:48:49 -03:00
Christopher Allford 9c8a6d78d9 Added automattic/jetpack-constants package to make testing constants easier 2020-01-28 16:28:40 -08:00
Renovate Bot 4389ef5b40
Update dependency woocommerce/woocommerce-rest-api to v1.0.7 2020-01-28 21:55:26 +00:00
Renovate Bot 3ccefeb8db
Update dependency woocommerce/woocommerce-blocks to v2.5.11 2020-01-20 21:39:43 +00:00
Jeff Stieler dbc88b9068 Update woocommerce-admin dependency. 2020-01-20 12:13:23 -07:00
Jeff Stieler c40a14fc22 Alias a branch of wc-admin instead. 2020-01-16 17:43:49 -07:00
Paul Sealock 6c9e78850a wc-admin: Include package 2020-01-16 17:40:30 -07:00
Renovate Bot f81afa0794
Update dependency phpunit/phpunit to v7.5.20 2020-01-16 00:58:45 +00:00
Claudio Sanches 28718614d7 Version 3.9.0-rc.3 2020-01-15 21:17:57 -03:00
Ron Rennick fda63f4536 move action scheduler to external via composer 2020-01-15 10:31:04 -04:00
Christopher Allford 300064187b Moved the MaxMind DB Reader library into composer and pinned the latest version 2020-01-07 15:25:58 -08:00
Seghir Nadir 0c5f46ae10 update to correct blocks version hash 2019-12-27 14:32:01 +01:00
Renovate Bot e64d687066
Update dependency woocommerce/woocommerce-blocks to v2.5.7 2019-12-20 16:40:18 +00:00
Renovate Bot dee631a71e
Update dependency woocommerce/woocommerce-rest-api to v1.0.5 2019-12-18 23:02:51 +00:00
Claudio Sanches 3f87c1b6f7
Merge pull request #25213 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
Update dependency woocommerce/woocommerce-blocks to v2.5.6
2019-12-18 12:45:43 -03:00
Renovate Bot 9fc6a048a2
Pin dependency phpunit/phpunit to 7.5.18 2019-12-18 12:06:29 +00:00
Renovate Bot b8e9fd5dac
Update dependency woocommerce/woocommerce-blocks to v2.5.6 2019-12-17 19:40:53 +00:00
Claudio Sanches ab2c455783 Merge branch 'master' into update/packages 2019-12-10 11:40:56 -03:00
Claudio Sanches cd241e691c Updated packages 2019-12-10 11:29:15 -03:00
Renovate Bot 1aeb69585d
Update dependency phpunit/phpunit to v7.5.18 2019-12-06 06:00:04 +00:00
Claudio Sanches 4980f8537c Updated Blocks and REST API packages 2019-12-05 22:50:13 -03:00
Renovate Bot caa00ac6f5
Update dependency woocommerce/woocommerce-sniffs to v0.0.9 2019-11-18 11:38:41 +00:00
Renovate Bot 5130aa3319
Update dependency phpunit/phpunit to v7.5.17 2019-11-04 13:39:09 +00:00
Renovate Bot 20e6d34b1d
Update dependency woocommerce/woocommerce-blocks to v2.4.5 2019-11-02 13:57:27 +00:00
Renovate Bot 250de90491
Update dependency woocommerce/woocommerce-sniffs to v0.0.8 2019-10-16 18:56:42 +00:00
Renovate Bot b97bc6b03a
Update dependency woocommerce/woocommerce-blocks to v2.4.3 2019-10-14 13:41:40 +00:00
vedanshujain 285287fa46 Update `woocommerce-blocks` to `2.4.2` and `composer/installers` to 1.7.0
woocommerce-blocks update was blocked by jetpack-autoloader conflict between woocommerce core and woocommerce-blocks. Now that this has been resolved in an earlier commit, woocommerce-blocks can be updated.
2019-10-01 19:00:08 +05:30
Mike Jolley 9e33495a46 Update composer lock file 2019-10-01 14:18:13 +01:00
Renovate Bot e0a0054f2d
Update dependency phpunit/phpunit to v7.5.16 2019-09-14 10:31:58 +00:00
Renovate Bot 2c8cb5bd2f
Update dependency woocommerce/woocommerce-sniffs to v0.0.7 2019-08-23 21:48:46 +00:00
Renovate Bot 4a7bd9dee9
Update dependency phpunit/phpunit to v7.5.15 2019-08-21 07:37:52 +00:00
Renovate Bot 67abaef097
Update dependency woocommerce/woocommerce-blocks to v2.3.0 2019-08-12 11:52:22 +00:00
Renovate Bot fb7dbd451b
Update dependency woocommerce/woocommerce-blocks to v2.3.0-rc.1 2019-08-01 15:11:11 +00:00
Renovate Bot 7bf9353d21
Update dependency woocommerce/woocommerce-blocks to v2.3.0-beta.3 2019-07-29 16:42:16 +00:00
Renovate Bot f4bfc15ef2
Update dependency woocommerce/woocommerce-blocks to v2.3.0-beta.2 2019-07-25 15:28:48 +00:00
Claudio Sanches 67212d1303 Updated PHPUnit to 7.5.14 2019-07-18 22:02:58 -03:00
Claudio Sanches 65a32cfc2f REST API package version 1.0.3 2019-07-16 11:36:10 -03:00
Steve Grunwell 5fa06c6287 Merge remote-tracking branch 'upstream/master' into fix/composer-platform-version 2019-07-10 16:34:41 -04:00
Claudio Sanches c4c8fbbce5 Updated composer.lock 2019-07-10 15:50:28 -03:00
Steve Grunwell 9a43f4728f Explicitly declare PHP version requirements and platform defaults
When running `composer update` on anything more recent than PHP 7.0, doctrine/instantiator version 1.2.0 is installed and tracked in the `composer.lock` file. Unfortunately, this causes some rather cryptic errors when running the WooCommerce test suite in PHP 7.0, as doctrine/instantiator version 1.1.0 dropped support for PHP < 7.1 (see https://github.com/doctrine/instantiator/releases/tag/1.1.0).

This commit adds two things to the `composer.json` file:

1. Explicit platform requirements ("php": "^5.6|^7.0")
2. A `config.platform` value, which essentially tells Composer "when you're installing/updating dependencies, assume it's on a machine running PHP 7.0".

My assumption is the current `composer.lock` file was generated in an environment running PHP 7.0, which is why current Travis runs are working but running `composer update` on anything higher than PHP 7.0 causes the tests to start failing within the PHP 7.0 test runner.
2019-07-09 21:15:13 +00:00
Claudio Sanches 862771f504 Use stable version of REST API 2019-07-08 15:33:12 -03:00
Claudio Sanches da99bc8ca0 Merge branch 'master' into feature/feature-plugin-packages 2019-07-08 14:33:21 -03:00
Peter Fabian b3b41ff2a7 Add pinned deep-copy pkg as dev dependency.
This way, (I hope) updating composer.lock would not overwrite pinned version that is compatible with PHP 5.6.
2019-07-04 13:44:53 +02:00
Peter Fabian 28abf9e48e Pin the dependency so we can run unit tests on PHP 5.6 2019-07-04 10:03:29 +02:00
Claudio Sanches ea63bb6c7b Removed ApiGen build process and requirements 2019-06-25 22:36:03 -03:00
Mike Jolley 17f87277cc Update lock file 2019-06-25 11:04:00 +01:00
Mike Jolley 69c2cbf6e4 Text domain replacement 2019-06-24 12:40:20 +01:00
Mike Jolley a6a3761778 Update blocks to use dev build 2019-06-21 19:23:43 +01:00
Mike Jolley e3dc79481d Init the blocks library using autoloading 2019-06-21 15:03:28 +01:00
Mike Jolley 7a61883c30 Update composer file to include packages 2019-06-21 13:40:34 +01:00
Mike Jolley f90f0203b5 Grunt dev 2019-03-15 12:21:51 +00:00
Claudio Sanches f7c1b71ce7 Updated woocommerce-sniffs to 0.0.6 2019-03-11 12:34:57 -03:00
Mike Jolley bb7aa99d4b Add transients to post tests 2019-03-07 11:21:42 +00:00
Renovate Bot 6937f231da
Pin dependency composer/installers to 1.6.0 2019-02-28 13:59:42 +00:00
Renovate Bot f609f713db
Update dependency phpunit/phpunit to v6.5.14 2019-02-01 05:57:51 +00:00
Claudio Sanches b25665add9 Merge branch 'master' into update/pre-commit 2019-01-14 18:01:34 -02:00
Renovate Bot f6825731f1
Update dependency nette/utils to v2.5.3 2019-01-08 14:34:15 +00:00
renovate[bot] 82397c2f7f Pin dependencies (#21842) 2019-01-08 11:07:32 +00:00