What's Changed
Bugfixes
- #2253 fix available_until incorrect when booking offset is defined by @hansmorb in #2254
- fix #2251 pass apikey by header by @hansmorb in #2252
- fix #2229 GBFS vehicle_status.json now only contains actually available items by @hansmorb in #2233
- prevent setting of unconfirmed status on confirmed bookings by @poilu in #2218
- fix #2204: api routes could not be validated when api key was present by @hansmorb in #2214
- #2158 BookingRule::checkMaxBookingDays does not work for uneven amount of days by @hansmorb in #2159
- fix #2126 filter commonsbooking_isCurrentUserAdmin not granting edit permissions by @hansmorb in #2127
- Fixes expiration string in Cache invocation + docs expiration by @datengraben in #2137
- Address #1928: Namespacing error creates conflicts by @BrianHenryIE in #1974
- fix #1388 timezone bug in GBFS by @hansmorb in #2147
- fix #1876: cmb2 default param deprecation by @hansmorb in #2146
- fix #2004 gbfs station_information layout by @hansmorb in #2117
- add #2128 gbfs validation CI step by @hansmorb in #2129
- Double booking fix issue #1864 by @nelarsen in #2102
- fix #2124 admin cannot cancel other bookings by @hansmorb in #2125
- Fix issue #2033 API-Responses werden nicht korrekt gegen JSON Schema validiert by @nelarsen in #2034
Documentation
- docs: remove bug info, add schema version and fix info by @datengraben in #2148
- Fix/2047 restructure faqs by @sbomsdorf in #2178
- Fixed broken forwarding from commonsbooking.org/documentation (without trailing slash) by @sbomsdorf in #2053
- Translation of docs to English by @sbomsdorf in #2046
- docs: adds filter-hook and concept "Custom-Post-Type" by @datengraben in #2136
Enhancements
- #2227 add gbfs vehicle_status available_until field by @hansmorb in #2230
- wp70 support by @hansmorb in #2108
- perf: fixed multiple unnecessary calls to options table by @hansmorb in https://github.com/wielebenwir/commonsbooking/
- perf: prefetch item timeframes by @hansmorb in #2083
- fix #2084 (empty calendars taking long to generate) by @hansmorb in #2085
pull/2075
Features
- #1509 blocking for all timeframe types by @hansmorb in #2226
- GBFS: #2193 human-readable identifier for system_id by @hansmorb in #2202
- GBFS: added vehicle types route /w hardcoded defaults by @hansmorb in #2198
- #2143 filter hook for gbfs feed announcement by @hansmorb in #2154
- #2118 upgrade to gbfs 3.1-rc2 by @hansmorb in #2142
- iCalendar Unterscheidung zwischen Eigen- und Fremdterminen by @hansmorb in #1218
- add location specific check for booking start/end reminder emails by @poilu in #2061
Dev
- clean up gh workflows by @hansmorb in #2224
- CI: add step to cache GBFS validator dependencies by @hansmorb in #2215
- unflaky tests (02.06. problem) by @hansmorb in #2203
- fix CI by @hansmorb in #2199
- tests/gbfs route tests by @hansmorb in #2168
- GBFS: refactor every response to go through same validation function by @hansmorb in #2157
- e2e: fix cpt-frontend pages not working with new permalink structure by @hansmorb in #2144
- Add initial codeowners file by @datengraben in #2138
- Removes all compiles/non-source artifacts by @datengraben in #1828
- PHP-deprecation-warnings beheben by @nelarsen in #2104
- changed phpstan to reflect php8.1 upgrade by @hansmorb in #2105
- Add test cases to catch double booking issue #1864 by @nelarsen in #2101
- move benchmark to self-hosted runner by @hansmorb in #2078
- add benchmark suite by @hansmorb in #2040
- fix e2e tests by @hansmorb in #2076
- raise minimum php to 8.1 and max to 8.5 by @hansmorb in #2062
- CB API: add phpunit tests by @nelarsen in #2054
- try to fix e2e tests by @hansmorb in #2042
- adds phpcs i18n check to CI/CD (using wpcs action) by @datengraben in #2007
Other
- #1756 deprecate code to be removed in 2.12 by @hansmorb in #2225
- Fixes a typo and context info in wp release notes by @datengraben in #2048
Dependencies
- composer(deps-dev): bump phpstan/phpstan from 2.1.38 to 2.1.39 by @dependabot[bot] in #2036
- npm(deps-dev): bump systeminformation from 5.27.14 to 5.31.1 by @dependabot[bot] in #2045
- composer(deps-dev): bump phpstan/phpstan from 2.1.39 to 2.1.40 by @dependabot[bot] in #2050
- Bump actions/checkout from 4 to 6 by @dependabot[bot] in #2051
- npm(deps-dev): bump @wordpress/env from 10.39.0 to 11.0.0 by @dependabot[bot] in #2049
- composer(deps): bump symfony/service-contracts from 2.5.3 to 3.6.1 by @dependabot[bot] in #2067
- composer(deps): bump cmb2/cmb2 from 2.10.1 to 2.11.0 by @dependabot[bot] in #2066
- composer(deps-dev): bump slope-it/clock-mock from 0.4.0 to 0.5.0 by @dependabot[bot] in #2065
- composer(deps): bump geocoder-php/nominatim-provider from 5.7.0 to 5.8.0 by @dependabot[bot] in #2064
- Bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in #2059
- composer(deps): bump php-http/curl-client from 2.3.3 to 2.4.0 by @dependabot[bot] in #2091
- npm(deps-dev): bump cypress from 15.10.0 to 15.11.0 by @dependabot[bot] in #2057
- npm(deps): bump vue from 3.5.28 to 3.5.30 by @dependabot[bot] in #2093
- npm(deps-dev): bump cypress from 15.11.0 to 15.12.0 by @dependabot[bot] in #2100
- npm(deps-dev): bump editorconfig from 3.0.1 to 3.0.2 by @dependabot[bot] in #2094
- npm(deps-dev): bump @babel/preset-env from 7.29.0 to 7.29.2 by @dependabot[bot] in #2115
- Bump codecov/codecov-action from 5 to 6 by @dependabot[bot] in #2120
- npm(deps-dev): bump cypress from 15.12.0 to 15.13.0 by @dependabot[bot] in #2122
- composer(deps-dev): bump phpstan/phpstan from 2.1.40 to 2.1.44 by @dependabot[bot] in #2121
- npm(deps): bump feiertagejs from 1.5.0 to 1.5.1 by @dependabot[bot] in #2134
- npm(deps-dev): bump cypress from 15.13.0 to 15.13.1 by @dependabot[bot] in #2140
- npm(deps-dev): bump simple-git from 3.20.0 to 3.33.0 by @dependabot[bot] in #2092
- Bump actions/checkout from 4 to 6 by @dependabot[bot] in #2149
- Bump actions/setup-node from 4 to 6 by @dependabot[bot] in #2150
- npm(deps-dev): bump @wordpress/env from 11.3.0 to 11.4.0 by @dependabot[bot] in #2167
- npm(deps-dev): bump cypress from 15.13.1 to 15.14.0 by @dependabot[bot] in #2166
- npm(deps-dev): bump grunt from 1.6.1 to 1.6.2 by @dependabot[bot] in #2165
- npm(deps-dev): bump prettier from 3.8.1 to 3.8.3 by @dependabot[bot] in #2164
- npm(deps-dev): bump cypress from 15.14.0 to 15.14.1 by @dependabot[bot] in #2172
- Removes duplicate hasBookingCodes() by @sbomsdorf in #2179
- npm(deps-dev): bump @wordpress/env from 11.4.0 to 11.5.0 by @dependabot[bot] in #2182
- #2097 GBFS add vehicle status and vehicle availability route by @hansmorb in #2153
- GBFS: #2155 dynamic opening hours by @hansmorb in #2185
- composer(deps): bump symfony/service-contracts from 3.6.1 to 3.7.0 by @dependabot[bot] in #2187
- #2116 add checkbox to exclude items from API by @hansmorb in #2189
- npm(deps-dev): bump cypress from 15.14.1 to 15.14.2 by @dependabot[bot] in #2180
- Bump SamKirkland/FTP-Deploy-Action from 4.3.6 to 4.4.0 by @dependabot[bot] in #2170
- composer(deps): bump cmb2/cmb2 from 2.11.0 to 2.12.0 by @dependabot[bot] in #2200
- composer(deps): bump symfony/cache from 5.4.40 to 5.4.52 by @dependabot[bot] in #2196
- composer(deps-dev): bump phpstan/phpstan from 2.1.44 to 2.2.1 by @dependabot[bot] in #2201
- composer(deps): bump phpmailer/phpmailer from 7.0.2 to 7.1.1 by @dependabot[bot] in #2195
- npm(deps): bump vue from 3.5.30 to 3.5.33 by @dependabot[bot] in #2173
- npm(deps-dev): bump sass from 1.97.3 to 1.99.0 by @dependabot[bot] in #2135
- bump strauss by @hansmorb in #2205
- npm(deps-dev): bump @babel/preset-env from 7.29.2 to 7.29.5 by @dependabot[bot] in #2183
- Bump codecov/codecov-action from 6 to 7 by @dependabot[bot] in #2206
- npm(deps-dev): bump cypress from 15.14.2 to 15.16.0 by @dependabot[bot] in #2209
- npm(deps-dev): bump @wordpress/env from 11.5.0 to 11.8.0 by @dependabot[bot] in #2211
- npm(deps-dev): bump @babel/preset-env from 7.29.5 to 7.29.7 by @dependabot[bot] in #2210
- npm(deps-dev): bump sass from 1.99.0 to 1.100.0 by @dependabot[bot] in #2213
- npm(deps-dev): bump cypress from 15.16.0 to 15.17.0 by @dependabot[bot] in #2221
- Bump actions/checkout from 6 to 7 by @dependabot[bot] in #2235
- npm(deps-dev): bump @wordpress/env from 11.8.0 to 11.8.1 by @dependabot[bot] in #2236
- npm(deps-dev): bump sass from 1.100.0 to 1.101.0 by @dependabot[bot] in #2223
- npm(deps): bump vue from 3.5.33 to 3.5.38 by @dependabot[bot] in #2222
- npm(deps-dev): bump prettier from 3.8.3 to 3.8.4 by @dependabot[bot] in #2220
- npm(deps): bump select2 from 4.0.13 to 4.1.0 by @dependabot[bot] in #2212
- npm(deps-dev): bump @wordpress/env from 11.8.1 to 11.10.0 by @dependabot[bot] in #2247
- npm(deps-dev): bump cypress from 15.17.0 to 15.18.0 by @dependabot[bot] in #2240
- Bump actions/cache from 5 to 6 by @dependabot[bot] in #2237
New Contributors
- @BrianHenryIE made their first contribution in #1974
Full Changelog: 2.10.10...2.11