audiobookshelf/server
Conor Bronsdon 42c6798981 Apply minified serialization to books inside collections
The GET /api/libraries/:id/collections endpoint captured the minified
flag on the response payload but never passed it down to the book
serialization, so each book was always returned fully expanded with its
complete libraryFiles array and heavy media fields (audioFiles, chapters,
tracks). For libraries with multi-file audiobooks this produced responses
of tens of megabytes even when minified=1 was requested.

Thread the minified flag through getOldCollectionsJsonExpanded and
Collection.toOldJSONExpanded so that, when requested, books use the
existing library item minified form. Non-minified requests are unchanged.

Fixes #5170
2026-07-09 02:59:25 -07:00
..
auth Add unique UUID to access and refresh tokens 2026-05-21 17:08:39 -07:00
controllers Apply minified serialization to books inside collections 2026-07-09 02:59:25 -07:00
finders Improved subtitle parsing to account for bare colon in title 2026-02-06 14:31:09 -05:00
libs Add fuse.basic.min.js in libs instead of full npm package, use lower threshold for quick matching 2025-06-13 17:23:24 -05:00
managers fix: set correct Content-Type for RSS feed audio files 2026-05-02 22:13:35 -04:00
migrations Rename migration to v2.35.0 & merge master 2026-04-30 16:08:24 -05:00
models Apply minified serialization to books inside collections 2026-07-09 02:59:25 -07:00
objects Fix android device sdkVersion not handling it using number type, causing android session device names to show as iOS 2026-05-15 13:13:14 -05:00
providers Fix server crash on audible match #4931 2025-12-23 16:44:29 -06:00
routers Fix item_removed payload to include libraryId 2026-03-31 22:02:52 +03:00
scanner Cleanup abmetadata file parsing & fix server crash #5268 #4287 #5142 2026-05-27 17:33:14 -05:00
utils Fix typo on onTest notification body 2026-05-30 15:43:50 -05:00
Auth.js Add additional debug logs for OIDC login 2025-08-15 17:23:20 -05:00
Database.js Update API Keys to be tied to a user, add apikey lru-cache, handle deactivating expired keys 2025-06-30 14:53:11 -05:00
Logger.js Simplify log level determination 2025-03-08 12:46:36 -07:00
Server.js Server.js: Let next.js handle file uploads through internal-api routes 2026-06-23 14:08:16 +03:00
SocketAuthority.js Update socket events to check client is admin & validate log level 2026-05-12 16:57:28 -05:00
Watcher.js Add: generic function to ignor files 2025-02-22 12:28:51 -07:00