Skip to content

Releases: linuxserver/docker-cops

3.2.2-ls225

14 Sep 16:51
3c208f6
Compare
Choose a tag to compare

LinuxServer Changes:

Ensure user config files have the right permissions.

seblucas-cops Changes:

See release 3.1.1 for breaking changes for COPS 3.x

3.2.2 - 20240914 Update bootstrap5 template + fix integrity

  • Fix integrity checks for bootstrap5 template - see PR #106 from @dunxd
  • Fix thumbnails and add series list to author page in bootstrap5 template - see PR #106 from @dunxd

3.2.0 - 20240914 Return response from handlers + replace GraphQL Playground (dev only)

  • Enble running other handlers in REST API and return response
  • Return response from most handlers to allow middleware to work on response
  • Add test middleware to check functionality (test only)
  • Replace graphql-playground with graphiql for security and future (dev only)

Full Changelog: mikespub-org/seblucas-cops@3.1.3...3.2.2

3.1.3-ls224

14 Sep 15:04
3b70268
Compare
Choose a tag to compare

LinuxServer Changes:

Ensure user config files have the right permissions.

seblucas-cops Changes:

See release 3.1.1 for breaking changes for COPS 3.x

3.1.3 - 20240912 Fix mail link + show list of series in author details

  • Fix mail link producing an [object Object] message - see issue #105 by @marioscube
  • Show list of series in author details for bootstrap2 and twigged templates
  • Add extra params in links generated by getFilters() + use canFilter()
  • Simplify adding entries in pages + clean up constructors

Full Changelog: mikespub-org/seblucas-cops@3.1.2...3.1.3

3.1.3-ls223

12 Sep 14:48
d33843a
Compare
Choose a tag to compare

LinuxServer Changes:

In COPS 3.x, the config_local.php is being moved over to config/local.php and this container will automatically migrate it. Existing users should verify: config_local.php and/or config/local.php - define $config['cops_kepubify_path'] if they want to use it

seblucas-cops Changes:

See release 3.1.1 for breaking changes for COPS 3.x

3.1.3 - 20240912 Fix mail link + show list of series in author details

  • Fix mail link producing an [object Object] message - see issue #105 by @marioscube
  • Show list of series in author details for bootstrap2 and twigged templates
  • Add extra params in links generated by getFilters() + use canFilter()
  • Simplify adding entries in pages + clean up constructors

Full Changelog: mikespub-org/seblucas-cops@3.1.2...3.1.3

3.1.2-ls223

09 Sep 20:48
d33843a
Compare
Choose a tag to compare

LinuxServer Changes:

In COPS 3.x, the config_local.php is being moved over to config/local.php and this container will automatically migrate it. Existing users should verify: config_local.php and/or config/local.php - define $config['cops_kepubify_path'] if they want to use it

seblucas-cops Changes:

See release 3.1.1 for breaking changes for COPS 3.x

3.1.2 - 20240909 Minor fix for docker release

  • Handle index.php/check to check configuration
  • Upgrade twig/twig package to 3.14.0

Full Changelog: mikespub-org/seblucas-cops@3.1.1...3.1.2

3.1.1-ls222

09 Sep 17:39
b5724f6
Compare
Choose a tag to compare

LinuxServer Changes:

In COPS 3.x, the config_local.php is being moved over to config/local.php and this container will automatically migrate it. Existing users should verify: config_local.php and/or config/local.php - define $config['cops_kepubify_path'] if they want to use it

seblucas-cops Changes:

Overview

This is a release candidate for the new COPS 3.x code base. There are only minor functional changes (filter links), but the config files have moved, and all links in COPS now use route URLs by default.

Please report any issues or submit pull requests if you notice any bugs - thanks!

Breaking changes for 3.x release (PHP >= 8.2)

For everyone

  • move your customized config_local.php file to config/local.php on the web server/container
  • replace any feed.php links with index.php/feed for OPDS feeds in your e-reader

Less common

  • if you map the lib/ or test/ directory somewhere, like a docker compose file, web server config etc. you'll need to replace that with src/ or tests/ respectively
  • if you use other endpoints for links elsewhere, like the REST API for a widget, you'll need to use route URLs and replace restapi.php with index.php/restapi etc.

Change log

3.1.1 - 20240909 Release candidate for 3.x

  • Changes in config/default.php file:
    • new $config['cops_front_controller'] = '' value
  • Set front controller to remove index.php/ from route URLs

3.1.0 - 20240908 Breaking changes for 3.x

  • Changes in config/default.php file:
    • set $config['cops_use_route_urls'] = '1' as default
    • new $config['cops_twig_templates'] = ['twigged'] list
  • Split off templates from HtmlRenderer
  • BC: Redirect other endpoints + add deprecations
  • Split off RouteTest + fix route urls
  • Add basic middleware dispatcher
  • BC: Enable route urls by default in config/default.php
  • BC: Move config_.php files to config/.php to align dir structure
  • BC: Rename lib/ to src/ and test/ to tests/ to align dir structure

3.0.0 - 20240905 Update requirements (PHP >= 8.2)

  • Update phpunit tests + upgrade code with rector

2.8.2 - 20240905 More clean-up of handlers & renderers

  • Expand Data mimetypes to cover common EPUB file components
  • Add Response class + move notFound() + add redirect() and sendError()
  • Rename FileRenderer to FileResponse and inherit from Response
  • Replace header() and echo with Response() in handlers
  • Use FileResponse::sendFile() for covers and thumbnails
  • Fix monocle epub reader when using route urls
  • Move getting zip content from ZipFsHandler to EPubReader
  • Add GraphQL query field tests
  • Show filters in main page for bootstrap2 and twigged templates
  • Show links to PAGE_ALL in filters page to find all authors etc. for a filter
  • Pass along Response() from handler to renderer + align constructor args

Full Changelog: mikespub-org/seblucas-cops@2.8.1...3.1.1

3.1.1-ls221

09 Sep 13:07
1d7419c
Compare
Choose a tag to compare

LinuxServer Changes:

Add kepubify tool to update metadata for Kobo - see mikespub-org/seblucas-cops#77

seblucas-cops Changes:

Overview

This is a release candidate for the new COPS 3.x code base. There are only minor functional changes (filter links), but the config files have moved, and all links in COPS now use route URLs by default.

Please report any issues or submit pull requests if you notice any bugs - thanks!

Breaking changes for 3.x release (PHP >= 8.2)

For everyone

  • move your customized config_local.php file to config/local.php on the web server/container
  • replace any feed.php links with index.php/feed for OPDS feeds in your e-reader

Less common

  • if you map the lib/ or test/ directory somewhere, like a docker compose file, web server config etc. you'll need to replace that with src/ or tests/ respectively
  • if you use other endpoints for links elsewhere, like the REST API for a widget, you'll need to use route URLs and replace restapi.php with index.php/restapi etc.

Change log

3.1.1 - 20240909 Release candidate for 3.x

  • Changes in config/default.php file:
    • new $config['cops_front_controller'] = '' value
  • Set front controller to remove index.php/ from route URLs

3.1.0 - 20240908 Breaking changes for 3.x

  • Changes in config/default.php file:
    • set $config['cops_use_route_urls'] = '1' as default
    • new $config['cops_twig_templates'] = ['twigged'] list
  • Split off templates from HtmlRenderer
  • BC: Redirect other endpoints + add deprecations
  • Split off RouteTest + fix route urls
  • Add basic middleware dispatcher
  • BC: Enable route urls by default in config/default.php
  • BC: Move config_.php files to config/.php to align dir structure
  • BC: Rename lib/ to src/ and test/ to tests/ to align dir structure

3.0.0 - 20240905 Update requirements (PHP >= 8.2)

  • Update phpunit tests + upgrade code with rector

2.8.2 - 20240905 More clean-up of handlers & renderers

  • Expand Data mimetypes to cover common EPUB file components
  • Add Response class + move notFound() + add redirect() and sendError()
  • Rename FileRenderer to FileResponse and inherit from Response
  • Replace header() and echo with Response() in handlers
  • Use FileResponse::sendFile() for covers and thumbnails
  • Fix monocle epub reader when using route urls
  • Move getting zip content from ZipFsHandler to EPubReader
  • Add GraphQL query field tests
  • Show filters in main page for bootstrap2 and twigged templates
  • Show links to PAGE_ALL in filters page to find all authors etc. for a filter
  • Pass along Response() from handler to renderer + align constructor args

Full Changelog: mikespub-org/seblucas-cops@2.8.1...3.1.1

2.8.1-ls220

08 Sep 21:05
5cacf81
Compare
Choose a tag to compare

LinuxServer Changes:

Add kepubify tool to update metadata for Kobo - see mikespub-org/seblucas-cops#77

seblucas-cops Changes:

2.8.1 - 20240902 Fix download filenames

  • Fix FileRenderer to send the right Content-Disposition - see issue #102 by @Chirishman

Full Changelog: mikespub-org/seblucas-cops@2.8.0...2.8.1

2.8.1-ls219

02 Sep 09:46
d6114e1
Compare
Choose a tag to compare

LinuxServer Changes:

Add kepubify tool to update metadata for Kobo - see mikespub-org/seblucas-cops#77

seblucas-cops Changes:

2.8.1 - 20240902 Fix download filenames

  • Fix FileRenderer to send the right Content-Disposition - see issue #102 by @Chirishman

Full Changelog: mikespub-org/seblucas-cops@2.8.0...2.8.1

2.8.0-ls219

01 Sep 13:06
d6114e1
Compare
Choose a tag to compare

LinuxServer Changes:

Add kepubify tool to update metadata for Kobo - see mikespub-org/seblucas-cops#77

seblucas-cops Changes:

Define $config['cops_kepubify_path'] in config_local.php and set $config['cops_provide_kepub'] = '1'

2.8.0 - 20240901 Support 'kepubify' tool for Kobo

  • Add FileRenderer class to send files + use sendHeaders
  • Fix Zipper to allow unicode chars in file names
  • Refactor FetchHandler and getUpdatedEpub to support kepubify
  • Use optional kepubify tool to convert EPUB files for Kobo - see #77 by @SenorSmartyPants

Full Changelog: mikespub-org/seblucas-cops@2.7.5...2.8.0

2.7.5-ls219

31 Aug 17:47
d6114e1
Compare
Choose a tag to compare

LinuxServer Changes:

Add kepubify tool to update metadata for Kobo - see mikespub-org/seblucas-cops#77

seblucas-cops Changes:

2.7.5 - 20240831 Show extra data files in book detail + start GraphQL

  • Changes in config_default.php file:
    • new $config['cops_kepubify_path']
  • Start experimental GraphQL interface (dev only)
  • Upgrade twig/twig package and add webonyx/graphql-php package (dev only)
  • Show extra data files in book detail - see feature #97 by @russell-phillips
  • Add tests for new handler classes + clean-up tests
  • Remove deprecated methods for releases older than 2.7.4

2.7.4 - 20240828 Replace Transliteration + prepare using kepubify

  • Support splitting books or authors by non-ascii first letter
  • Add kepubify tool to linuxserver docker image - see issue #77 by @SenorSmartyPants and #56
  • Drop old Transliteration class and use PHP Transliterator for normalized search option

Full Changelog: mikespub-org/seblucas-cops@2.7.3...2.7.5