Skip to content

Commit

Permalink
build(change-log): v2.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
criskell committed Oct 26, 2023
1 parent 804c549 commit cdce6cd
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 6 deletions.
54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
#### 2.11.0 (2023-10-26)

##### Build System / Dependencies

* **deps-dev:**
* bump eslint-plugin-import from 2.28.1 to 2.29.0 (#1303) (04eb5af6)
* bump @types/react from 18.2.31 to 18.2.32 (#1330) (6d8f6cc8)
* bump eslint-import-resolver-webpack (#1302) (2ac0e514)
* bump @types/jquery from 3.5.24 to 3.5.25 (#1301) (970afb7e)
* bump @types/react from 18.2.30 to 18.2.31 (#1300) (fac10386)
* bump @types/react from 18.2.28 to 18.2.30 (#1298) (0c520afc)
* bump @types/unused-files-webpack-plugin (#1296) (f6e19ac4)
* **change-log:** v2.10.0 (#1295) (bbd3ac8a)

##### New Features

* **thankyou:** log data (#1305) (2ce809db)

##### Bug Fixes

* **webhook:**
* get correlationID correctly on woovi parcelado (#1331) (804c5495)
* add more compability with hpos on parcelado webhook (#1324) (b925382d)
* add more support for hpos on crediary webhook (#1323) (8d22eab8)
* use woo api for hpos compatibility on pix gateway (#1322) (25e39b68)
* bring back webhook signature validation (#1314) (de25b41d)
* support hpos on woovi parcelado (#1313) (1b465da6)
* hpos crediary (#1312) (77d51349)
* return order id on pix gateway's webhook for the sake of debugging (#1311) (ac95d4ed)
* get order using woo API on pix gateway (#1310) (f0a4b27d)
* **order-detail:**
* unique gateway on woovi parcelado (#1329) (c360c367)
* check if gateway if crediary (#1328) (7e031755)
* only show qrcode if gateway is the current on pix (#1327) (6220412a)
* show qrcode when myaccount postname is non english and support hpos on crediary (#1320) (3ad3d92a)
* display qrcode when postname is non-english and support hpos on parcelado (#1319) (416d7176)
* **pix:** remove order id (#1326) (6382653b)
* **parcelado:**
* remove unexpected brace (#1325) (3efd3be2)
* hpos (#1308) (406e9fed)
* **woo:** declare hpos compability (#1321) (7c9f4d9d)
* **qrcode:** show qrcode on non-english account pages and support hpos (#1318) (ad28e035)
* **crediary:** hpos (#1307) (f23b4e95)
* **hpos:** add support for hpos on checkout (#1306) (136a9608)
* **thank-you:** remove unused fields (#1304) (071809fa)

##### Refactors

* **parcelado:** drop unused global (#1317) (c417efac)
* **pix:** avoid unused globals (#1316) (eb61d988)
* **webhook:**
* drop duplicated order existing check (#1315) (8589949e)
* drop unused class (#1309) (3aad5287)

#### 2.10.0 (2023-10-19)

##### Build System / Dependencies
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "woocommerce-openpix",
"version": "2.10.0",
"version": "2.11.0",
"devDependencies": {
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-export-default-from": "7.22.17",
Expand Down
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: woocommerce, openpix, payment
Requires at least: 4.0
Tested up to: 6.1.1
Requires PHP: 5.6
Stable tag: 2.10.0
Stable tag: 2.11.0
License: GPLv2 or later
License URI: <http://www.gnu.org/licenses/gpl-2.0.html>

Expand Down Expand Up @@ -89,6 +89,12 @@ Se precisar falar com nosso time, acesse o chat disponível em nosso site.

== Changelog ==

= 2.10.1 - 2023-10-26 =

- Adicionada compatibilidade com HPOS.
- Mostrar QRCode quando a página da minha conta tiver uma URL que não esteja em inglês.
- Remover a duplicação de gateways de pagamento na página minha conta.

= 2.10.0 - 2023-10-19 =

* Adicionar novo método de pagamento com Pix Crediário.
Expand Down
10 changes: 6 additions & 4 deletions woocommerce-openpix.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Description: Aceite pagamentos Pix em com atualização em tempo real, checkout transparente e atualização automática de status do pedido.
* Author: OpenPix
* Author URI: https://openpix.com.br/
* Version: 2.10.0
* Version: 2.11.0
* Text Domain: woocommerce-openpix
* WC tested up to: 7.6.0
* @package WooCommerce_OpenPix
Expand All @@ -24,8 +24,10 @@
)
) {
// declare compatibility with HPOS before all
add_action('before_woocommerce_init', function() {
if (class_exists(\Automattic\WooCommerce\Utilities\FeaturesUtil::class)) {
add_action('before_woocommerce_init', function () {
if (
class_exists(\Automattic\WooCommerce\Utilities\FeaturesUtil::class)
) {
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility(
'custom_order_tables',
__FILE__,
Expand All @@ -45,7 +47,7 @@ function woocommerce_openpix_init()

class WC_OpenPix
{
const VERSION = '2.10.0';
const VERSION = '2.11.0';

protected static $instance = null;

Expand Down

0 comments on commit cdce6cd

Please sign in to comment.