Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v4.17.1 #75

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ 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).

## [4.17.1] - 2024-04-03
### Fixed
- Import SDK files with vendor without using `composer install`

## [4.17.0] - 2024-04-01

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</a>
</p>

# Prestashop 1.7.x & 8.1.x - Mercado Pago Module (v4.17.0)
# Prestashop 1.7.x & 8.1.x - Mercado Pago Module (v4.17.1)

With the official module of Mercado Pago you will have an integration, hundreds of solutions and thousands of sales. Maximize your conversions and make your customers return to your store by increasing their confidence in the shopping experience

Expand Down
2 changes: 1 addition & 1 deletion bin/create-release-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ ! -d "$TMP_DIR" ]; then
fi

cd $BASE_DIR
cp -r !(*.md|composer.*|package*.json|mercadopago.zip|vendor|node_modules|phpcs.xml|scripts.js|bin) $TMP_DIR && cp -r .htaccess $TMP_DIR
cp -r !(*.md|composer.*|package*.json|mercadopago.zip|node_modules|phpcs.xml|scripts.js|bin) $TMP_DIR && cp -r .htaccess $TMP_DIR

if [ $? -ne 0 ]; then
echo "Error copying files"
Expand Down
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"prepend-autoloader": false
},
"require": {
"mp-plugins/php-sdk": "2.7.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "3.5.6",
"friendsofphp/php-cs-fixer": "2.16.4",
"guzzlehttp/guzzle": "^7.4",
"mp-plugins/php-sdk": "2.7.0"
"guzzlehttp/guzzle": "^7.4"
},
"scripts": {
"phpcs": [
Expand Down
6 changes: 4 additions & 2 deletions mercadopago.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@
* International Registered Trademark & Property of MercadoPago
*/

define('MP_VERSION', '4.17.0');
define('MP_VERSION', '4.17.1');
define('MP_ROOT_URL', dirname(__FILE__));

if (!defined('_PS_VERSION_')) {
exit;
}

require_once MP_ROOT_URL . '/vendor/autoload.php';

class Mercadopago extends PaymentModule
{
public $tab;
Expand Down Expand Up @@ -74,7 +76,7 @@ public function __construct()
$this->bootstrap = true;

//Always update, because prestashop doesn't accept version coming from another variable (MP_VERSION)
$this->version = '4.17.0';
$this->version = '4.17.1';
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);

parent::__construct();
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main": "scripts.js",
"version": "4.17.0",
"version": "4.17.1",
"description": "Gateway de pagamento Mercado Pago para PrestaShop",
"repository": {
"type": "git",
Expand Down
Loading