https://github.com/arp242/goatcounter/releases/tag/v2.5.0 Skip to content Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} arp242 / goatcounter Public * * Notifications * Fork 193 * Star 3.9k * Code * Issues 44 * Pull requests 2 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Security * Insights 1. Releases 2. v2.5.0 v2.5.0 Latest Latest Compare Choose a tag to compare [ ] Could not load tags Nothing to show {{ refName }} default (*) View all tags @arp242 arp242 released this 14 Dec 02:58 * 8 commits to master since this release v2.5.0 ca25fa9 This commit was signed with the committer's verified signature. [1032692] arp242 Martin Tournoij SSH Key Fingerprint: 2DHReRWdgRXpX3kSKVo4wU80KoRuqXGmv81g8KgrXbA Learn about vigilant mode. The funding goal was reached, and I'm starting a job next week. So things should be grand! Of course, you can still donate if you want to; it's just no longer "needed-needed". https://github.com/sponsors/arp242 Many thanks, Martin --------------------------------------------------------------------- And then now for the actual changelog: This release requires Go 1.21. Features: * Quite a few tables are rewritten to a more efficient format. For small to medium instances this will take a few minutes at the most, but if you have very large instances this may take a few hours. It also requires enough free disk space to rewrite the hits table. If you want to run steps manually then you can view the migration with: % goatcounter db migrate -show 2023-05-16-1-hits Or if you use PostgreSQL: % goatcounter db migrate -show -db postgresql+dbname=goatcounter 2023-05-16-1-hits * The User-Agent header is no longer stored; only the browser and system parsed out of there. It's pretty reliable, and especially mobile browser User-Agents are ridiculously unique. It was always stored only "in case the detection got it horribly wrong", but this has never been needed. * Add proxy option in serve -tls flag, to give a hint that a secure connection will be used, so we know what value to use for the cookie secure/samesite flags. * Add experimental "dark mode"; this needs to be enabled explicitly in the user settings. I need help to make this decent: #586 (comment) * Show difference of pageviews compared to previous period on the dashboard. * Make setup of a new installation a bit easier: instead of telling people to use the CLI, display a form when the database is 100% empty. Fixes: * Collecting stats was broken when "sessions" was disabled in the site settings. * Use navigator.sendBeacon by default in count.js. This will allow using click events on things like PDF files and external URLs: * Sometimes the order of pages was wrong when using PostgreSQL. * Few smaller bugfixes. Assets 5 [?] 48 FerroEduardo, waynexia, stacybrock, libreom, azzamsa, NihalNavath, salim-b, AaronJY, freddy-m, mrManner, and 38 more reacted with heart emoji All reactions * [?] 48 reactions 48 people reacted Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.