Skip to content

Commit

Permalink
Merge pull request #467 from omise/release-v5.9.0
Browse files Browse the repository at this point in the history
Release v5.9.0
  • Loading branch information
aashishgurung authored Jul 24, 2024
2 parents f83aa37 + 4817e9f commit 345fd79
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

## [v5.9.0 _(Jul 24, 2024)_](https://github.com/omise/omise-woocommerce/releases/tag/v5.9.0)
- Resolve dynamic property deprecation error for PHP 8.2 and above. (PR: [#465](https://github.com/omise/omise-woocommerce/pull/465))

## [v5.8.3 _(May 8, 2024)_](https://github.com/omise/omise-woocommerce/releases/tag/v5.8.3)
- Remove OCBC PAO (PR: [#449](https://github.com/omise/omise-woocommerce/pull/449))

Expand Down
1 change: 1 addition & 0 deletions includes/class-omise-wc-myaccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
defined( 'ABSPATH' ) or die( 'No direct script access allowed.' );

if ( ! class_exists( 'Omise_MyAccount' ) ) {
#[AllowDynamicProperties]
class Omise_MyAccount
{
private static $instance;
Expand Down
1 change: 1 addition & 0 deletions includes/classes/class-omise-customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
defined( 'ABSPATH' ) or die( "No direct script access allowed." );

if ( ! class_exists( 'Omise_Customer' ) ) {
#[AllowDynamicProperties]
class Omise_Customer
{
private $customer;
Expand Down
1 change: 1 addition & 0 deletions includes/gateway/class-omise-payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
return;
}

#[AllowDynamicProperties]
abstract class Omise_Payment extends WC_Payment_Gateway {
use Sync_Order;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
define('OMISE_API_URL', 'https://api.omise.co/');
define('OMISE_VAULT_URL', 'https://vault.omise.co/');

#[\AllowDynamicProperties]
class OmiseApiResource extends OmiseObject
{
// Request methods
Expand Down
5 changes: 3 additions & 2 deletions omise-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Opn Payments
* Plugin URI: https://www.omise.co/woocommerce
* Description: Opn Payments is a WordPress plugin designed specifically for WooCommerce. The plugin adds support for Opn Payments Payment Gateway's payment methods to WooCommerce.
* Version: 5.8.3
* Version: 5.9.0
* Author: Opn Payments and contributors
* Author URI: https://github.com/omise/omise-woocommerce/graphs/contributors
* Text Domain: omise
Expand All @@ -15,14 +15,15 @@
*/
defined('ABSPATH') or die('No direct script access allowed.');

#[AllowDynamicProperties]
class Omise
{
/**
* Omise plugin version number.
*
* @var string
*/
public $version = '5.8.3';
public $version = '5.9.0';

/**
* The Omise Instance.
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: Opn Payments
Tags: opn payments, payment, payment gateway, woocommerce plugin, omise, opn, installment, internet banking, alipay, paynow, truemoney, woocommerce payment
Requires at least: 4.3.1
Tested up to: 6.4.2
Stable tag: 5.8.3
Stable tag: 5.9.0
License: MIT
License URI: https://opensource.org/licenses/MIT

Expand Down Expand Up @@ -34,6 +34,10 @@ From there:

== Changelog ==

= 5.9.0 =

- Resolve dynamic property deprecation error for PHP 8.2 and above. (PR: [#465](https://github.com/omise/omise-woocommerce/pull/465))

= 5.8.3 =

- Remove OCBC PAO (PR: [#449](https://github.com/omise/omise-woocommerce/pull/449))
Expand Down

0 comments on commit 345fd79

Please sign in to comment.