Skip to content

Commit

Permalink
Merge pull request #363 from mercadopago/release/7.6.1
Browse files Browse the repository at this point in the history
Release v7.6.1
  • Loading branch information
DouglasCorreiaMeli authored Jul 8, 2024
2 parents c170e29 + ac9c51f commit 60a7a26
Show file tree
Hide file tree
Showing 76 changed files with 6,643 additions and 5,219 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ coverage
/.vscode/
/vendor/
/node_modules/
/code_analysis

woocommerce-mercadopago.zip

qit-env.json
13 changes: 10 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
repos:
# Websec hook is MANDATORY, DO NOT comment it.
- repo: https://github.com/melisource/fury_websec-git-hooks
rev: v1.0.5
- repo: git@github.com-emu:melisource/fury_websec-git-hooks
rev: v1.1.0
hooks:
- id: pre_commit_hook
stages: [commit]
- id: post_commit_hook
stages: [post-commit]
stages: [post-commit]

- repo: git@github.com:melisource/fury_datasec-git-hooks.git
rev: 1.0.3
hooks:
- id: pre_commit_hook
stages: [ commit ]
verbose: true
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [7.6.1] - 2024-06-26
### Fix:
- Addressed an funnel metrics issue

## [7.6.0] - 2024-06-26
### Added:
- Integration with [WooCommerce QIT](https://qit.woo.com/docs/). QIT is a testing platform for WordPress Plugins and Themes developed by WooCommerce, allowing developers to run a series of managed tests out-of-the-box.
- Implementation of a fallback using WP-cron to resolve the issue of stores' orders remaining in pending status. This feature prevents orders from getting stuck in the pending process by actively updating passive orders, ensuring smoother order management.
### Changed:
- Incorporated code quality enhancements based on QIT recommendations.

## [7.5.1] - 2024-06-05
### Fixed:
- Addressed a problem where one could not change the layout to use woocommerce blocks feature, causing even some pages that use blocks beeing unable to load properly.
Expand Down
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.PHONY: build

build:
./bin/create-release-zip.sh

release:
./bin/setup-release.sh

sync:
./bin/sync-sdk.sh $(tag)
10 changes: 0 additions & 10 deletions assets/css/admin/mp-admin-settings.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
/* TODO: remove this if not useful
body {
background: #f0f0f1;
color: #3c434a;
font-size: 13px;
line-height: 1.4em;
min-width: 600px;
}
*/

.mp-settings {
margin: 0 55px 0 23px;
font-size: 16px;
Expand Down
1 change: 1 addition & 0 deletions assets/js/admin/mp-admin-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ function mpUpdateStoreInformation() {
store_integrator_id: document.getElementById('mp-store-integrator-id').value,
store_identificator: document.getElementById('mp-store-identification').value,
store_debug_mode: document.querySelector('#mp-store-debug-mode:checked')?.value,
store_cron_config: document.querySelector('#mp-store-cron-config:checked')?.value,
action: 'mp_update_store_information',
nonce: mercadopago_settings_admin_js_params.nonce,
},
Expand Down
2 changes: 1 addition & 1 deletion assets/js/admin/mp-admin-settings.min.js

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions changelog.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
CHANGELOG:
== Changelog ==

= v7.6.1 (26/06/2024) =
* Fix:
- Addressed an funnel metrics issue

= v7.6.0 (26/06/2024) =
* Added:
- Integration with [WooCommerce QIT](https://qit.woo.com/docs/). QIT is a testing platform for WordPress Plugins and Themes developed by WooCommerce, allowing developers to run a series of managed tests out-of-the-box.
- Implementation of a fallback using WP-cron to resolve the issue of stores' orders remaining in pending status. This feature prevents orders from getting stuck in the pending process by actively updating passive orders, ensuring smoother order management.
* Changed:
- Incorporated code quality enhancements based on QIT recommendations.

= v7.5.1 (05/06/2024) =
*Fixed:
- Addressed a problem where one could not change the layout to use woocommerce blocks feature, causing even some pages that use blocks beeing unable to load properly.
Expand Down
24 changes: 21 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"psr-4": {
"MercadoPago\\Woocommerce\\": [
"src"
],
"MercadoPago\\PP\\Sdk\\": [
"packages/sdk/src"
]
}
},
Expand All @@ -25,17 +28,32 @@
},
"scripts": {
"phpcs": "./vendor/bin/phpcs --standard=phpcs.xml src assets templates woocommerce-mercadopago.php",
"phpcbf": "./vendor/bin/phpcbf --standard=phpcs.xml src assets templates woocommerce-mercadopago.php"
"phpcbf": "./vendor/bin/phpcbf --standard=phpcs.xml src assets templates woocommerce-mercadopago.php",
"metrics": "./vendor/bin/phpmetrics src --report-html=./code_analysis",
"metrics:path": "./vendor/bin/phpmetrics --report-html=./code_analysis -d",
"qit:get": "./vendor/bin/qit get",
"qit:e2e": "./vendor/bin/qit run:woo-e2e woocommerce-mercadopago --zip woocommerce-mercadopago.zip",
"qit:stan": "./vendor/bin/qit run:phpstan woocommerce-mercadopago --zip woocommerce-mercadopago.zip",
"qit:comp": "./vendor/bin/qit run:phpcompatibility woocommerce-mercadopago --zip woocommerce-mercadopago.zip",
"qit:sec": "./vendor/bin/qit run:security woocommerce-mercadopago --zip woocommerce-mercadopago.zip",
"qit:api": "./vendor/bin/qit run:woo-api woocommerce-mercadopago --zip woocommerce-mercadopago.zip",
"qit:env-up": "./vendor/bin/qit env:up --config ./qit-env.json",
"qit:env-down": "./vendor/bin/qit env:down"
},
"require": {
"php": ">=7.2"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.7"
"squizlabs/php_codesniffer": "^3.7",
"phpmetrics/phpmetrics": "^2.8",
"woocommerce/qit-cli": "^0.5.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"wp-coding-standards/wpcs": "^2.2.1"
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
Loading

0 comments on commit 60a7a26

Please sign in to comment.