Scope
This ticket aims to documents the steps required to upgrade the Pact Broker Application to support Rack 3.
Rationale
The Ruby Rack gem has had a major bump to version 3.
https://github.com/rack/rack/blob/main/UPGRADE-GUIDE.md
The Pact Broker has dependencies on projects which use Rack, namely webmachine and Sinatra
|
gem.add_runtime_dependency "webmachine", ">= 2.0.0.beta", "< 3.0" |
|
gem "sinatra", "~> 3.0", require: false |
Sinatra supports Rack 3, in version 4.x+ however Webmachine does not yet support Rack 3 which impedes our progress.
Affected Issues
- Sinatra CVE cve-2024-21510 present in 3.x
Work required
TBC
Scope
This ticket aims to documents the steps required to upgrade the Pact Broker Application to support Rack 3.
Rationale
The Ruby Rack gem has had a major bump to version 3.
https://github.com/rack/rack/blob/main/UPGRADE-GUIDE.md
The Pact Broker has dependencies on projects which use Rack, namely webmachine and Sinatra
pact_broker/pact_broker.gemspec
Line 58 in 476af02
pact_broker/Gemfile
Line 11 in 476af02
Sinatra supports Rack 3, in version 4.x+ however Webmachine does not yet support Rack 3 which impedes our progress.
Affected Issues
Work required
TBC