Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update notifications-ruby-client requirement from ~> 5.1 to >= 5.1, < 7.0 #110

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 5, 2024

Updates the requirements on notifications-ruby-client to permit the latest version.

Changelog

Sourced from notifications-ruby-client's changelog.

6.0.0

  • Removes the is_csv parameter from prepare_upload
  • Adds a filename parameter to prepare_upload to set the filename of the document upon download. See the documentation for more information.

5.4.0

  • Add support for new security features when sending a file by email:
    • confirm_email_before_download can be set to true to require the user to enter their email address before accessing the file.
    • retention_period can be set to <1-78> weeks to set how long the file should be made available.

5.3.0

  • Added letter_contact_block as a new attribute of the Notifications::Client::Template class. This affects the responses from the get_template_by_id, get_template_version and get_all_templates methods.

5.2.0

  • Add support for an optional is_csv parameter in the prepare_upload() function. This fixes a bug when sending a CSV file by email. This ensures that the file is downloaded as a CSV rather than a TXT file.

5.1.2

  • Change filesize too big exception message to refer to files rather than documents.

5.1.1

  • Exceptions now return the error message when calling #to_s on them. This will make services like Sentry correctly display the full error description.

5.1.0

  • Added new get_pdf_for_letter method
    • accepts a notification id argument
    • returns a string containing the final printable PDF for a precompiled or templated letter

5.0.0

4.0.0

3.1.0

  • Added html field to the TemplatePreview response, so users can see the rendered HTML of their email templates.

3.0.0

  • Changed response class for send_precompiled_letter request from ResponseNotification to a new response class: ResponsePrecompiledLetter. This may affect users sending precompiled letters.
  • Added an optional postage argument to send_precompiled_letter method, so users can specify postage when sending

... (truncated)

Commits
  • eedb9ff Merge pull request #140 from alphagov/SW-custom-filename
  • 7d8a6ac Pin factory_bot below 6.4.5
  • 55aaf2d Documentation updates from tech docs
  • ba6d0ab Allow setting custom filenames for documents
  • a3de4eb Merge pull request #139 from alphagov/bullet-points-in-personalisation
  • bbd5cb4 Update DOCUMENTATION.md
  • a30bcf7 Update DOCUMENTATION.md
  • 8883fdb Update DOCUMENTATION.md
  • c3e52f3 Guidance for adding bullet points in personalisation
  • 84c60e5 Merge pull request #136 from alphagov/update-message-status-descriptions
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

… 7.0

Updates the requirements on [notifications-ruby-client](https://github.com/alphagov/notifications-ruby-client) to permit the latest version.
- [Changelog](https://github.com/alphagov/notifications-ruby-client/blob/main/CHANGELOG.md)
- [Commits](alphagov/notifications-ruby-client@5.1.1...6.0.0)

---
updated-dependencies:
- dependency-name: notifications-ruby-client
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jan 5, 2024
@mec
Copy link
Member

mec commented Feb 23, 2024

Will support later versions of the notifications client in v2

@mec mec closed this Feb 23, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 23, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/bundler/notifications-ruby-client-gte-5.1-and-lt-7.0 branch February 23, 2024 15:24
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 ruby Pull requests that update Ruby code
Development

Successfully merging this pull request may close these issues.

None yet

1 participant