github GilbN/geometrikks v0.4.3

latest releases: v0.15.0-dev.2, v0.15.0-dev.1, v0.14.3...
one month ago

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 while VITE_DEV_MODE=true so a dev-mode server can never install the
    worker.
  • /api/v1/access-logs now 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

Don't miss a new geometrikks release

NewReleases is sending notifications on new releases.