v1.5.0-rc.0 #2324
Replies: 8 comments 35 replies
-
Can you describe how to enable city level geolocation? And if it is disabled wouldn't it be possible to hide the buttons "Regions" and "Cities" on the Location widget? |
Beta Was this translation helpful? Give feedback.
-
@rphlo sure! Here's a quick guide.
City level geolocation can be enabled by mounting a volume with the downloaded $ # custom csv can be used, see https://github.com/plausible/location#cities for more info
$ curl -O https://s3.eu-central-1.wasabisys.com/plausible-application/geonames.csv $ # https://db-ip.com/db/download/ip-to-city-lite, maxmind can also be used but it requires authorization
$ curl -O https://download.db-ip.com/free/dbip-city-lite-2022-10.mmdb.gz
$ gunzip dbip-city-lite-2022-10.mmdb.gz
plausible:
image: plausible/analytics:1.5.0-rc.0
+ volumes:
+ - ./geonames.csv:/etc/app/geonames.csv:ro
+ - ./dbip-city-lite-2022-10.mmdb:/etc/app/dbip-city-lite-2022-10.mmdb:ro
ADMIN_USER_EMAIL=replace-me
ADMIN_USER_NAME=replace-me
ADMIN_USER_PWD=replace-me
BASE_URL=replace-me
SECRET_KEY_BASE=replace-me
+ GEONAMES_SOURCE_FILE=/etc/app/geonames.csv
+ IP_GEOLOCATION_DB=/etc/app/dbip-city-lite-2022-10.mmdb |
Beta Was this translation helpful? Give feedback.
-
For my second point which was hidding the "Regions" and "Cities" Pills in the locations widget if this feature is not enabled, I implemented myself. |
Beta Was this translation helpful? Give feedback.
-
Done the postgres 12 to 14 upgrade successfully and was already on the specified clickhouse version. Seems clickhouse is not happy with the migration....any pointers as to how to solve it please? Thanks in advance :)
|
Beta Was this translation helpful? Give feedback.
-
Hi @ruslandoga has GEOLITE2_COUNTRY_DB now been depreciated? as I get GeoLite2-City.mmdb updated automatically. |
Beta Was this translation helpful? Give feedback.
-
Nitpick, previous versions in dockerhub were named like |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
👋
The highlights of this release are:
Upgrading Plausible Analytics to v1.5
In your
docker-compose.yml
update the image used forplausible
to tag1.5.0-rc.0
:Restart the container
This will boot up the new version of the app.
Upgrading ClickHouse to 22.6 (Optional, but recommended)
In your
docker-compose.yml
, update the image used forplausible_events_db
to the newest stable ClickHouse version:Restart the container
This will boot up the new version of ClickHouse.
Related PR: plausible/community-edition#45
Upgrading PostgreSQL to 14 (Optional, but recommended)
Upgrading PostgreSQL is a bit trickier, here's the upgrade guide.
Changelog
Following changes have been made since v1.4:
Added
|
characters with\
in Stats API filter valueslimit
parameter in Stats APIexclusions
script extension now also takes adata-include
attribute tagfile-downloads
script extension for automatically tracking file downloads as custom eventsPUT /api/v1/sites/goals
with form paramssite_id
,event_name
and/orpage_path
, andgoal_type
with supported typesevent
andpage
DELETE /api/v1/sites/goals/:goal_id
with form paramssite_id
u
option can now be used in themanual
extension to specify a URL when triggering events.utm_content
andutm_term
Support for utm_term and utm_content #515LISTEN_IP
configuration parameter no pg_hba.conf entry for host when connecting to Postgres via Heroku #1189property=event:goal
returns custom goal properties (withinprops
)ECTO_IPV6
)contains
, available forpage
,entry_page
,exit_page
GET /api/v1/sites/:site_id
Fixed
script.exclusions.hash.js
.pages.csv
file now includes pageviews again plausible/analytics#1878Changed
script.file-downloads.outbound-links.js
only sends an outbound link event when an outbound download link is clickedentry_page
andexit_page
to be part of thePage
filter groupView all
link to the site-switcher dropdown in the dashboard.+ Add Site
link to the site-switcher dropdown in the dashboard.DISABLE_REGISTRATIONS
configuration parameter can now acceptinvite_only
to allow invited users to register an account while keeping regular registrations disabled Adds "invite_only" disable_registration config option #1841This discussion was created from the release v1.5.0-rc.0.
Beta Was this translation helpful? Give feedback.
All reactions