Skip to content

Commit

Permalink
Release 1.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminjonard committed Feb 13, 2024
1 parent e070aca commit 9ad5249
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-release-frankenphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: benjaminjonard/koillection
ref: 1.5.5
ref: 1.5.6
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
Expand All @@ -34,5 +34,5 @@ jobs:
with:
file: Dockerfile.frankenphp
push: true
tags: docker.io/koillection/koillection:frankenphp,docker.io/koillection/koillection:latest-frankenphp,docker.io/koillection/koillection:1.5.5-frankenphp
tags: docker.io/koillection/koillection:frankenphp,docker.io/koillection/koillection:latest-frankenphp,docker.io/koillection/koillection:1.5.6-frankenphp
platforms: linux/amd64,linux/arm64
4 changes: 2 additions & 2 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: benjaminjonard/koillection
ref: 1.5.5
ref: 1.5.6
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
Expand All @@ -34,5 +34,5 @@ jobs:
with:
file: Dockerfile
push: true
tags: docker.io/koillection/koillection:latest,docker.io/koillection/koillection:1.5.5
tags: docker.io/koillection/koillection:latest,docker.io/koillection/koillection:1.5.6
platforms: linux/amd64,linux/arm64
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file.

## [1.5.6] / 2024-02-13
### Fixes
- Fix quotes in doctrine json datatype migrations (benjaminjonard)

## [1.5.5] / 2024-02-13
### Fixes
- Fix doctrine json datatype migrations (benjaminjonard)
Expand Down
2 changes: 1 addition & 1 deletion assets/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "koillection",
"preferGlobal": true,
"version": "1.5.5",
"version": "1.5.6",
"author": "Benjamin Jonard",
"description": "Front assets for Koillection",
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"description": "Koillection is a self-hosted service allowing users to manage any kind of collection.",
"type": "project",
"license": "MIT",
"version": "1.5.6",
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
Expand Down
2 changes: 1 addition & 1 deletion config/packages/api_platform.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
api_platform:
title: 'Koillection API'
version: 1.5.5
version: 1.5.6
show_webby: false

formats:
Expand Down
2 changes: 1 addition & 1 deletion config/services.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
parameters:
release: '1.5.5'
release: '1.5.6'
default_locale: 'en'
container.dumper.inline_factories: true

Expand Down
2 changes: 1 addition & 1 deletion migrations/Mysql/Version20240204172429.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ private function convertValueFromArrayToJson($table, $property): void
$id = $row['id'];
$data = $row[$property];
$encodedData = $data ? unserialize($data) : [];
$encodedData = json_encode($encodedData);
$encodedData = addslashes(json_encode($encodedData));

$this->addSql("UPDATE $table SET $property = '$encodedData' WHERE id = '$id'");
}
Expand Down
2 changes: 1 addition & 1 deletion migrations/Postgresql/Version20240204165839.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private function convertValueFromArrayToJson($table, $property): void
$id = $row['id'];
$data = $row[$property];
$encodedData = $data ? unserialize($data) : [];
$encodedData = json_encode($encodedData);
$encodedData = str_replace("'", "''", json_encode($encodedData));

$this->addSql("UPDATE $table SET $property = '$encodedData' WHERE id = '$id'");
}
Expand Down

0 comments on commit 9ad5249

Please sign in to comment.