Skip to content

Commit

Permalink
chore: update to 2.3.0 (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
joerivanveen committed Mar 14, 2024
1 parent 2bda5c9 commit 86bdde6
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Version 2.3.0

#### New features
- feat(checkout): allow package type choice

#### Improvements
- fix(settings): remove superfluous settings and correct labels
- fix(checkout): show correct shipping prices
- fix(checkout): prevent changes to address that are not propagated

# Version 2.2.0

#### New features
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG_de-DE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Version 2.3.0

#### Neue Funktionen
- feat(checkout): Auswahl des Pakettyps zulassen

#### Verbesserungen
- fix(settings): Überflüssige Einstellungen entfernen und Beschriftungen korrigieren
- fix(checkout): korrekte Versandpreise anzeigen
- fix(checkout): Verhindert Änderungen an der Adresse, die nicht weitergegeben werden

# Version 2.2.0

### New features
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG_nl-NL.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Version 2.3.0

#### New features
- feat(checkout): pakkettype keuze toestaan

#### Improvements
- fix(settings): verwijder overbodige instellingen en corrigeer labels
- fix(checkout): toon de juiste verzendprijzen
- fix(checkout): voorkom adres aanpassingen die niet doorgegeven worden

# Versie 2.2.0

### New features
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Shopware 6 MyParcel

[![GitHub release](https://img.shields.io/github/v/release/myparcelnl/shopware6?logo=github)](https://github.com/myparcelnl/shopware6/releases/latest)
![Supported Shopware 6 Version](https://img.shields.io/badge/Shopware-%3E6.3.0.0-189fff?labelColor=fff&logo=shopware)
![Supported Shopware 6 Version](https://img.shields.io/badge/Shopware-%3E6.5.0.0-189fff?labelColor=fff&logo=shopware)

Welcome to the Shopware 6 MyParcel repository on GitHub. Here you can browse
the source, look at open issues and keep
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mypashopware/myparcel",
"description": "MyParcel integration for Shopware 6",
"version": "2.2.0",
"version": "2.3.0",
"type": "shopware-platform-plugin",
"license": "proprietary",
"authors": [
Expand Down Expand Up @@ -73,4 +73,4 @@
"symfony/runtime": true
}
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@myparcel/shopware-plugin",
"version": "2.2.0",
"version": "2.3.0",
"private": true,
"license": "MIT",
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Migration1652167040DeactivateOldShipping.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function update(Connection $connection): void

try {
$result = $connection->fetchFirstColumn("SELECT shipping_method_id FROM kiener_my_parcel_shipping_method");
if (count($result) < 0) {
if (count($result) === 0) {
return;
}
$myParcelShippingMethodIds = array_map($fromBytesToHex, $result);
Expand Down

0 comments on commit 86bdde6

Please sign in to comment.