Skip to content

Update dependency noticed to v3#1542

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/noticed-3.x
Open

Update dependency noticed to v3#1542
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/noticed-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 20, 2026

This PR contains the following updates:

Package Change Age Confidence
noticed '~> 1.6.3''~> 3.0.0' age confidence

Release Notes

excid3/noticed (noticed)

v3.0.0

Compare Source

  • [Breaking] Drop Rails 6.1 support
  • Add support for mailers with args and kwargs #​565

v2.9.3

Compare Source

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

v2.9.2

Compare Source

  • [Bugfix] Don't eager load NotificationChannel

v2.9.1

Compare Source

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

v2.9.0

Compare Source

  • Add Action Push Native delivery method

v2.8.1

Compare Source

  • Fix Coder support for arguments with Rails 8.1

v2.8.0

Compare Source

  • Add --bulk option for generating bulk delivery methods

v2.7.1

Compare Source

  • Fix recipients :symbol ignored when pointing to a private method

v2.7.0

Compare Source

  • Add lazy load hooks for delivery methods

v2.6.2

Compare Source

  • Fix lazy load hook names

v2.6.1

Compare Source

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

v2.6.0

Compare Source

  • 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

v2.5.1

Compare Source

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

v2.5.0

Compare Source

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

v2.4.3

Compare Source

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

v2.4.2

Compare Source

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

v2.4.1

Compare Source

  • Include private methods when checking if respond_to?(:method). Fixes #​475

v2.4.0

Compare Source

  • Add recipients feature to let Notifiers determine their recipients
class CommentNotifier < ApplicationNotifier

v2.3.3

Compare Source

  • Use public_send for Email delivery so it doesn't accidentally call private methods.

v2.3.2

Compare Source

  • Set :json type on :params column with default to better integrate with ActiveRecord.
    This fixes sqlserver (and probably other databases). #​451

v2.3.1

Compare Source

  • Skip ApplicationNotifier in generator if it already exists

v2.3.0

Compare Source

  • Add error_handler to Twilio delivery method #​444
  • Fix record being removed for Ephemeral notifications #​448

v2.2.2

Compare Source

  • fetch_constant will now constantize Strings returned from procs or method calls

v2.2.1

Compare Source

  • fetch_constant used by Email and ActionCable delivery methods now support procs and method calls with symbols like other options

v2.2.0

Compare Source

  • Add config.before_enqueue callback
    This callback can be used to skip enqueuing delivery methods:
class CommentNotifier < Noticed::Event
  deliver_by :email do |config|
    config.before_enqueue = ->{ throw(:abort) unless recipient.email_notifications? }
  end
end
  • Fix iOS format option with Symbols. This now passes the notification and apn objects instead of just the apn.
config.format = :ios_format

v2.1.3

Compare Source

  • Stringify keys for Twilio Messaging json

v2.1.2

Compare Source

  • Fix counter cache migration version for older Rails

v2.1.1

Compare Source

  • Fix duplicate column in migrations.
  • Add compatibility for apps that don't use ActionCable.

v2.1.0

Compare Source

[!IMPORTANT] Run rails noticed:install:migrations to upgrade to this version

  • Add notifications_count counter cache to Noticed::Event.
  • Add has_noticed_notifications for backwards compatibility.
  • Add Noticed::Ephemeral notifiers that skip the database records. These use ActiveModel to simulate Notifiers in memory and should work the same as a regular Notifier.

v2.0.6

Compare Source

  • Add param(s) and deliver_later back with deprecations where necessary to ease upgrading from v1

v2.0.5

Compare Source

  • mark_as_read and other class methods will now write updated_at as well to bust caches

v2.0.4

Compare Source

  • Validate param key exists, not the value
  • Fix recipients that are STI models by storing base class name
  • Re-add delivery method callbacks

v2.0.3

Compare Source

  • Notifier generator now ensures the Notifier suffix.
rails g noticed:notifier Example #=> app/notifiers/example_notifier.rb
rails g noticed:notifier ExampleNotifier #=> app/notifiers/example_notifier.rb
  • Delivery method options set to a Symbol will now pass the notification argument when calling the method instead of the delivery method instance.
class CommentNotifier
  deliver_by :email do
    config.if = :prefers_email?
  end

  def prefers_email?(notification)
    notification.recipient.preferences[:email]
  end
end

v2.0.2

Compare Source

  • Add Noticed::NotificationChannel and change defaults for ActionCable deliveries to this channel and stream to recipient

v2.0.1

Compare Source

  • Include notification and recipient in email params. Fixes #​366

v2.0.0

Compare Source

  • [Breaking] Noticed now provides its own models for managing notifications. Migrate existing model(s) to use the new Noticed tables.

TODO - add migration example

  • [Breaking] Noticed::NotificationChannel has been removed. Use an ActionCable channel in your application instead.
  • [Breaking] Twilio has been renamed to twilio_messaging to provide support for other Twilio services in the future.
  • [Breaking] Vonage / Nexmo has been renamed to vonage_sms to provide support for other Vonage services in the future.
class NotificationChannel < ApplicationCable::Channel
  def subscribed
    stream_for current_user
  end

  def unsubscribed
    stop_all_streams
  end
end
  • Notifications have now been renamed to Notifiers and now inherit from the
  • Email delivery method now supports args
  • Support html safe translations for Rails 7+

Configuration

📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added dependencies Pull requests that update a dependency file major labels Mar 20, 2026
@renovate renovate bot force-pushed the renovate/noticed-3.x branch 3 times, most recently from 75b03ce to 705ad19 Compare March 26, 2026 14:20
@renovate renovate bot force-pushed the renovate/noticed-3.x branch from 705ad19 to a7ca256 Compare March 28, 2026 01:27
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file major

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants