Bumping version strings to new version.

This commit is contained in:
Seghir Nadir 2019-11-19 18:20:22 +01:00
parent b09c6a69b1
commit 7995d56d9f
32 changed files with 45 additions and 45 deletions

View File

@ -2,7 +2,7 @@
"name": "@woocommerce/block-library",
"title": "WooCommerce Blocks",
"author": "Automattic",
"version": "2.5.0-dev",
"version": "2.5.0",
"description": "WooCommerce blocks for the Gutenberg editor.",
"homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/",
"keywords": [

View File

@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks
Requires at least: 5.0
Tested up to: 5.2
Requires PHP: 5.6
Stable tag: 2.4.1
Stable tag: 2.5.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

View File

@ -17,7 +17,7 @@ class Assets {
/**
* Initialize class features on init.
*
* @since $VID:$
* @since 2.5.0
* Moved most initialization to BootStrap and AssetDataRegistry
* classes as a part of ongoing refactor
*/
@ -30,7 +30,7 @@ class Assets {
/**
* Register block scripts & styles.
*
* @since $VID:$
* @since 2.5.0
* Moved data related enqueuing to new AssetDataRegistry class
* as part of ongoing refactoring.
*/
@ -90,7 +90,7 @@ class Assets {
* @param array $settings The original settings array from the filter.
*
* @since 2.4.0
* @since $VID:$ returned merged data along with incoming $settings
* @since 2.5.0 returned merged data along with incoming $settings
*/
public static function get_wc_block_data( $settings ) {
$tag_count = wp_count_terms( 'product_tag' );

View File

@ -12,7 +12,7 @@ use Automattic\WooCommerce\Blocks\Domain\Package;
/**
* The Api class provides an interface to various asset registration helpers.
*
* @since $VID:$
* @since 2.5.0
*/
class Api {
@ -88,7 +88,7 @@ class Api {
* Registers a script according to `wp_register_script`, additionally
* loading the translations for the file.
*
* @since $VID:$
* @since 2.5.0
*
* @param string $handle Name of the script. Should be unique.
* @param string $relative_src Relative url for the script to the path
@ -120,7 +120,7 @@ class Api {
/**
* Queues a block script.
*
* @since $VID:$
* @since 2.5.0
*
* @param string $name Name of the script used to identify the file inside build folder.
*/
@ -134,7 +134,7 @@ class Api {
/**
* Registers a style according to `wp_register_style`.
*
* @since $VID:$
* @since 2.5.0
*
* @param string $handle Name of the stylesheet. Should be unique.
* @param string $src Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory.

View File

@ -4,7 +4,7 @@
* `wc-settings` is enqueued (directly or via dependency)
*
* @package WooCommerce/Blocks
* @since $VID:$
* @since 2.5.0
*/
namespace Automattic\WooCommerce\Blocks\Assets;
@ -16,7 +16,7 @@ use InvalidArgumentException;
* Class instance for registering data used on the current view session by
* assets.
*
* @since $VID:$
* @since 2.5.0
*/
class AssetDataRegistry {
/**

View File

@ -3,7 +3,7 @@
* Backwards Compatibility file for plugins using wcSettings in prior versions
*
* @package WooCommerce/Blocks
* @since $VID:$
* @since 2.5.0
*/
namespace Automattic\WooCommerce\Blocks\Assets;
@ -13,7 +13,7 @@ namespace Automattic\WooCommerce\Blocks\Assets;
*
* Note: This will be removed at some point.
*
* @since $VID:$
* @since 2.5.0
*/
class BackCompatAssetDataRegistry extends AssetDataRegistry {
/**
@ -28,7 +28,7 @@ class BackCompatAssetDataRegistry extends AssetDataRegistry {
* Back-compat filter, developers, use 'woocommerce_shared_settings'
* filter, not this one.
*
* @deprecated $VID:$
* @deprecated 2.5.0
*/
$data = apply_filters(
'woocommerce_components_settings',

View File

@ -18,7 +18,7 @@ use Automattic\WooCommerce\Blocks\RestApi;
/**
* Takes care of bootstrapping the plugin.
*
* @since $VID:$
* @since 2.5.0
*/
class Bootstrap {

View File

@ -10,7 +10,7 @@ namespace Automattic\WooCommerce\Blocks\Domain;
/**
* Main package class.
*
* @since $VID:$
* @since 2.5.0
*/
class Package {

View File

@ -16,7 +16,7 @@ defined( 'ABSPATH' ) || exit;
/**
* Main package class. (Loader in the WC Core context as well)
*
* @since $VID:$
* @since 2.5.0
*/
class Package {
@ -25,7 +25,7 @@ class Package {
* class with Automattic\Woocommerce\Blocks\Container and make Package a
* dependency.
*
* @since $VID:$
* @since 2.5.0
* @return Package The Package instance class
*/
protected static function get_package() {
@ -35,7 +35,7 @@ class Package {
/**
* Init the package - load the blocks library and define constants.
*
* @since $VID:$ Handled by new NewPackage.
* @since 2.5.0 Handled by new NewPackage.
*/
public static function init() {
self::container()->get( Bootstrap::class );
@ -78,7 +78,7 @@ class Package {
NewPackage::class,
function ( $container ) {
// leave for automated version bumping.
$version = '2.5.0-dev';
$version = '2.5.0';
return new NewPackage(
$version,
WC_BLOCKS_PLUGIN_FILE

View File

@ -14,7 +14,7 @@ namespace Automattic\WooCommerce\Blocks\Registry;
* Dependency Injection Container for storing dependencies to invoke as they
* are needed.
*
* @since $VID:$
* @since 2.5.0
*/
abstract class AbstractDependencyType {

View File

@ -15,7 +15,7 @@ use Exception;
*
* This is used to manage dependencies used throughout the plugin.
*
* @since $VID:$
* @since 2.5.0
*/
class Container {

View File

@ -10,7 +10,7 @@ namespace Automattic\WooCommerce\Blocks\Registry;
/**
* Definition for the FactoryType dependency type.
*
* @since $VID:$
* @since 2.5.0
*/
class FactoryType extends AbstractDependencyType {
/**

View File

@ -10,7 +10,7 @@ namespace Automattic\WooCommerce\Blocks\Registry;
/**
* A definition for the SharedType dependency type.
*
* @since $VID:$
* @since 2.5.0
*/
class SharedType extends AbstractDependencyType {

View File

@ -19,7 +19,7 @@ use Automattic\WooCommerce\Blocks\RestApi\StoreApi\Utilities\CartController;
/**
* Cart API.
*
* @since $VID:$
* @since 2.5.0
*/
class Cart extends RestContoller {
/**

View File

@ -20,7 +20,7 @@ use Automattic\WooCommerce\Blocks\RestApi\StoreApi\Utilities\CartController;
/**
* Cart API.
*
* @since $VID:$
* @since 2.5.0
*/
class CartItems extends RestContoller {
/**

View File

@ -20,7 +20,7 @@ use Automattic\WooCommerce\Blocks\RestApi\StoreApi\Utilities\TermQuery;
/**
* Product attribute terms API.
*
* @since $VID:$
* @since 2.5.0
*/
class ProductAttributeTerms extends RestContoller {
/**

View File

@ -19,7 +19,7 @@ use Automattic\WooCommerce\Blocks\RestApi\StoreApi\Schemas\ProductAttributeSchem
/**
* Product attributes API.
*
* @since $VID:$
* @since 2.5.0
*/
class ProductAttributes extends RestContoller {
/**

View File

@ -19,7 +19,7 @@ use Automattic\WooCommerce\Blocks\RestApi\StoreApi\Utilities\ProductQueryFilters
/**
* ProductCollectionData API.
*
* @since $VID:$
* @since 2.5.0
*/
class ProductCollectionData extends RestContoller {
/**

View File

@ -21,7 +21,7 @@ use Automattic\WooCommerce\Blocks\RestApi\StoreApi\Utilities\ProductQuery;
/**
* Products API.
*
* @since $VID:$
* @since 2.5.0
*/
class Products extends RestContoller {
/**

View File

@ -14,7 +14,7 @@ defined( 'ABSPATH' ) || exit;
/**
* AbstractBlock class.
*
* @since $VID:$
* @since 2.5.0
*/
abstract class AbstractSchema {
/**

View File

@ -16,7 +16,7 @@ use Automattic\WooCommerce\Blocks\RestApi\Utilities\ProductImages;
/**
* AbstractBlock class.
*
* @since $VID:$
* @since 2.5.0
*/
class CartItemSchema extends AbstractSchema {
/**

View File

@ -12,7 +12,7 @@ defined( 'ABSPATH' ) || exit;
/**
* CartSchema class.
*
* @since $VID:$
* @since 2.5.0
*/
class CartSchema extends AbstractSchema {
/**

View File

@ -12,7 +12,7 @@ defined( 'ABSPATH' ) || exit;
/**
* ProductAttributeSchema class.
*
* @since $VID:$
* @since 2.5.0
*/
class ProductAttributeSchema extends AbstractSchema {
/**

View File

@ -14,7 +14,7 @@ use Automattic\WooCommerce\Blocks\RestApi\Utilities\ProductImages;
/**
* ProductSchema class.
*
* @since $VID:$
* @since 2.5.0
*/
class ProductSchema extends AbstractSchema {
/**

View File

@ -12,7 +12,7 @@ defined( 'ABSPATH' ) || exit;
/**
* TermSchema class.
*
* @since $VID:$
* @since 2.5.0
*/
class TermSchema extends AbstractSchema {
/**

View File

@ -17,7 +17,7 @@ use \WC_REST_Exception as RestException;
/**
* Woo Cart Controller class.
*
* @since $VID:$
* @since 2.5.0
*/
class CartController {

View File

@ -12,7 +12,7 @@ defined( 'ABSPATH' ) || exit;
/**
* Pagination class.
*
* @since $VID:$
* @since 2.5.0
*/
class Pagination {

View File

@ -14,7 +14,7 @@ use Automattic\WooCommerce\Blocks\RestApi\StoreApi\Utilities\ProductQuery;
/**
* Product Query fllters class.
*
* @since $VID:$
* @since 2.5.0
*/
class ProductQueryFilters {
/**

View File

@ -12,7 +12,7 @@ defined( 'ABSPATH' ) || exit;
/**
* Product Query class.
*
* @since $VID:$
* @since 2.5.0
*/
class ProductQuery {
/**

View File

@ -12,7 +12,7 @@ defined( 'ABSPATH' ) || exit;
/**
* Term Query class.
*
* @since $VID:$
* @since 2.5.0
*/
class TermQuery {
/**

View File

@ -16,7 +16,7 @@ defined( 'ABSPATH' ) || exit;
/**
* BlocksWpQuery query.
*
* @deprecated $VID:$
* @deprecated 2.5.0
*/
class BlocksWpQuery extends WP_Query {
/**

View File

@ -3,7 +3,7 @@
* Plugin Name: WooCommerce Blocks
* Plugin URI: https://github.com/woocommerce/woocommerce-gutenberg-products-block
* Description: WooCommerce blocks for the Gutenberg editor.
* Version: 2.5.0-dev
* Version: 2.5.0
* Author: Automattic
* Author URI: https://woocommerce.com
* Text Domain: woo-gutenberg-products-block
@ -23,7 +23,7 @@ $minimum_wp_version = '5.0';
/**
* Whether notices must be displayed in the current page (plugins and WooCommerce pages).
*
* @since $VID:$
* @since 2.5.0
*/
function should_display_compatibility_notices() {
$current_screen = get_current_screen();
@ -46,7 +46,7 @@ if ( version_compare( $GLOBALS['wp_version'], $minimum_wp_version, '<' ) ) {
/**
* Outputs for an admin notice about running WooCommerce Blocks on outdated WordPress.
*
* @since $VID:$
* @since 2.5.0
*/
function woocommerce_blocks_admin_unsupported_wp_notice() {
if ( should_display_compatibility_notices() ) {