Releases: ThePalaceProject/circulation
Releases · ThePalaceProject/circulation
v25.1.0
What's Changed
Bugfixes
- Works editor custom lists endpoints not handling library list ownership (PP-1962) by @jonathangreen in #2186
- Fix 'NoneType' object has no attribute 'computed' error (PP-1961) by @jonathangreen in #2184
- Handle Overdrive refresh_patron_access_token failues (PP-1964) by @jonathangreen in #2188
- Filter on library when checking lane name unique (PP-1967) by @jonathangreen in #2190
- Make sure we handle ProblemDetail response from _crawlable_feed (PP-1975) by @jonathangreen in #2199
- Filter work summary to remove non-xml safe characters (PP-1969) by @jonathangreen in #2198
Other Changes
- Move custom lists pydantic model into models package by @jonathangreen in #2187
- Log additional Palace request data by @jonathangreen in #2189
- Remove
Library.all_collections
property. by @tdilauro in #2191 - Remove unused
Collection.parents
attribute. by @tdilauro in #2192 - Replace sqlalchemy backref parameter with back_populates by @jonathangreen in #2194
- Rename collection library associations. (PP-1875) by @tdilauro in #2195
- Move ISBN lookup to identifier module. (PP-1948) by @tdilauro in #2196
- [PP-1914] Remove collection facet from feed. by @dbernstein in #2182
Dependency Updates
- Bump pyfakefs from 5.7.1 to 5.7.2 by @dependabot in #2203
- Bump pytest from 8.3.3 to 8.3.4 by @dependabot in #2202
- Bump pyjwt from 2.10.0 to 2.10.1 by @dependabot in #2200
- Bump pyopenssl from 24.2.1 to 24.3.0 by @dependabot in #2201
- Bump redis from 5.2.0 to 5.2.1 by @dependabot in #2206
Full Changelog: v25.0.0...v25.1.0
v25.0.0
What's Changed
Incompatible Changes
- Remove deprecated ODL notify endpoint 🧹 by @jonathangreen in #2120
Features
- Add Pydantic models for RWPM, OPDS2, and ODL (PP-1367) by @jonathangreen in #2168
- Replace webpub manifest parser with pydantic (PP-1367) by @jonathangreen in #2163
Bugfixes
- [PP-1905] Ensure OPDS 1 Feed defaults to Version 1. by @dbernstein in #2164
- Axis 360 loan exception (PP-1910) by @jonathangreen in #2165
- Handle wrong library ProblemDetailException (PP-1860) by @jonathangreen in #2170
- "Could not place hold" error with multiple licenses (PP-1902) by @jonathangreen in #2173
Other Changes
- Clean up some PatronController-related types. by @tdilauro in #2162
- Ignore a couple more lines for codecov by @jonathangreen in #2169
- Helper function to get flask.request.library by @jonathangreen in #2177
- Add IP address to flask request logs by @jonathangreen in #2180
- Helper function to get flask.request.patron by @jonathangreen in #2178
- Helper function to get flask.request.admin by @jonathangreen in #2179
Dependency Updates
- Bump werkzeug from 3.1.2 to 3.1.3 by @dependabot in #2161
- Bump firebase-admin from 6.5.0 to 6.6.0 by @dependabot in #2160
- Bump flask from 3.0.3 to 3.1.0 by @dependabot in #2166
- Bump codecov/codecov-action from 4 to 5 by @dependabot in #2167
- Bump dunamai from 1.22.0 to 1.23.0 by @dependabot in #2171
- Bump pyjwt from 2.9.0 to 2.10.0 by @dependabot in #2172
- Bump lxml-html-clean from 0.1.1 to 0.4.0 by @dependabot in #2175
- Bump bcrypt from 4.2.0 to 4.2.1 by @dependabot in #2176
Full Changelog: v24.0.0...v25.0.0
v24.0.2
Hotfix release
Bugfixes
- Axis 360 loan exception (PP-1910) by @jonathangreen in #2165
Full Changelog: v24.0.1...v24.0.2
v24.0.1
Bugfixes:
- PP-1905 Ensure OPDS 1 Feed defaults to Version 1. #2164 dbernstein
Full Changelog: v24.0.0...v24.0.1
v24.0.0
What's Changed
Features
- [PP-1509] Add support for default facet by @dbernstein in #2142
- [PP-1818] implement month active user data by @dbernstein in #2148
Bugfixes
- Handle StaleDataError for ODLNotificationController by @jonathangreen in #2129
- Handle two exceptions causing sync_patron_activity job to fail (PP-1838) by @jonathangreen in #2132
- Fix get_one_or_create IntegrityError handler (PP-1838) by @jonathangreen in #2134
- Race condition in search_indexing task (PP-1840) by @jonathangreen in #2136
- Bibliotheca integration bad XML response (PP-1838) by @jonathangreen in #2135
- Remove Redis JSON extension from MARC file generation (PP-1839) by @jonathangreen in #2143
- Clear PatronData.authorization_expires if it is no longer set by @jonathangreen in #2147
- Fixes Axis 360 response parser exception code mapping. by @tdilauro in #2151
- Fix Enki integration URL generation (PP-1876) by @jonathangreen in #2155
Other Changes
- Update classifier code for mypy by @jonathangreen in #2122
- Use PG 16 in our CI workflow by @jonathangreen in #2130
- Update mypy configuration for tests by @jonathangreen in #2124
- Run autoflake without ignore-init-module-imports by @jonathangreen in #2125
- Stop using Python money by @jonathangreen in #2145
- Add Python 3.12 to CI by @jonathangreen in #2146
- Allow
LazyString
types forConfigurationFormItem
arguments. by @tdilauro in #2152 - Use SQL formatting that aligns with other alembic scripts. by @dbernstein in #2159
Dependency Updates
- Bump tox from 4.23.0 to 4.23.2 by @dependabot in #2131
- Bump mypy from 1.12.1 to 1.13.0 by @dependabot in #2133
- Bump redis from 5.1.1 to 5.2.0 by @dependabot in #2137
- Bump werkzeug from 3.0.4 to 3.0.6 by @dependabot in #2139
- Bump uwsgi from 2.0.27 to 2.0.28 by @dependabot in #2140
- Bump levenshtein from 0.26.0 to 0.26.1 by @dependabot in #2141
- Bump pytest-cov from 5.0.0 to 6.0.0 by @dependabot in #2144
- Bump pydantic-settings from 2.6.0 to 2.6.1 by @dependabot in #2149
- Bump dependency-injector from 4.42.0 to 4.43.0 by @dependabot in #2154
- Bump alembic from 1.13.3 to 1.14.0 by @dependabot in #2157
- Bump werkzeug from 3.0.6 to 3.1.2 by @dependabot in #2156
- Bump pymarc from 5.2.2 to 5.2.3 by @dependabot in #2158
Full Changelog: v23.2.0...v24.0.0
v23.2.0
What's Changed
Bugfixes
- Update ODL hold calculation logic (PP-1728) by @jonathangreen in #2117
- Fix bug generating OPDS2 ODL notification URL by @jonathangreen in #2126
Other Changes
- Refactor LoanInfo and HoldInfo to be dataclasses (PP-1728) by @jonathangreen in #2113
- [PP-1507] Present sorts as links with palaceproject.io namespaced sort rels. by @dbernstein in #2100
- Remove deprecated heartbeat endpoint 🧹 by @jonathangreen in #2121
Dependency Updates
- Bump tox from 4.22.0 to 4.23.0 by @dependabot in #2118
- Bump pydantic-settings from 2.5.2 to 2.6.0 by @dependabot in #2119
- Bump types-psycopg2 from 2.9.21.20240819 to 2.9.21.20241019 by @dependabot in #2127
- Bump mypy from 1.12.0 to 1.12.1 by @dependabot in #2128
Full Changelog: v23.1.0...v23.2.0
v23.1.0
What's Changed
Features
- OPDS ODL API changes for UL Feed (PP-1769) by @jonathangreen in #2095
Bugfixes
- [PP-1755] fix overdrive sweep transaction errors by @dbernstein in #2091
- Fix broken playtime entries test. by @dbernstein in #2094
Other Changes
- Add type hints to sqlalchemy Patron model (PP-1728) by @jonathangreen in #2086
- Type hint sqlalchemy utils by @jonathangreen in #2087
- Improve
opds2_feed_reaper
performance for large feeds. (PP-1756) by @tdilauro in #2089 - Bump version of our pre-commit hooks by @jonathangreen in #2092
- Remove unused Overdrive credentials from the database by @jonathangreen in #2061
- Use admin UI v1.25.0. (PP-1787) by @tdilauro in #2097
- Update the fixture for creating collections by @jonathangreen in #2101
- More realistic MockSessionMaker by @jonathangreen in #2104
Dependency Updates
- Bump redis from 5.0.8 to 5.1.0 by @dependabot in #2090
- Bump tox from 4.19.0 to 4.20.0 by @dependabot in #2088
- Bump tox from 4.20.0 to 4.21.0 by @dependabot in #2093
- Bump pycryptodome from 3.20.0 to 3.21.0 by @dependabot in #2096
- Bump types-pytz from 2024.2.0.20240913 to 2024.2.0.20241003 by @dependabot in #2098
- Bump tox from 4.21.0 to 4.21.2 by @dependabot in #2099
- Bump redis from 5.1.0 to 5.1.1 by @dependabot in #2103
- Bump types-redis from 4.6.0.20240903 to 4.6.0.20241004 by @dependabot in #2102
- Bump pre-commit from 3.8.0 to 4.0.1 by @dependabot in #2106
- Bump pyfakefs from 5.6.0 to 5.7.0 by @dependabot in #2107
- Bump pyinstrument from 4.7.3 to 5.0.0 by @dependabot in #2108
- Bump pyparsing from 3.1.4 to 3.2.0 by @dependabot in #2112
- Bump pyfakefs from 5.7.0 to 5.7.1 by @dependabot in #2111
- Bump pillow from 10.4.0 to 11.0.0 by @dependabot in #2109
- Bump mypy from 1.11.2 to 1.12.0 by @dependabot in #2110
- Bump psycopg2 from 2.9.9 to 2.9.10 by @dependabot in #2116
- Bump tox from 4.21.2 to 4.22.0 by @dependabot in #2115
- Bump psycopg2-binary from 2.9.9 to 2.9.10 by @dependabot in #2114
Full Changelog: v23.0.0...v23.1.0
v23.0.0
What's Changed
Features
- Allow restriction to multiple patron locations. (PP-1648) by @tdilauro in #2049
- Feature flag for quicksight. (PP-1724) by @tdilauro in #2071
Bugfixes
- OPDS2 + ODL Handle case where no licenses are available (PP-1716) by @jonathangreen in #2057
- Don't cache overdrive token in credentials table (PP-1717) by @jonathangreen in #2060
- ODL feed error when license already checked out (PP-1716) by @jonathangreen in #2069
- Fix uncommitted nested transaction in SweepMonitor (PP-1717) by @jonathangreen in #2074
- Fix RunCollectionMonitorScript PG application name by @jonathangreen in #2075
- Fix uwsgi log file permissions (PP-1667) by @jonathangreen in #2077
- fix: opds2-reaper-monitor-script (PP-1756) by @tdilauro in #2083
- Update license pools for ODL licenses that are loan + concurrency limited by @jonathangreen in #2085
Other Changes
- Migrate MARC exporter protocol name by @jonathangreen in #2030
- Make library configuration selection predictable for patron auth integration self-tests. by @tdilauro in #2058
- Better app name reporting for collection monitors by @jonathangreen in #2062
- Lower uwsgi web worker timeouts (PP-1717) by @jonathangreen in #2063
- Add a configuration to enable a debug faulthandler (PP-1717) by @jonathangreen in #2065
- Update batch sizes for overdrive monitors (PP-1717) by @jonathangreen in #2064
- Replace parametrize parameters with pytest.param by @jonathangreen in #2066
- Fix flaky test TestFeaturedFacets:test_run (PP-1726) by @jonathangreen in #2070
Dependency Updates
- Bump types-pytz from 2024.1.0.20240417 to 2024.2.0.20240913 by @dependabot in #2056
- Bump types-pyyaml from 6.0.12.20240808 to 6.0.12.20240917 by @dependabot in #2067
- Use admin UI v1.24.0 (PP-1724) by @tdilauro in #2072
- Bump tox from 4.18.1 to 4.19.0 by @dependabot in #2073
- Bump tox from 4.19.0 to 4.20.0 by @dependabot in #2078
- Bump levenshtein from 0.25.1 to 0.26.0 by @dependabot in #2079
- Bump alembic from 1.13.2 to 1.13.3 by @dependabot in #2081
- Bump uwsgi from 2.0.26 to 2.0.27 by @dependabot in #2084
- Update to Pydantic 2.9 (PP-890) by @jonathangreen in #2080
Full Changelog: v22.1.0...v23.0.0
v22.1.4
Hotfix release
What's Changed
Bugfixes
- Fix uncommitted nested transaction in SweepMonitor (PP-1717) by @jonathangreen in #2074
Full Changelog: v22.1.3...v22.1.4