Skip to content

Commit 63f8b02

Browse files
committed
1.6.0: Preserve I18n.locale in callbacks
1 parent 23d26fd commit 63f8b02

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## Unreleased
8+
9+
## 1.6.0 (2025-02-07)
10+
11+
### Added
12+
13+
- I18n support: preserve `I18n.locale` setting from when `after_commit` is called and restore it for callback execution. [Pull request #36](https://github.com/Envek/after_commit_everywhere/pull/36) by [Bilka2][]
14+
715
## 1.5.0 (2024-12-09)
816

917
### Added
@@ -156,3 +164,4 @@ See [#11](https://github.com/Envek/after_commit_everywhere/issues/11) for discus
156164
[@quentindemetz]: https://github.com/quentindemetz "Quentin de Metz"
157165
[@A1090]: https://github.com/A1090 "Tabac Andreina"
158166
[@kevink1103]: https://github.com/kevink1103 "Kevin (bum)"
167+
[Bilka2]: https://github.com/Bilka2 "Bilka"

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
after_commit_everywhere (1.5.0)
4+
after_commit_everywhere (1.6.0)
55
activerecord (>= 4.2)
66
activesupport
77

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module AfterCommitEverywhere
4-
VERSION = "1.5.0"
4+
VERSION = "1.6.0"
55
end

0 commit comments

Comments
 (0)