v0.4.3
What's Changed
Fixed
- Fixed the stale GeoLite database check. The database_is_stale function looked at the modified time of the file instead of the build time of the database. Moved the private _geoip_info function into /lib/utils.py, and database_is_stale uses that to check instead.
- Fixed a stale service worker breaking production loads (blank page, module
MIME-type errors): the app shell at/is no longer precached (navigations
are NetworkFirst with the cached shell as offline fallback), and/sw.js
404s whileVITE_DEV_MODE=trueso a dev-mode server can never install the
worker. /api/v1/access-logsnow runs separate page and count queries instead of a
count(*) OVER ()window function, cutting large time-range requests from
15+ s to ~130 ms on a 17M+ dataset.
- fix(geoip): fixed broken logic in the stale check by @GilbN in #42
- fix: improve service worker handling and optimize access log queries by @GilbN in #48
Full Changelog: v0.4.2...v0.4.3