From 0551891fc96e43132aadc60b83dff8b56d0732a8 Mon Sep 17 00:00:00 2001 From: "Jon R. Humphrey" Date: Mon, 3 Nov 2025 16:27:12 +0000 Subject: [PATCH 1/2] refactor: remove deprecated timezone config option - Cleans up obsolete timezone preservation setting - Prepares codebase for compatibility with future framework updates --- config/application.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/config/application.rb b/config/application.rb index faf885a..a3c21dd 100644 --- a/config/application.rb +++ b/config/application.rb @@ -39,12 +39,6 @@ class Application < Rails::Application # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. # config.time_zone = 'Central Time (US & Canada)' - # !DEPRECATION WARNING: `to_time` will always preserve the full system - # ! timezone offset rather than offset of the receiver in Rails 8.1. - # * To opt in to the new behavior and maintain system timezone, - # * set the value to :zone; otherwise, set to false - config.active_support.to_time_preserves_timezone = :zone - # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] config.i18n.available_locales = %i[en cy] From cd15a54cb95e2103f582d9b7e817a88c33ab05d4 Mon Sep 17 00:00:00 2001 From: "Jon R. Humphrey" Date: Mon, 3 Nov 2025 16:29:12 +0000 Subject: [PATCH 2/2] docs: Updated CHANGELOG - Drops outdated configuration for future framework support - Prepares for new version upgrade by cleaning legacy setting --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce83e34..a247c0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Exception rescue paths were updated to clarify outcomes - Error handling and resource logging were improved +### Removed + +- Removed deprecated `to_time_preserves_timezone` configuration for Rails 8.1+ + compatibility + ### Fixed - Missing status in metrics subscriber was handled to prevent exceptions during