Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
9b1be49
Include `Noticed::Translation` in `Noticed::Ephemeral::Notification` …
ghiculescu Sep 5, 2024
d13341c
Allow changing the base class for `EventJob` (#483)
ghiculescu Sep 5, 2024
6c3a165
Version bump
excid3 Sep 5, 2024
505e6c9
Add Rails 7.2 appraisal
excid3 Sep 5, 2024
02027a3
Include routes and `Noticed::Translation` in `Noticed::Ephemeral` (#…
ghiculescu Sep 6, 2024
9f57d03
Test ephemeral URL helpers and translations
excid3 Sep 6, 2024
d865e48
Add missing assertions to tests
excid3 Sep 6, 2024
a5b8662
Update changelog
excid3 Sep 6, 2024
217975a
Version bump
invalid-email-address Sep 6, 2024
4a10493
Support callbacks in bulk delivery methods. (#487)
ghiculescu Sep 10, 2024
0a24f26
Update test.md
excid3 Sep 11, 2024
8da0fef
Update slack.md
excid3 Sep 13, 2024
93bf735
Update webhook.md
excid3 Sep 13, 2024
c64f0f4
Fix crash when trying to bulk notify from an ephemeral notifier (#486)
ghiculescu Sep 20, 2024
9b3f5af
Allow use of evaluated recipients in ephemeral notifiers (#492)
ghiculescu Sep 23, 2024
db7d51c
Update Documentation: Add details about how to vary queue priority (#…
phil-6 Oct 14, 2024
d23f3d9
Update docs for the slack delivery method (#495)
TheZero0-ctrl Oct 17, 2024
00b5f96
Fix channel name (#499)
ibrahima Oct 29, 2024
3b9ec9e
Adding the ability to surface http2 error to the app and closing the …
avanrielly Nov 11, 2024
c0f6317
Add Bluesky bulk delivery method
excid3 Nov 12, 2024
087eeb1
Update Twilio messaging read me (#506)
nachiket87 Nov 23, 2024
7a6c487
Documentation Fix (#510)
shanereddy Dec 6, 2024
8e41747
update test dependencies
excid3 Dec 16, 2024
d7e99f0
Merge branch 'main' of github.com:excid3/noticed
excid3 Dec 16, 2024
06628e1
Update gems
excid3 Dec 16, 2024
86ac992
Drop Ruby 3.1 from CI
excid3 Dec 16, 2024
ed3abf3
Fix typo in README (#513)
fguillen Dec 16, 2024
592125d
Documentation Update (#512)
d3rt Dec 16, 2024
0e49323
Inherit Notification from parent class (#514)
excid3 Dec 17, 2024
7d6144a
Version bump
excid3 Dec 17, 2024
06d3276
Slack notifiers: add option to raise exception on failed 2xx responses
sherifnada Dec 28, 2024
8b82103
standard
sherifnada Dec 28, 2024
0cecb14
rename
sherifnada Dec 28, 2024
589596b
docs
sherifnada Dec 28, 2024
5dc5842
Update UPGRADE.md
excid3 Dec 30, 2024
a9bae80
Fix BulkDeliveryMethod base class (#519)
gap777 Jan 9, 2025
85ce68d
Refactor
excid3 Jan 9, 2025
b980d21
Merge branch 'sherifnada-sherifnada/slack-raise-error-options'
excid3 Jan 9, 2025
7b56b56
Merge branch 'main' of github.com:excid3/noticed
excid3 Jan 9, 2025
f37b9a8
Update appraisals
excid3 Jan 9, 2025
6a80d9c
Version bump
excid3 Jan 9, 2025
6d2b702
Add and
excid3 Jan 16, 2025
a06fdca
Fix concurrent-ruby with activesupport for older Rails
excid3 Jan 16, 2025
68dd855
Update bundler for appraisals
excid3 Jan 16, 2025
fc6a305
Normalize bundle platforms
excid3 Jan 16, 2025
571501b
Fix typo in Notification Model Methods section (#523)
mdmccoy Jan 30, 2025
a3cff98
Update documentation of test delivery method (#526)
sergioisidoro Feb 14, 2025
c521aa6
Update appraisals
excid3 Feb 14, 2025
615d0c3
Normalize gemfiles
excid3 Feb 14, 2025
ed230f4
Skip CI for Ruby 3.4 + sqlite 1.x
excid3 Feb 14, 2025
a27948b
Handle 400 response code for FMC (#532)
ogirginc Apr 24, 2025
35976fa
Update CHANGELOG.md
excid3 Apr 24, 2025
1882d8c
Handle Slack JSON & HTTP status codes for errors
excid3 Apr 25, 2025
11adc91
Standardize
excid3 Apr 25, 2025
a11326d
Add lazy load hooks for models
excid3 Apr 25, 2025
e5b4dfd
Update test deps
excid3 Apr 25, 2025
0395945
Update gemfiles
excid3 Apr 25, 2025
8638e8a
Standardize
excid3 Apr 25, 2025
69127f2
Version bump
excid3 Apr 25, 2025
be09d82
Fix lazy load hook names and version bump
excid3 May 16, 2025
010aa38
Version bump
excid3 May 16, 2025
d63ddee
Add lazy load hooks for delivery methods (#538)
excid3 May 16, 2025
5baa4da
Update documentation on recipient-specific settings (#543)
sjswoboda Jun 25, 2025
e60d8e1
Add an error handler lambda to FCM delivery method (#544)
tony-rowan Jun 25, 2025
3ac3a5c
Fix recipients not finding private methods
excid3 Jul 1, 2025
7fd2bd0
Merge
excid3 Jul 1, 2025
fae78f9
Version bump
excid3 Jul 1, 2025
7fa7743
Add bulk delivery method generator
excid3 Jul 23, 2025
282d13d
Version bump
excid3 Jul 23, 2025
d3b718b
Remove v1 upgrade note
excid3 Jul 23, 2025
9b6b255
Clean up generator templates for required_options
excid3 Jul 23, 2025
2a49f2e
Add appraisal for Rails 8.1
excid3 Sep 7, 2025
464545c
Handle serialization in Rails 8.1. Closes #553
excid3 Sep 7, 2025
14a064e
Version bump
excid3 Sep 8, 2025
e34a95d
Add Rails 8.1 appraisal to CI
excid3 Sep 8, 2025
c5a31db
Use zeitwerk to load gem
excid3 Sep 17, 2025
b120b43
Merge branch 'main' of github.com:excid3/noticed
excid3 Sep 17, 2025
0a643c3
allow for webhook body to be set directly (#556)
lundie Sep 27, 2025
f4741e7
Update changelog
excid3 Oct 3, 2025
70c584f
Update deprecator for Rails 7.1 and up
excid3 Oct 3, 2025
b3f1777
Add Action Push Native delivery method (#555)
excid3 Oct 3, 2025
02ab883
Version bump
excid3 Oct 3, 2025
5cb09ee
Merge branch 'main' of github.com:excid3/noticed
excid3 Oct 3, 2025
c199038
Linty
excid3 Oct 3, 2025
4179718
Rails 8.1.0.beta2 reverts the AJ::Arguments serialize changes
excid3 Oct 3, 2025
1a0c544
Only autoload delivery method directories. Fixes #557
excid3 Oct 4, 2025
e2f0afa
Version bump
excid3 Oct 4, 2025
8a7ab08
Don't eager load notification channel with zeitwerk (#559)
excid3 Oct 6, 2025
05fd209
Version bump
excid3 Oct 6, 2025
a6fe7ac
Fix Action Push Native silent logic (#560)
djpremier Oct 8, 2025
654a1f6
Version bump
excid3 Oct 8, 2025
cfc116e
Update discord.md (#562)
asmrtfm Oct 13, 2025
c28ee80
Add Action Push Native to README.md (#563)
janpeterka Oct 14, 2025
9a5de6f
Update appraisals
excid3 Oct 15, 2025
05c1aca
Merge branch 'main' of github.com:excid3/noticed
excid3 Oct 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 43 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,25 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.0', '3.1', '3.2', '3.3']
ruby: ['3.2', '3.3', '3.4']
gemfile:
- rails_6_1
- rails_7
- rails_7_0
- rails_7_1
- rails_7_2
- rails_8_0
- rails_8_1
- rails_main
exclude:
- ruby: '3.0'
gemfile: 'rails_main'
# sqlite3 ~> 1.7 is not compatible with Ruby 3.4+
- gemfile: rails_6_1
ruby: '3.4'
- gemfile: rails_7_0
ruby: '3.4'
- gemfile: rails_7_1
ruby: '3.4'
- gemfile: rails_7_2
ruby: '3.4'

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down Expand Up @@ -54,15 +64,25 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.0', '3.1', '3.2', '3.3']
ruby: ['3.2', '3.3', '3.4']
gemfile:
- rails_6_1
- rails_7
- rails_7_0
- rails_7_1
- rails_7_2
- rails_8_0
- rails_8_1
- rails_main
exclude:
- ruby: '3.0'
gemfile: 'rails_main'
# sqlite3 ~> 1.7 is not compatible with Ruby 3.4+
- gemfile: rails_6_1
ruby: '3.4'
- gemfile: rails_7_0
ruby: '3.4'
- gemfile: rails_7_1
ruby: '3.4'
- gemfile: rails_7_2
ruby: '3.4'

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down Expand Up @@ -103,15 +123,25 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.0', '3.1', '3.2', '3.3']
ruby: ['3.2', '3.3', '3.4']
gemfile:
- rails_6_1
- rails_7
- rails_7_0
- rails_7_1
- rails_7_2
- rails_8_0
- rails_8_1
- rails_main
exclude:
- ruby: '3.0'
gemfile: 'rails_main'
# sqlite3 ~> 1.7 is not compatible with Ruby 3.4+
- gemfile: rails_6_1
ruby: '3.4'
- gemfile: rails_7_0
ruby: '3.4'
- gemfile: rails_7_1
ruby: '3.4'
- gemfile: rails_7_2
ruby: '3.4'

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down Expand Up @@ -144,6 +174,7 @@ jobs:
env:
DATABASE_URL: postgres://postgres:password@localhost:5432/test
RAILS_ENV: test
CI: true
run: |
bundle exec rails db:test:prepare
bundle exec rails test
36 changes: 35 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,28 @@ appraise "rails-6-1" do
gem "rails", "~> 6.1.0"
gem "sqlite3", "~> 1.7"
gem "activerecord-trilogy-adapter"

# Ruby 3.4 drops these default gems
gem "bigdecimal"
gem "drb"
gem "mutex_m"

# Fixes uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)
gem "concurrent-ruby", "< 1.3.5"
end

appraise "rails-7" do
appraise "rails-7-0" do
gem "rails", "~> 7.0.0"
gem "sqlite3", "~> 1.7"
gem "activerecord-trilogy-adapter"

# Ruby 3.4 drops these default gems
gem "bigdecimal"
gem "drb"
gem "mutex_m"

# Fixes uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)
gem "concurrent-ruby", "< 1.3.5"
end

appraise "rails-7-1" do
Expand All @@ -16,6 +32,24 @@ appraise "rails-7-1" do
gem "trilogy"
end

appraise "rails-7-2" do
gem "rails", "~> 7.2.0"
gem "sqlite3", "~> 1.7"
gem "trilogy"
end

appraise "rails-8-0" do
gem "rails", "~> 8.0.0"
gem "sqlite3", "~> 2.0"
gem "trilogy"
end

appraise "rails-8-1" do
gem "rails", "~> 8.1.0.beta1"
gem "sqlite3", "~> 2.0"
gem "trilogy"
end

appraise "rails-main" do
gem "rails", github: "rails/rails", branch: "main"
gem "sqlite3", "~> 2.0"
Expand Down
65 changes: 65 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,70 @@
### Unreleased

### 2.9.3

* [Bugfix] Silent was opposite for Action Push Native notifications #560

### 2.9.2

* [Bugfix] Don't eager load `NotificationChannel`

### 2.9.1

* [Bugfix] Don't eager load delivery methods. These should be only lazy loaded.

### 2.9.0

* Add Action Push Native delivery method

### 2.8.1

* Fix Coder support for arguments with Rails 8.1

### 2.8.0

* Add `--bulk` option for generating bulk delivery methods

### 2.7.1

* Fix `recipients :symbol` ignored when pointing to a private method

### 2.7.0

* Add lazy load hooks for delivery methods

### 2.6.2

* Fix lazy load hook names

### 2.6.1

* Handle text/html and application/json responses from Slack #531
* Handle 400 errors for FCM deliveries #532
* Add lazy load hooks for models

### 2.6.0

* Add `mark_as_read_and_seen` and `mark_as_unread_and_unseen` class methods to `Noticed::Notification`
* Add support for extra kwargs to `mark_as` class methods on `Noticed::Notification`

### 2.5.1

* Slack delivery methods now verify the `{ok: true/false}` response to catch errors correctly #515

### 2.5.0

* Inherit Notification from parent class Notification.
* Support callbacks in bulk delivery methods.

### 2.4.3

* Add translation and URL helpers to Ephemeral notifiers & notifications #485

### 2.4.2

* The `parent_class` configuration now also changes the parent class for `Noticed::EventJob`. #483
* Include translation support in Ephemeral notifications #484

### 2.4.1

* Include private methods when checking if respond_to?(:method). Fixes #475
Expand Down
11 changes: 3 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,12 @@ gemspec
# Git. Remember to move these dependencies to your gemspec before releasing
# your gem to rubygems.org.

gem "appraisal"
gem "pg"
gem "sqlite3"
gem "standard"
gem "webmock"

gem "pg"
gem "sqlite3", "~> 1.7"

# To use a debugger
gem "byebug", group: [:development, :test]
gem "appraisal"
gem "net-smtp"

# iOS notifications
gem "apnotic", "~> 1.7"

Expand Down
Loading