diff --git a/.app_version b/.app_version index 4ccdce11..4e8f395f 100644 --- a/.app_version +++ b/.app_version @@ -1 +1 @@ -0.25.10 +0.26.0 diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index d697d8f8..04fd589b 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -48,7 +48,7 @@ services: start_period: 30s timeout: 10s dawarich_db: - image: postgres:17-alpine + image: postgis/postgis:17-3.5-alpine container_name: dawarich_db volumes: - dawarich_db_data:/var/lib/postgresql/data diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fd0ce0d..f9945b0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,23 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -# 0.25.10 - 2025-05-02 +# 0.26.0 - 2025-05-08 + +⚠️ This release includes a breaking change. ⚠️ + +Starting this version, Dawarich requires PostgreSQL 17 with PostGIS 3.5. If you haven't updated your database image yet, please consider doing so as suggested in the [docs on the website](https://dawarich.app/docs/tutorials/update-postgresql/). Simply replacing the image in the `docker-compose.yml` unfortunately doesn't work, as PostgreSQL 17 is not backwards compatible with 14 (which was used in previous versions). + +If you have encountered problems with moving to a PostGIS image while still on Postgres 14, I collected a selection of compatible docker images for different CPU architectures, which you can also find in the [docs](https://dawarich.app/docs/tutorials/moving-to-postgis/). New users will be automatically provisioned with PostgreSQL 17 with PostGIS 3.5 with default `docker-compose.yml` file. + +**You still may use PostgreSQL 14, but no support will be provided for it starting this version. It's strongly recommended to update to PostgreSQL 17.** + +## Changed + +- Dawarich now uses PostgreSQL 17 with PostGIS 3.5 by default. + + + +# 0.25.10 - 2025-05-08 ## Added diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index 74ac8e32..bf5c796f 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -39,7 +39,7 @@ COPY ../Gemfile ../Gemfile.lock ../.ruby-version ../vendor ./ # Install all gems into the image RUN bundle config set --local path 'vendor/bundle' \ && bundle install --jobs 4 --retry 3 \ - && rm -rf vendor/bundle/ruby/3.3.0/cache/*.gem + && rm -rf vendor/bundle/ruby/3.4.1/cache/*.gem # Copy the rest of the application COPY ../. ./ diff --git a/docker/Dockerfile.prod b/docker/Dockerfile.prod index 1d383cc7..4bd70469 100644 --- a/docker/Dockerfile.prod +++ b/docker/Dockerfile.prod @@ -37,7 +37,7 @@ COPY ../Gemfile ../Gemfile.lock ../.ruby-version ../vendor ./ RUN bundle config set --local path 'vendor/bundle' \ && bundle config set --local without 'development test' \ && bundle install --jobs 4 --retry 3 \ - && rm -rf vendor/bundle/ruby/3.3.0/cache/*.gem + && rm -rf vendor/bundle/ruby/3.4.1/cache/*.gem COPY ../. ./ diff --git a/docker/docker-compose.production.yml b/docker/docker-compose.production.yml index 054571f7..8dbf3f28 100644 --- a/docker/docker-compose.production.yml +++ b/docker/docker-compose.production.yml @@ -17,7 +17,7 @@ services: start_period: 30s timeout: 10s dawarich_db: - image: postgres:17-alpine # TODO: Use postgis here + image: postgis/postgis:17-3.5-alpine shm_size: 1G container_name: dawarich_db volumes: diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index dc32f337..bfadcb5a 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -17,7 +17,7 @@ services: start_period: 30s timeout: 10s dawarich_db: - image: postgis/postgis:14-3.5-alpine + image: postgis/postgis:17-3.5-alpine shm_size: 1G container_name: dawarich_db volumes: diff --git a/docs/synology/docker-compose.yml b/docs/synology/docker-compose.yml index cfb625a9..8beafa59 100644 --- a/docs/synology/docker-compose.yml +++ b/docs/synology/docker-compose.yml @@ -10,7 +10,7 @@ services: - ./redis:/var/shared/redis dawarich_db: - image: postgis/postgis:14-3.5-alpine + image: postgis/postgis:17-3.5-alpine container_name: dawarich_db restart: unless-stopped environment: