Skip to content

chore(deps): bump the examples group across 1 directory with 2 updates - #22

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/examples/events/examples-e0b9f93d8f
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/examples/events/examples-e0b9f93d8f

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on puma and json to permit the latest version.
Updates puma to 8.1.2

Release notes

Sourced from puma's releases.

v8.1.2

  • Security
    • Close a TLS connection when OpenSSL reports a fatal error reading it, rather than buffering everything the client sends until first_data_timeout. (GHSA-4v6q-hvv7-49h9)
    • On JRuby, stop request headers such as Query-String and Request-Path from changing QUERY_STRING, PATH_INFO and the other env keys that come from the request line. (GHSA-rhww-p99c-hgj9)

CVE IDs have been requested for these advisories and will be added here once assigned.

Changelog

Sourced from puma's changelog.

8.1.2 / 2026-11-17

  • Security

    • Close a TLS connection when OpenSSL reports a fatal error reading it, rather than buffering everything the client sends until first_data_timeout. (GHSA-4v6q-hvv7-49h9)
    • On JRuby, stop request headers such as Query-String and Request-Path from changing QUERY_STRING, PATH_INFO and the other env keys that come from the request line. (GHSA-rhww-p99c-hgj9)

    CVE IDs have been requested for these advisories and will be added here once assigned.

8.1.1 / 2026-11-15

  • Bugfixes
    • Fix pumactl stop and SIGINT hanging in cluster mode when an after_stopped hook owns child processes (#4135)
    • Fix TLS stream corruption on TruffleRuby when flushing to a full socket (#4108)
    • Stop shipping development-only files in the gem (#4124)

8.1.0 / 2026-11-15

  • Features

    • Add experimental mold_worker cluster mode, an alternative to fork_worker where new workers are forked from a retired worker that no longer serves traffic (#4038, #4044, #4055)
    • Add on_worker_boot hooks and hook_error_handler (#3982)
    • Add Puma::Client.connection_closed? API (#4019)
    • Add continue_callback to answer Expect: 100-continue before the request body is read (#4028)
    • Send a systemd watchdog ping immediately on ready (#3980)
    • Support the HTTP QUERY method (#3973)
    • Allow a sub-second worker_check_interval (#3964)
    • Add allow_underscore_headers option; set it to false to discard request headers with underscores in their names (#3937)
  • Security (Hardening)

    • Limit the size of a chunked request trailer section (#4059)
    • Reject unescaped {, }, ` and \ in the request path (#3976)
    • Reject Content_Length and Transfer_Encoding framing headers regardless of allow_underscore_headers (#4021)
    • Clear the SSL key password callback after loading the private key (#4027)
    • Respond with 400 to HTTP/1.1 requests with a missing or empty Host header (#3957)
    • Reject empty chunk sizes (#3952)
  • Bugfixes

    • Fix IO#close hang when notify_safely runs in a signal handler (#4098)
    • Fix fork_worker refork recovery (#4056)
    • Keep a socket-activated control URL for the control server (#4037)
    • Close path-backed response files when writing fails (#4033)
    • Don't send content-length: 0 on 304 responses with an empty body (#4036)
    • Fix accepting one more request after the worker shutdown command is sent (#4032)
    • Honour the close option when it appears in a Connection header list (#4031)
    • Fix wakeup deadlock (#4025)
    • Fix NoMethodError when a malformed request has no request line (#3992)
    • Require null_io in client.rb so puma/client loads on its own (#4024)
    • Avoid keep-alive requeue into a shutting-down thread pool (#4016)
    • Fix CommonLogger nil-logger fallback to rack.errors (#4023)
    • Fix chunked body parsing when the last-chunk terminator arrives split (#3970)
    • Run after_stopped hooks after request draining (#4001)

... (truncated)

Commits
  • 4a508dd Release v8.1.2
  • 3e600c0 Prefix request-line named headers with HTTP_ on JRuby
  • a030ac7 Raise on fatal TLS read errors in MiniSSL
  • 3d59ad7 Release v8.1.1 (#4137)
  • 453cf94 Document CI matrix policy and make CI follow it (#4136)
  • f1b226c Stop waiting for every child before after_stopped hooks (#4135)
  • 02dc37e Restore MiniSSL test send buffer after forcing backpressure (#4134)
  • 27e6b15 Remove stale examples/ pattern from gem manifest (#4132)
  • 29ae4e7 Synchronize MiniSSL retry tests on backpressure (#4109)
  • 291c772 Add test/local-ci: run Linux CI jobs in Docker and compare to a base commit (...
  • Additional commits viewable in compare view

Updates json to 3.2.0

Release notes

Sourced from json's releases.

v3.2.0

What's Changed

  • The script_safe: true option of JSON.generate no longer escapes forward slashes /, and instead escapes script tag openings (<script), script tag closing (</script) and HTML comments (<!--) as recommended by the HTML spec.
  • The script_safe: true option of JSON.generate no longer escapes U+2028 and U+2029 given that Javascript is now a proper subset of JSON since many years (see: https://github.com/tc39/proposal-json-superset).
  • Fix JSON::ParserError#json_path raising NoMethodError when the document was parsed with symbolize_names: true.
  • Fix JSON.generate not detecting duplicate keys such as { "1" => 1, 1 => 2 }.
  • JRuby: raise TypeError when a String subclass used as a Hash key has a to_s that doesn't return a String, like the C extension.
  • JRuby and TruffleRuby: fix a stack overflow in JSON::Coder when as_json returns a Symbol for a string with invalid encoding.
  • JRuby: fix JSON::Coder (and any frozen JSON::State) not being thread-safe. Each #dump call now uses its own nesting depth instead of mutating the shared state, which under concurrent use could make every later call raise JSON::NestingError.

Full Changelog: ruby/json@v3.1.0...v3.2.0

Changelog

Sourced from json's changelog.

2026-11-24 (3.2.0)

  • The script_safe: true option of JSON.generate no longer escapes forward slashes /, and instead escapes script tag openings (<script), script tag closing (</script) and HTML comments (<!--) as recommended by the HTML spec.
  • The script_safe: true option of JSON.generate no longer escapes U+2028 and U+2029 given that Javascript is now a proper subset of JSON since many years (see: https://github.com/tc39/proposal-json-superset).
  • Fix JSON::ParserError#json_path raising NoMethodError when the document was parsed with symbolize_names: true.
  • Fix JSON.generate not detecting duplicate keys such as { "1" => 1, 1 => 2 }.
  • JRuby: raise TypeError when a String subclass used as a Hash key has a to_s that doesn't return a String, like the C extension.
  • JRuby and TruffleRuby: fix a stack overflow in JSON::Coder when as_json returns a Symbol for a string with invalid encoding.
  • JRuby: fix JSON::Coder (and any frozen JSON::State) not being thread-safe. Each #dump call now uses its own nesting depth instead of mutating the shared state, which under concurrent use could make every later call raise JSON::NestingError.

2026-10-13 (3.1.0)

  • Added rfc8785 generator option to canonicalize the output. Replaces the json-canonicalization with numerous correctness fixes.
  • Use the rb_len_t type introduced in Ruby 4.1 to allow for proper 64bit support on LP64 platforms (Windows).
  • JRuby: parser errors now include the position (line, column and the message suffix) as well as json_path, matching the C extension.
  • Improved the accuracy of parser error's line, column and snipets in presence of multibyte characters.
  • Fix JSON.load to work correctly when provided a Zlib::GzipReader as IO source.
  • Reject non-ASCII BINARY strings during JSON generation. This was deprecated since a long time and scheduled to be removed for 3.0.

2026-09-09 (3.0.2)

  • Fix JSON.load_file and JSON.load_file! to load on Ruby 2.7.0 through 2.7.2, which cannot parse a leading parameter before ....

2026-09-08 (3.0.1)

  • Restore the limit positional argument of JSON.dump.

2026-09-07 (3.0.0)

  • Add JSON::ParserError#json_path to locate parse errors in the document as a JSONPath-style string (e.g. $.foo[0].bar). For duplicate key errors it points at the duplicated key itself.
  • Fix the parser to also reject lone trailing UTF-16 surrogates (\uDCxx with no leading partner), symmetric to the leading-surrogate case. The Java parser already rejected these; this closes the CRuby/JRuby parity gap.

2026-08-11 (3.0.0.rc1)

With the removal of the insecure create_additions option, JSON.load and JSON.dump are now safe to use. Them being unsafe by default caused multiple security vulnerabilites in the past.

If you did depend on create_additions, the recommended migration is to implement a custom serializer using JSON::Coder.

All the mutable default options, such as JSON.load_default_options have been removed. They were preventing Ractor compatiblity, and causing bug in libraries using JSON expecting the default behavior. JSON methods now always behave the same unless monkey patched.

All methods options are now either keyword arguments or checked like keyword arguments, meaning unknown options such as typos raise ArgumentError.

Duplicated keys are now rejected by default.

... (truncated)

Commits
  • 91f1849 Release 3.2.0
  • 5a75bc2 [DOC] Fix headings
  • fb1694b Correct the 2.18.3 changelog
  • 1955c7d Avoid deep Array#== in test_spill_frames_stack
  • 442dadb Fix handling of JRuby shared string in script_safe mode
  • c6f5858 script_safe: fix escaping of ", \ and control characters
  • 889c06a Better handle combined html_safe and ascii_only
  • 4cbbbf9 JRuby: fix < escaping with script_safe and ascii_only
  • fd4a8b4 generator.c: optimize unsafe_html_tag_p2
  • 29d1051 script_safe: compare case insensitively
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [puma](https://github.com/puma/puma) and [json](https://github.com/ruby/json) to permit the latest version.

Updates `puma` to 8.1.2
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/main/History.md)
- [Commits](puma/puma@v7.1.0...v8.1.2)

Updates `json` to 3.2.0
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](ruby/json@v2.7.0...v3.2.0)

---
updated-dependencies:
- dependency-name: puma
  dependency-version: 8.1.2
  dependency-type: direct:production
  dependency-group: examples
- dependency-name: json
  dependency-version: 3.2.0
  dependency-type: direct:production
  dependency-group: examples
...

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 Dec 1, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants