Skip to content

Commit c150e6d

Browse files
chore: bump version to 0.5.6 — Dewey cascade fix
- version.json 0.5.5 → 0.5.6 - README.md What's New in v0.5.6 block - All plugin.json max_app_version → 0.5.6 v0.5.6 ships the Dewey cascade 404 fix on top of v0.5.5 (Bulk Enrichment, Discogs plugin, CodeRabbit hardening). v0.5.5 was unpublished before any user saw it — v0.5.6 is the first shipped build of this cycle.
1 parent 6e89d61 commit c150e6d

File tree

11 files changed

+35
-11
lines changed

11 files changed

+35
-11
lines changed

README.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
Pinakes is a self-hosted, full-featured ILS for schools, municipalities, and private collections. It focuses on automation, extensibility, and a usable public catalog without requiring a web team.
1111

12-
[![Version](https://img.shields.io/badge/version-0.5.5-0ea5e9?style=for-the-badge)](version.json)
12+
[![Version](https://img.shields.io/badge/version-0.5.6-0ea5e9?style=for-the-badge)](version.json)
1313
[![Installer Ready](https://img.shields.io/badge/one--click_install-ready-22c55e?style=for-the-badge&logo=azurepipelines&logoColor=white)](installer)
1414
[![License](https://img.shields.io/badge/License-GPL--3.0-orange?style=for-the-badge)](LICENSE)
1515

@@ -24,6 +24,30 @@ Pinakes is a self-hosted, full-featured ILS for schools, municipalities, and pri
2424

2525
---
2626

27+
## What's New in v0.5.6
28+
29+
### 🐛 Fix — Dewey cascade 404s on legacy deep codes
30+
31+
Opening the admin book-edit form on any record whose `classificazione_dewey`
32+
is more specific than the JSON catalog (e.g. `305.42097` when
33+
`data/dewey/dewey_completo_it.json` ships up to `305.4` for that subtree)
34+
fired a chain of 404s in the browser console: `/api/dewey/children?parent_code=305.42`,
35+
`...=305.420`, `...=305.4209`, `...=305.42097`. No functional breakage,
36+
but visually alarming and a false signal during debugging.
37+
38+
- **`DeweyApiController::getChildren`** now returns `200 []` when the
39+
parent code isn't found in the JSON (leaf semantics). Empty-name
40+
children are also skipped so they don't surface as blank dropdown
41+
options.
42+
- **`book_form.php` `navigateToCode()`** breaks the cascade loop when
43+
`loadLevel()` returns null — the custom-code fallback below already
44+
handles rendering the untraceable code in the breadcrumb.
45+
- New regression test `tests/dewey-cascade-404.spec.js` seeds a book
46+
with `305.42097` and asserts zero 404s + zero console errors when
47+
opening the edit form in a real Chromium.
48+
49+
v0.5.6 includes everything from v0.5.5 plus this Dewey fix.
50+
2751
## What's New in v0.5.5
2852

2953
### 📥 Bulk ISBN Enrichment (#87 follow-up)

storage/plugins/api-book-scraper/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"main_file": "wrapper.php",
1010
"requires_php": "8.0",
1111
"requires_app": "0.4.0",
12-
"max_app_version": "0.5.5",
12+
"max_app_version": "0.5.6",
1313
"metadata": {
1414
"category": "scraping",
1515
"priority": 3,

storage/plugins/deezer/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"main_file": "wrapper.php",
1010
"requires_php": "8.0",
1111
"requires_app": "0.5.0",
12-
"max_app_version": "0.5.5",
12+
"max_app_version": "0.5.6",
1313
"metadata": {
1414
"category": "scraping",
1515
"tags": [

storage/plugins/dewey-editor/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"main_file": "DeweyEditorPlugin.php",
1010
"requires_php": "7.4",
1111
"requires_app": "0.4.0",
12-
"max_app_version": "0.5.5",
12+
"max_app_version": "0.5.6",
1313
"settings": false,
1414
"metadata": {
1515
"category": "admin",

storage/plugins/digital-library/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"main_file": "wrapper.php",
1010
"requires_php": "8.0",
1111
"requires_app": "0.4.0",
12-
"max_app_version": "0.5.5",
12+
"max_app_version": "0.5.6",
1313
"metadata": {
1414
"category": "media",
1515
"priority": 10,

storage/plugins/discogs/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"main_file": "wrapper.php",
1010
"requires_php": "8.0",
1111
"requires_app": "0.5.4",
12-
"max_app_version": "0.5.5",
12+
"max_app_version": "0.5.6",
1313
"metadata": {
1414
"optional": true,
1515
"category": "scraping",

storage/plugins/goodlib/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"main_file": "wrapper.php",
1010
"requires_php": "8.0",
1111
"requires_app": "0.4.0",
12-
"max_app_version": "0.5.5",
12+
"max_app_version": "0.5.6",
1313
"metadata": {
1414
"category": "discovery",
1515
"priority": 10,

storage/plugins/musicbrainz/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"main_file": "wrapper.php",
1010
"requires_php": "8.0",
1111
"requires_app": "0.5.0",
12-
"max_app_version": "0.5.5",
12+
"max_app_version": "0.5.6",
1313
"metadata": {
1414
"category": "scraping",
1515
"tags": [

storage/plugins/open-library/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"main_file": "wrapper.php",
1010
"requires_php": "7.4",
1111
"requires_app": "0.4.0",
12-
"max_app_version": "0.5.5",
12+
"max_app_version": "0.5.6",
1313
"metadata": {
1414
"category": "scraping",
1515
"tags": [

storage/plugins/z39-server/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"main_file": "Z39ServerPlugin.php",
1010
"requires_php": "7.4",
1111
"requires_app": "0.4.0",
12-
"max_app_version": "0.5.5",
12+
"max_app_version": "0.5.6",
1313
"settings": true,
1414
"metadata": {
1515
"category": "protocol",

0 commit comments

Comments
 (0)