Skip to content

Commit

Permalink
Release 3.3.2-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrowanwallee committed Dec 3, 2024
1 parent 4fd2191 commit 7368aa9
Show file tree
Hide file tree
Showing 14 changed files with 53 additions and 24 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/soft-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Soft Release Plugin
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+-beta*'
- '[0-9]+.[0-9]+.[0-9]+-rc*'

jobs:
beta_release:
name: Soft Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Pre-Release Notice
run: |
echo "Pre-release tag detected. Skipping full release steps. Only pre-release actions will be performed."
4 changes: 2 additions & 2 deletions .github/workflows/woo-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Release Plugin
on:
push:
tags:
- '*'
- '[0-9]+.[0-9]+.[0-9]+'

jobs:
tag:
name: New release
name: Full Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This repository contains the wallee plugin that enables WooCommerce to process p

## Documentation

* [Documentation](https://plugin-documentation.wallee.com/wallee-payment/woocommerce/3.3.1/docs/en/documentation.html)
* [Documentation](https://plugin-documentation.wallee.com/wallee-payment/woocommerce/3.3.2-beta/docs/en/documentation.html)

## Support

Expand All @@ -33,7 +33,7 @@ ____________________________________________________________________________

## License

Please see the [license file](https://github.com/wallee-payment/woocommerce/blob/3.3.1/LICENSE) for more information.
Please see the [license file](https://github.com/wallee-payment/woocommerce/blob/3.3.2-beta/LICENSE) for more information.

## Privacy Policy

Expand Down
2 changes: 1 addition & 1 deletion assets/js/frontend/blocks/build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('@woocommerce/blocks-registry', 'react', 'wp-polyfill'), 'version' => '7d280224628cd5ce269b');
<?php return array('dependencies' => array('@woocommerce/blocks-registry', 'react', 'wp-polyfill'), 'version' => '8de5d1b01ac08d3a2491');
2 changes: 1 addition & 1 deletion assets/js/frontend/blocks/build/index.js

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

8 changes: 8 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -859,3 +859,11 @@ Please ensure that in woocommerce->settings->tax, the "Round tax at subtotal lev
- [Tested Against] Woocommerce 9.3.2
- [Tested Against] PHP SDK 4.6.0

= 3.3.2-beta - December 3 2024 =
- [Improvement] Improve payment method loading speed at checkout
- [Bugfix] Fix for missing transaction box in order
- [Tested Against] PHP 8.2
- [Tested Against] Wordpress 6.7
- [Tested Against] Woocommerce 9.4.2
- [Tested Against] PHP SDK 4.6.0

2 changes: 1 addition & 1 deletion docs/en/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h2>Documentation</h2> </div>
</a>
</li>
<li>
<a href="https://github.com/wallee-payment/woocommerce/releases/tag/3.3.1/">
<a href="https://github.com/wallee-payment/woocommerce/releases/tag/3.3.2-beta/">
Source
</a>
</li>
Expand Down
Binary file removed docs/en/resource/method.png
Binary file not shown.
Binary file removed docs/en/resource/settings.png
Binary file not shown.
2 changes: 1 addition & 1 deletion includes/admin/class-wc-wallee-admin-settings-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public function get_settings() {
$settings = array(
array(
'links' => array(
'https://plugin-documentation.wallee.com/wallee-payment/woocommerce/3.3.1/docs/en/documentation.html' => esc_html__( 'Documentation', 'woo-wallee' ),
'https://plugin-documentation.wallee.com/wallee-payment/woocommerce/3.3.2-beta/docs/en/documentation.html' => esc_html__( 'Documentation', 'woo-wallee' ),
'https://app-wallee.com/user/signup' => esc_html__( 'Sign Up', 'woo-wallee' ),
),
'type' => 'wallee_links',
Expand Down
13 changes: 9 additions & 4 deletions includes/admin/class-wc-wallee-admin-transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,23 @@ public static function init() {
__CLASS__,
'add_meta_box',
),
40
40,
2
);
}

/**
* Add WC Meta boxes.
*
* @see: https://woo.com/document/high-performance-order-storage/#section-8
* @see: https://developer.wordpress.org/reference/hooks/add_meta_boxes/
*/
public static function add_meta_box() {
if ( empty( $post ) || ! ( $post instanceof WP_Post ) || empty( $post->ID ) || 'shop_order' != $post->post_type ) {
return;
public static function add_meta_box( $post_type = "", $post_or_order_object = null ) {
// WooCommerce is moving the Order information from Post to Order class. For now, we need to support both ways.
if ( empty( $post_or_order_object ) || ! ( $post_or_order_object instanceof \Automattic\WooCommerce\Admin\Overrides\Order) ) {
if ( empty( $post_or_order_object ) || ! ( $post_or_order_object instanceof WP_Post ) || empty( $post_or_order_object->ID ) || 'shop_order' != $post_or_order_object->post_type ) {
return;
}
}
$screen = class_exists( '\Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController' )
&& wc_get_container()->get( \Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController::class )->custom_orders_table_usage_is_enabled()
Expand Down
2 changes: 1 addition & 1 deletion includes/class-wc-wallee-migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public static function check_version() {
public static function plugin_row_meta( $links, $file ) {
if ( WC_WALLEE_PLUGIN_BASENAME === $file ) {
$row_meta = array(
'docs' => '<a href="https://plugin-documentation.wallee.com/wallee-payment/woocommerce/3.3.1/docs/en/documentation.html" aria-label="' . esc_html__( 'View Documentation', 'woo-wallee' ) . '">' . esc_html__( 'Documentation', 'woo-wallee' ) . '</a>',
'docs' => '<a href="https://plugin-documentation.wallee.com/wallee-payment/woocommerce/3.3.2-beta/docs/en/documentation.html" aria-label="' . esc_html__( 'View Documentation', 'woo-wallee' ) . '">' . esc_html__( 'Documentation', 'woo-wallee' ) . '</a>',
);

return array_merge( $links, $row_meta );
Expand Down
13 changes: 6 additions & 7 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: wallee AG
Tags: woocommerce wallee, woocommerce, wallee, payment, e-commerce, webshop, psp, invoice, packing slips, pdf, customer invoice, processing
Requires at least: 4.7
Tested up to: 6.6
Stable tag: 3.3.1
Stable tag: 3.3.2-beta
License: Apache 2
License URI: http://www.apache.org/licenses/LICENSE-2.0

Expand All @@ -23,7 +23,7 @@ To use this extension, a wallee account is required. Sign up on [wallee](https:/

== Documentation ==

Additional documentation for this plugin is available [here](https://plugin-documentation.wallee.com/wallee-payment/woocommerce/3.3.1/docs/en/documentation.html).
Additional documentation for this plugin is available [here](https://plugin-documentation.wallee.com/wallee-payment/woocommerce/3.3.2-beta/docs/en/documentation.html).

== Support ==

Expand Down Expand Up @@ -64,11 +64,10 @@ Enquiries about our terms of use can be made on the [wallee terms of use site](h
== Changelog ==


= 3.3.1 - October 14 2024 =
- [Feature] Added CH, FR and IT translations
= 3.3.2-beta - December 3 2024 =
- [Improvement] Improve payment method loading speed at checkout
- [Bugfix] Fix for incompatibility with Translatepress
- [Bugfix] Fix for missing transaction box in order
- [Tested Against] PHP 8.2
- [Tested Against] Wordpress 6.6
- [Tested Against] Woocommerce 9.3.2
- [Tested Against] Wordpress 6.7
- [Tested Against] Woocommerce 9.4.2
- [Tested Against] PHP SDK 4.6.0
8 changes: 4 additions & 4 deletions woocommerce-wallee.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
* Plugin Name: wallee
* Plugin URI: https://wordpress.org/plugins/woo-wallee
* Description: Process WooCommerce payments with wallee.
* Version: 3.3.1
* Version: 3.3.2-beta
* Author: wallee AG
* Author URI: https://www.wallee.com
* Text Domain: wallee
* Domain Path: /languages/
* Requires at least: 6.0
* Requires PHP: 7.4
* WC requires at least: 8.0.0
* WC tested up to 9.3.1
* WC tested up to 9.4.2
* License: Apache 2
* License URI: http://www.apache.org/licenses/LICENSE-2.0
*/
Expand Down Expand Up @@ -46,7 +46,7 @@ final class WooCommerce_Wallee {
*
* @var string
*/
private $version = '3.3.1';
private $version = '3.3.2-beta';

/**
* The single instance of the class.
Expand Down Expand Up @@ -693,7 +693,7 @@ function () {
// The goal here is to speed up the process of registering the payment methods.
$payment_methods = WC_Wallee_Blocks_Support::get_payment_methods();
$json_data = json_encode( $payment_methods );
$content .= '<div id="whitelabel-payment-methods" data-json="' . esc_attr($json_data) . '"></div>';
$content .= '<div id="wallee-payment-methods" data-json="' . esc_attr( $json_data ) . '"></div>';
}

return $content;
Expand Down

0 comments on commit 7368aa9

Please sign in to comment.