Skip to content

Commit

Permalink
Release version 3.4.8 (#92)
Browse files Browse the repository at this point in the history
* Added indexing for the context field in the Scheduler.

CR-SET50

* Release version 3.4.7

* Add unsupported country Japan

ISSUE: CS-6346

* Release version 3.4.8

ISSUE: CS-6346

---------

Co-authored-by: Sofija Dokmanovic <[email protected]>
Co-authored-by: Marija <[email protected]>
Co-authored-by: Sofija Dokmanovic <[email protected]>
  • Loading branch information
4 people authored Dec 10, 2024
1 parent 840247f commit 91e51f0
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## [3.4.8](https://github.com/packlink-dev/ecommerce_module_core/compare/v3.4.7...v3.4.8) - 2024-12-09
### Changed
- Add unsupported country Japan

## [3.4.7](https://github.com/packlink-dev/ecommerce_module_core/compare/v3.4.6...v3.4.7) - 2024-11-20
### Changed
- Add index for context field in Scheduler entity
Expand Down
4 changes: 4 additions & 0 deletions src/Brands/Packlink/PacklinkConfigurationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ class PacklinkConfigurationService implements BrandConfigurationService
'code' => 'DZ',
'postal_code' => '16000',
),
'JP' => array(
'code' => 'JP',
'postal_code' => '100-0001',
),
);

/**
Expand Down
2 changes: 1 addition & 1 deletion src/BusinessLogic/Resources/countries/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
"IM": "Isle of Man",
"IL": "Israel",
"JM": "Jamaica",
"JP": "Japan",
"JP": "Japón",
"JE": "Jersey",
"JO": "Jordan",
"KZ": "Kazakhstan",
Expand Down
2 changes: 1 addition & 1 deletion src/BusinessLogic/Resources/countries/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
"IM": "Isle of Man",
"IL": "Israel",
"JM": "Jamaica",
"JP": "Japan",
"JP": "Japon",
"JE": "Jersey",
"JO": "Jordan",
"KZ": "Kazakhstan",
Expand Down
2 changes: 1 addition & 1 deletion src/BusinessLogic/Resources/countries/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
"IM": "Isle of Man",
"IL": "Israel",
"JM": "Jamaica",
"JP": "Japan",
"JP": "Giappone",
"JE": "Jersey",
"JO": "Jordan",
"KZ": "Kazakhstan",
Expand Down
1 change: 1 addition & 0 deletions src/BusinessLogic/Resources/countries/translations.csv
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ countries,CY,Cyprus,Chipre,Zypern,Chypre,Cipro
countries,SI,Slovenia,Slovenia,Slowenien,Slovénie,Slovenia
countries,SK,Slovakia,Eslovaquia,Slowakei,Slovaquie,Slovacchia
countries,DZ,Algeria,Argelia,Algerien,Algérie,Algeria
countries,JP,Japan,Japón,Japan,Japon,Giappone
onboardingWelcome,header,Let's set up basic information so that<br>you can make shipments,Vamos a configurar tu información básica <br> para poder hacer envíos,"Richten Sie nun die grundlegenden Informationen ein, damit<br>Sie Versendungen vornehmen können",Configurez vos informations de base afin<br>d’effectuer des envois,È necessario impostare alcuni dati di base così che<br>potrai effettuare spedizioni
onboardingWelcome,steps,It's just two steps that we need to go through to offer you the<br>carrier that best suits your needs,"Son solo dos pasos, los necesitamos para ofrecerte los servicios <br> de transporte que más se adaptan a tus necesidades.","In nur zwei Schritten können wir Ihnen den <br>Spediteur anbieten, der all Ihre Anforderungen erfüllt",Il ne vous reste que deux étapes pour savoir quel<br>transporteur répond le mieux à vos besoins,Si tratta di due semplici passaggi che dobbiamo completare per offrirti la<br>compagnia di trasporto che più si adatta alle tue esigenze
onboardingWelcome,stepOne,Set parcel details,Configurar los detalles del paquete,Paketangaben einfügen,Configurez les informations sur le colis,Imposta i dettagli del pacco
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function testGetSupportedCountries()
$countries = $service->getSupportedCountries();

$this->assertNotEmpty($countries);
$this->assertCount(42, $countries);
$this->assertCount(43, $countries);
$this->assertArrayHasKey('MX', $countries);
$this->assertEquals('Mexico', $countries['MX']->name);
$this->assertEquals('MX', $countries['MX']->code);
Expand Down
2 changes: 2 additions & 0 deletions tests/BusinessLogic/Tasks/UpdateShippingServicesTaskTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ public function testExecuteNewAndDelete()
new HttpResponse(200, array(), '[]'),
new HttpResponse(200, array(), '[]'),
new HttpResponse(200, array(), '[]'),
new HttpResponse(200, array(), '[]'),
)
);

Expand Down Expand Up @@ -400,6 +401,7 @@ protected function getValidMockResponses()
new HttpResponse(200, array(), '[]'),
new HttpResponse(200, array(), '[]'),
new HttpResponse(200, array(), '[]'),
new HttpResponse(200, array(), '[]'),
);
}

Expand Down

0 comments on commit 91e51f0

Please sign in to comment.