Skip to content

[TRACKING] - Update to Rack 3  #742

Description

@YOU54F

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

  1. Sinatra CVE cve-2024-21510 present in 3.x

Work required

TBC

Metadata

Metadata

Assignees

No one assigned

    Labels

    smartbear-supportedSmartBear engineering team will support this issue. See https://docs.pact.io/help/smartbear

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions