Skip to content

Commit

Permalink
chore: bump version to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Aunshon committed Dec 14, 2023
1 parent 6b13db0 commit 4e83cd2
Show file tree
Hide file tree
Showing 22 changed files with 276 additions and 132 deletions.
File renamed without changes.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ vendor
node_modules
.DS_Store
package-lock.json
assets/dist
yarn-error.log
.vscode
build
26 changes: 26 additions & 0 deletions .idea/php.xml

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

6 changes: 6 additions & 0 deletions .idea/vcs.xml

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

128 changes: 128 additions & 0 deletions .idea/workspace.xml

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

7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
**Donate Link:** http://tareq.co/donate/
**Tags:** dokan, dokan migrator, multivendor marketplace
**Requires at least:** 5.8
**Tested up to:** 6.1.1
**Requires PHP:** 7.2
**Stable tag:** 1.0.0
**Tested up to:** 6.4.2
**WC tested up to:** 8.4.0
**Requires PHP:** 7.3
**Stable tag:** 1.1.0
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Expand Down
2 changes: 1 addition & 1 deletion appsero.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"node_modules",
"src",
"tests",
".github",
".babelrc",
".browserslistrc",
".editorconfig",
Expand All @@ -26,7 +27,6 @@
"plugin-deploy.sh",
"postcss.config.js",
"README.md",
"readme.txt",
"tailwind.config.js",
"tsconfig.json",
"webpack.config.js",
Expand Down
1 change: 1 addition & 0 deletions assets/dist/index.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'wp-element', 'wp-i18n'), 'version' => '5d6edc644b8a51eb7bb7');
2 changes: 2 additions & 0 deletions assets/dist/index.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/dist/index.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"minimum-stability": "stable",
"require": {
"php": ">=7.0.0|8.0",
"appsero/client": "dev-develop"
},
"require-dev": {
"wp-coding-standards/wpcs": "dev-master",
"dealerdirect/phpcodesniffer-composer-installer": "dev-master",
"tareq1988/wp-php-cs-fixer": "dev-master",
"phpcompatibility/phpcompatibility-wp": "dev-master"
"wp-coding-standards/wpcs": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"tareq1988/wp-php-cs-fixer": "*",
"phpcompatibility/phpcompatibility-wp": "*"
},
"scripts": {
"phpcs": [
Expand Down
8 changes: 4 additions & 4 deletions dokan-migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Dokan Migrator
* Plugin URI: http://WeDevs.com/
* Description: An e-commerce marketplace migration plugin for WordPress. Powered by WooCommerce and WeDevs.
* Version: 1.0.0
* Version: 1.1.0
* Author: WeDevs
* Author URI: https://WeDevs.com/
* Domain Path: /languages/
Expand Down Expand Up @@ -56,7 +56,7 @@ final class Dokan_Migrator {
*
* @var string
*/
public $version = '1.0.0';
public $version = '1.1.0';

/**
* Instance of self
Expand Down Expand Up @@ -198,7 +198,7 @@ public function init_appsero_tracker() {
return;
}

$client = new \Appsero\Client( 'Appsero key for dokan migrator plugin', 'Dokan Migrator', DOKAN_MIGRATOR_FILE );
$client = new \Appsero\Client( '2852f2fd-66ff-4649-9b00-5f9ed953f8b9', 'Dokan Migrator', DOKAN_MIGRATOR_FILE );
$insights = $client->insights();

$insights->add_extra(
Expand All @@ -215,7 +215,7 @@ function() {
/**
* Make dokan migrator plugin HPOS supported.
*
* @since DOKAN_MIG_SINCE
* @since 1.1.0
*
* @return void
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/Abstracts/OrderMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ abstract public function reset_sub_orders_if_needed();
/**
* Get seller by order/order id
*
* @since DOKAN_MIG_SINCE
* @since 1.1.0
*
* @return void
*/
Expand Down
4 changes: 2 additions & 2 deletions includes/Helpers/MigrationHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public static function get_migratable_plugin() {
* @param WC_Order $order
* @param string $map_by
*
* @since DOKAN_MIG_SINCE
* @since 1.1.0
*
* @return void
*/
Expand Down Expand Up @@ -184,7 +184,7 @@ public static function map_shipping_method_item_meta( WC_Order $order, $map_by =
/**
* Split shipping amount for all vendors if wcfm processing an order as admin shipping.
*
* @since DOKAN_MIG_SINCE
* @since 1.1.0
*
* @param WC_Order_Item_Shipping $applied_shipping_method
* @param int $order_id
Expand Down
14 changes: 7 additions & 7 deletions includes/Integrations/WcVendors/OrderMigrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
/**
* Order migration class.
*
* @since DOKAN_MIG_SINCE
* @since 1.1.0
*/
class OrderMigrator extends OrderMigration {

/**
* Class constructor.
*
* @since DOKAN_MIG_SINCE
* @since 1.1.0
*
* @param \WC_Order $order
*/
Expand All @@ -30,7 +30,7 @@ public function __construct( \WC_Order $order ) {
/**
* Create sub order if needed.
*
* @since DOKAN_MIG_SINCE
* @since 1.1.0
*
* @param int $seller_id
* @param array $seller_products
Expand Down Expand Up @@ -65,7 +65,7 @@ public function create_sub_order_if_needed( $seller_id, $seller_products, $paren
/**
* Delete sub orders if needed.
*
* @since DOKAN_MIG_SINCE
* @since 1.1.0
*
* @return void
*/
Expand All @@ -76,7 +76,7 @@ public function reset_sub_orders_if_needed() {
/**
* Gets order data from wc-vendors order table for dokan.
*
* @since DOKAN_MIG_SINCE
* @since 1.1.0
*
* @param int $parent_order_id
* @param int $seller_id
Expand Down Expand Up @@ -148,7 +148,7 @@ public function get_dokan_order_data( $parent_order_id, $seller_id ) {
/**
* Process refund for a child order.
*
* @since DOKAN_MIG_SINCE
* @since 1.1.0
*
* @param \Wc_Order $child_order
* @param integer $seller_id
Expand Down Expand Up @@ -180,7 +180,7 @@ public function process_refund( $child_order, $seller_id, $from_suborder = true
/**
* Returns all sellers of an order.
*
* @since DOKAN_MIG_SINCE
* @since 1.1.0
*
* @param int $order_id
*
Expand Down
Loading

0 comments on commit 4e83cd2

Please sign in to comment.