Skip to content

Releases: kiwilan/php-opds

v2.1.0

26 Jun 06:41
b9594ad
Compare
Choose a tag to compare
  • OPDS version has now a fallback to existing version if an unknown version is provided
  • OPDS version query parameter is now v instead of version (old parameter is still supported)

v2.0.11

22 May 11:08
1417049
Compare
Choose a tag to compare
  • OpdsConfig::class: isForceJson() is now isUseForceJson(), forceExit property allow to force exit on response sending, you can use constructor or forceExit() method to set it (default is false)
  • OpdsResponse::class: forceExit property can be set with forceExit() method (default is false), send()method can useexitparameter to override globalforceExitproperty, of course ifOpdsConfig::class forceExitproperty istruethenforceExit` will be true

v2.0.10

18 May 11:32
99e020e
Compare
Choose a tag to compare

Add multi-byte safe substr() for OPDS summary from PR #48 by @mikespub

v2.0.0

17 Feb 09:30
179670f
Compare
Choose a tag to compare

Breaking changes

  • Add OpdsPaginate::class based on #40 from @mikespub to handle manual pagination for issue #38
  • Opds method send() have now a new parameter bool $exit = false to control if the script should exit after sending the response to replace bool $mock = false parameter. By default, send() will not exit the script.
  • Merge paginator with paginate() method, if you not set any parameter, it will generate pagination, if you set OpdsPaginate object, it will generate pagination based on it
  • Remove usePagination and useAutoPagination from OpdsConfig class, now you can use paginate() method to handle pagination

Misc

  • OpdsConfig::class can have nullable updated attribute

v1.0.30

23 Sep 12:20
fc01714
Compare
Choose a tag to compare
  • Methods toXML() and toJSON() of OpdsEngine are now public
  • OpdsEntryBook: now volume can be a float, issue #36, thanks to @mikespub
  • Add opis/json-schema to validate OPDS JSON, issue #35, thanks to @mikespub
  • OpdsResponse has now getJson() method, now send() has default parameter mock to false

v1.0.23

14 Sep 15:53
Compare
Choose a tag to compare
  • Fix XML search, when some feeds present switch to feed

v1.0.22

14 Sep 15:44
Compare
Choose a tag to compare
  • Fix XML search page root

v1.0.21

14 Sep 15:22
19cb3ae
Compare
Choose a tag to compare

v1.0.2

14 Sep 14:36
9a8181e
Compare
Choose a tag to compare

Features by @mikespub and some bugfixes

  • Update OpdsJsonEngine to use these options for OPDS 2.0 output - OPDS 1.2 was not adapted in this PR by @mikespub
  • Add properties option for OpdsEntryNavigation to include extra properties (like numberOfItems for facets) by @mikespub
  • Add relation option for OpdsEntryNavigation to specify the relation to use (instead of current) by @mikespub
  • Add identifier option for OpdsEntryBook to specify the actual identifier to use (instead of urn:isbn:...) by @mikespub
  • Fix XML links type attribute
  • Add paginationQuery property to OpdsConfig to specify the query parameter for pagination (default: page)
  • Fix bug with paginator when using page query parameter #30

v1.0.1

07 Sep 07:20
2528134
Compare
Choose a tag to compare
  • Add useAutoPagination option for OpdsConfig to enable/disable auto pagination (works only for OpdsEntryBook)