Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Bumping version strings to new version.
Browse files Browse the repository at this point in the history
  • Loading branch information
senadir committed Nov 19, 2019
1 parent 9ae6817 commit 2a28c06
Show file tree
Hide file tree
Showing 32 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions src/Assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -30,7 +30,7 @@ public static function init() {
/**
* Register block scripts & styles.
*
* @since $VID:$
* @since 2.5.0
* Moved data related enqueuing to new AssetDataRegistry class
* as part of ongoing refactoring.
*/
Expand Down Expand Up @@ -90,7 +90,7 @@ public static function add_theme_body_class( $classes = [] ) {
* @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' );
Expand Down
8 changes: 4 additions & 4 deletions src/Assets/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* The Api class provides an interface to various asset registration helpers.
*
* @since $VID:$
* @since 2.5.0
*/
class Api {

Expand Down Expand Up @@ -88,7 +88,7 @@ protected function get_dependencies(
* 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
Expand Down Expand Up @@ -120,7 +120,7 @@ public function register_script( $handle, $relative_src, $deps = [], $has_i18n =
/**
* 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.
*/
Expand All @@ -134,7 +134,7 @@ public function register_block_script( $name ) {
/**
* 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.
Expand Down
4 changes: 2 additions & 2 deletions src/Assets/AssetDataRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -16,7 +16,7 @@
* Class instance for registering data used on the current view session by
* assets.
*
* @since $VID:$
* @since 2.5.0
*/
class AssetDataRegistry {
/**
Expand Down
6 changes: 3 additions & 3 deletions src/Assets/BackCompatAssetDataRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -13,7 +13,7 @@
*
* Note: This will be removed at some point.
*
* @since $VID:$
* @since 2.5.0
*/
class BackCompatAssetDataRegistry extends AssetDataRegistry {
/**
Expand All @@ -28,7 +28,7 @@ public function enqueue_asset_data() {
* Back-compat filter, developers, use 'woocommerce_shared_settings'
* filter, not this one.
*
* @deprecated $VID:$
* @deprecated 2.5.0
*/
$data = apply_filters(
'woocommerce_components_settings',
Expand Down
2 changes: 1 addition & 1 deletion src/Domain/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* Takes care of bootstrapping the plugin.
*
* @since $VID:$
* @since 2.5.0
*/
class Bootstrap {

Expand Down
2 changes: 1 addition & 1 deletion src/Domain/Package.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* Main package class.
*
* @since $VID:$
* @since 2.5.0
*/
class Package {

Expand Down
8 changes: 4 additions & 4 deletions src/Package.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* Main package class. (Loader in the WC Core context as well)
*
* @since $VID:$
* @since 2.5.0
*/
class Package {

Expand All @@ -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() {
Expand All @@ -35,7 +35,7 @@ protected static function get_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 );
Expand Down Expand Up @@ -78,7 +78,7 @@ public static function container( $reset = false ) {
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
Expand Down
2 changes: 1 addition & 1 deletion src/Registry/AbstractDependencyType.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Dependency Injection Container for storing dependencies to invoke as they
* are needed.
*
* @since $VID:$
* @since 2.5.0
*/
abstract class AbstractDependencyType {

Expand Down
2 changes: 1 addition & 1 deletion src/Registry/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* This is used to manage dependencies used throughout the plugin.
*
* @since $VID:$
* @since 2.5.0
*/
class Container {

Expand Down
2 changes: 1 addition & 1 deletion src/Registry/FactoryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* Definition for the FactoryType dependency type.
*
* @since $VID:$
* @since 2.5.0
*/
class FactoryType extends AbstractDependencyType {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Registry/SharedType.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* A definition for the SharedType dependency type.
*
* @since $VID:$
* @since 2.5.0
*/
class SharedType extends AbstractDependencyType {

Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Controllers/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* Cart API.
*
* @since $VID:$
* @since 2.5.0
*/
class Cart extends RestContoller {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Controllers/CartItems.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* Cart API.
*
* @since $VID:$
* @since 2.5.0
*/
class CartItems extends RestContoller {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Controllers/ProductAttributeTerms.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* Product attribute terms API.
*
* @since $VID:$
* @since 2.5.0
*/
class ProductAttributeTerms extends RestContoller {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Controllers/ProductAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* Product attributes API.
*
* @since $VID:$
* @since 2.5.0
*/
class ProductAttributes extends RestContoller {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Controllers/ProductCollectionData.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* ProductCollectionData API.
*
* @since $VID:$
* @since 2.5.0
*/
class ProductCollectionData extends RestContoller {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Controllers/Products.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Products API.
*
* @since $VID:$
* @since 2.5.0
*/
class Products extends RestContoller {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Schemas/AbstractSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* AbstractBlock class.
*
* @since $VID:$
* @since 2.5.0
*/
abstract class AbstractSchema {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Schemas/CartItemSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* AbstractBlock class.
*
* @since $VID:$
* @since 2.5.0
*/
class CartItemSchema extends AbstractSchema {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Schemas/CartSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* CartSchema class.
*
* @since $VID:$
* @since 2.5.0
*/
class CartSchema extends AbstractSchema {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Schemas/ProductAttributeSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* ProductAttributeSchema class.
*
* @since $VID:$
* @since 2.5.0
*/
class ProductAttributeSchema extends AbstractSchema {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Schemas/ProductSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* ProductSchema class.
*
* @since $VID:$
* @since 2.5.0
*/
class ProductSchema extends AbstractSchema {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Schemas/TermSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* TermSchema class.
*
* @since $VID:$
* @since 2.5.0
*/
class TermSchema extends AbstractSchema {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Utilities/CartController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* Woo Cart Controller class.
*
* @since $VID:$
* @since 2.5.0
*/
class CartController {

Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Utilities/Pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Pagination class.
*
* @since $VID:$
* @since 2.5.0
*/
class Pagination {

Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Utilities/ProductFiltering.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* Product Query fllters class.
*
* @since $VID:$
* @since 2.5.0
*/
class ProductQueryFilters {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Utilities/ProductQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Product Query class.
*
* @since $VID:$
* @since 2.5.0
*/
class ProductQuery {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/RestApi/StoreApi/Utilities/TermQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Term Query class.
*
* @since $VID:$
* @since 2.5.0
*/
class TermQuery {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Utils/BlocksWpQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* BlocksWpQuery query.
*
* @deprecated $VID:$
* @deprecated 2.5.0
*/
class BlocksWpQuery extends WP_Query {
/**
Expand Down
Loading

0 comments on commit 2a28c06

Please sign in to comment.