diff --git a/.app_version b/.app_version index 16eb94e7..6aec9e54 100644 --- a/.app_version +++ b/.app_version @@ -1 +1 @@ -0.21.3 +0.21.4 diff --git a/.github/workflows/build_and_push.yml b/.github/workflows/build_and_push.yml index 001c11e4..2c1ebe4c 100644 --- a/.github/workflows/build_and_push.yml +++ b/.github/workflows/build_and_push.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Cache Docker layers - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-${{ github.sha }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 67fb87fc..8962c791 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ 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.21.4 - 2025-01-05 + +### Fixed + +- Fixed a bug where Photon API for patreon supporters was not being used for reverse geocoding. + # 0.21.3 - 2025-01-04 ### Added diff --git a/config/initializers/01_constants.rb b/config/initializers/01_constants.rb index d8cc2d81..bfa380b6 100644 --- a/config/initializers/01_constants.rb +++ b/config/initializers/01_constants.rb @@ -3,6 +3,7 @@ MIN_MINUTES_SPENT_IN_CITY = ENV.fetch('MIN_MINUTES_SPENT_IN_CITY', 60).to_i REVERSE_GEOCODING_ENABLED = ENV.fetch('REVERSE_GEOCODING_ENABLED', 'true') == 'true' PHOTON_API_HOST = ENV.fetch('PHOTON_API_HOST', nil) +PHOTON_API_KEY = ENV.fetch('PHOTON_API_KEY', nil) PHOTON_API_USE_HTTPS = ENV.fetch('PHOTON_API_USE_HTTPS', 'true') == 'true' DISTANCE_UNIT = ENV.fetch('DISTANCE_UNIT', 'km').to_sym APP_VERSION = File.read('.app_version').strip