Skip to content

Commit

Permalink
Version change
Browse files Browse the repository at this point in the history
  • Loading branch information
CrystalPea authored and klssmith committed May 10, 2024
1 parent 6715c7f commit b7ceabc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 6.1.0

* Adds a `unsubscribe_link` parameter to `send_email` so services can allow users to easily unsubscribe from distribution lists.
* Adds a `unsubscribe_link` attribute to `Notification` class, so responses for get_notification include the unsubscribe link.

## 6.0.0

* Removes the `is_csv` parameter from `prepare_upload`
Expand Down
2 changes: 1 addition & 1 deletion lib/notifications/client/speaker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def initialize(secret_token = nil, base_url = nil)
# @option form_data [String] :sms_sender_id
# id of the sender to be used for an sms notification
# @option form_data [String] :unsubscribe_link
# link that user can click to unsubscribe from the distribution list. We will pass this link in the email headers.
# link that end user can click to unsubscribe from the distribution list. We will pass this link in the email headers.
# @see #perform_request!
def post(kind, form_data)
request = Net::HTTP::Post.new(
Expand Down
2 changes: 1 addition & 1 deletion lib/notifications/client/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

module Notifications
class Client
VERSION = "6.0.0".freeze
VERSION = "6.1.0".freeze
end
end

0 comments on commit b7ceabc

Please sign in to comment.