LinuxServer Changes:
Existing users should verify: site-confs/default.conf - Update rewriting rules default site conf.
seblucas-cops Changes:
See release 3.1.1 for breaking changes for COPS 3.x
Note: if you use REST API all paths should now include /restapi/ as shown in the Swagger UI
Change log
3.4.5 - 20241105 Use route names to generate links
- Changes in config/default.php file:
- set $config['cops_use_route_urls'] as deprecated (= always enabled)
- set $config['cops_download_series'] as deprecated (use $config['cops_download_page'] instead)
- set $config['cops_download_author'] as deprecated (use $config['cops_download_page'] instead)
- Upgrade swagger-ui-dist package and link to 5.18.0
- Split off Routing namespace with interface to allow switching routers later
- Pin nikic/fast-route version to 2.0.0-beta1 and use recommended settings
- Pass _route param to request in Route::match() and deprecate Route::link()
- Switch to handler::route() in most places for Calibre and Pages classes
- Replace Route::link() with handler::page() and handler::link() and generate() with route()
- Use handler class in params instead of handler name + adapt $handler properties/params
- Generate openapi.json and dump/load cached routes file (info only)
- Clean up fetch-thumb and zipper-page-* routes in handler & renderers
- Change route definitions for handlers + add a few _route params
- Find route for params via handlers with findRoute() method
- Move pages to handlers in REST API + add getLink() and request() methods
- BC: Add
_resource
param to REST API links and move under /restapi prefix - Clean up query string build to align with RFC3986 (%20) instead of RFC1738 (+)
- Provide fallback for urls without intl extension - see issue #118 by @jillmess
- Remove code for generating links without route urls
- Remove tests for links generated without route urls
3.4.0 - 20241028 Update package dependencies + translations
- Upgrade npm-asset/js-cookie 2.2.1 to 3.0.5
- Upgrade datatables 1.13.11 to 2.1.8 (dev only)
- Add path parameter validation in page handler routes
- Add error handler for invalid requests + return not found
- Attach notes database to sqlite connection on demand
- Update integration of epub-loader and php-epub-meta
- Update spanish translation - see PR #117 from @Dunhill69
Full Changelog: mikespub-org/seblucas-cops@3.3.1...3.4.5