Skip to content

Commit

Permalink
1.6.0: Preserve I18n.locale in callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Envek committed Feb 7, 2025
1 parent 23d26fd commit 63f8b02
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## Unreleased

## 1.6.0 (2025-02-07)

### Added

- 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][]

## 1.5.0 (2024-12-09)

### Added
Expand Down Expand Up @@ -156,3 +164,4 @@ See [#11](https://github.com/Envek/after_commit_everywhere/issues/11) for discus
[@quentindemetz]: https://github.com/quentindemetz "Quentin de Metz"
[@A1090]: https://github.com/A1090 "Tabac Andreina"
[@kevink1103]: https://github.com/kevink1103 "Kevin (bum)"
[Bilka2]: https://github.com/Bilka2 "Bilka"
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
after_commit_everywhere (1.5.0)
after_commit_everywhere (1.6.0)
activerecord (>= 4.2)
activesupport

Expand Down
2 changes: 1 addition & 1 deletion lib/after_commit_everywhere/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module AfterCommitEverywhere
VERSION = "1.5.0"
VERSION = "1.6.0"
end

0 comments on commit 63f8b02

Please sign in to comment.