Skip to content

Releases: pact-foundation/pact_broker

v2.121.2

Choose a tag to compare

@github-actions github-actions released this 17 Sep 04:48

🐛 Bug Fixes

  • Require pact/support/matchers for pact-support 2.0

📦 Other

  • Boot the app with runtime dependencies only

v2.121.1

Choose a tag to compare

@github-actions github-actions released this 16 Sep 10:56

🐛 Bug Fixes

  • Pin rack-proxy to 0.7.7 due to failures
  • (test) Remove pact rack-proxy and webrick fixes, fixed in pact-ruby src
  • (test) Drop Term::ANSIColor from vendored match_pact matcher
  • Pass JSON.parse options as keywords for json 3

🧪 Testing

  • Add updated provider states for pact-broker-cli

📦 Other

  • Publish pact verification results from the v2 job
  • Align checkout pin comment with the other jobs

🛠️ Miscellaneous Tasks

  • (ci) Remove notification to pact-broker-docker
  • (test) Workaround for empty body request
  • (test) Pact-ruby v2 use broker
  • (test) Migrate to pact-ruby v2
  • (test) Vendor rspec-pact-matcher code
  • Rubocop
  • Rubocop
  • (test) Preserve branch/version logic
  • (test) Alias pact:verify to pact:v2:verify, drop stub tasks
  • (test) Remove provider-state files pact-ruby v2 never loads
  • (test) Remove the unloaded Pact Ruby provider states

v2.121.0

Choose a tag to compare

@github-actions github-actions released this 04 Sep 03:12

🚀 Features

  • Add EnvironmentVersions resource
  • Raise a clear error when a MySQL adapter is configured
  • Add tri-state log_otel_enabled configuration
  • Add OpenTelemetry log appender setup
  • Add trace-aware JSON log formatter
  • Wire OTel appender and trace-aware JSON formatter into config
  • Add endpoint to get versions released or deployed

🐛 Bug Fixes

  • Require stringio in the configuration docs generator
  • Use semantic_logger JSON helper for trace-enriched log output
  • Defer debug log string interpolation in pact publish
  • (matrix) Honour use_case_sensitive_resource_names when resolving selectors
  • Escaping for the XSS findings, regex safety for the ReDoS findings
  • SQL injection vulnerability

🚜 Refactor

  • Remove MySQL strict-mode handling from DB connection setup
  • Remove MySQL-specific query and upsert branches

⚡️ Performance

  • (matrix) Flatten selector union to prevent quadratic query nesting
  • (matrix) Filter matrix rows by the already-resolved version ids

🎨 Styling

  • (matrix) Build the baseline name lists the idiomatic way

📚 Documentation

  • Remove MySQL references
  • Document log_otel_enabled configuration
  • Describe the pull request release process

🧪 Testing

  • Unskip MySQL-only pending tests and drop MySQL comments
  • Fix idempotency spec to avoid loading absent OTel gem
  • (matrix) Add query-profiling baseline tooling
  • (matrix) Make the query baseline reproducible enough to diff
  • (matrix) Add a baseline shape for can-i-deploy at integration scale
  • (matrix) Pin the resolved and SQL-derived version ids as equivalent
  • Cover the tag name as a literal string when deleting a tag

📦 Other

  • Remove unused triage board workflow

🛠️ Miscellaneous Tasks

  • Remove mysql2 gem
  • (ci) Remove MySQL job, tooling, and config
  • Remove remaining MySQL references from Dockerfile, comment, and backwards-compat Gemfile
  • Reject blank pacticipant names in pact publish validation
  • Require Ruby 3.2+ for semantic_logger v5
  • Delete stale branches first
  • Select the local Postgres version with a single variable
  • Align changelog heading levels with git-cliff's
  • Add git-cliff config and the release script
  • (ci) Release the gem by merging a pull request
  • (ci) Reduce CI on draft PRs
  • (ci) Rebase when conflicted only

Version 2.120.0

Choose a tag to compare

@github-actions github-actions released this 16 Jul 11:01

Features

  • expose released environments on branch/tag version list endpoints (#969) (bea68a7d)

  • expose released environments on version API (#963) (d6f7f17b)

  • return more webhooks attributes in logs decorator (#961) (4e2d1b13)

  • paginate pacticipants_for_label (088ff444)

  • add limit to stale branch delete (#933) (406c20f3)

  • change branch sort order, most recently updated first (#929) (b5215a39)

  • clean

    • expose branch_deletion_limit on CleanTask (#938) (540afa3d)
    • add stale branch lifecycle and automated cleanup (#912) (1ba6354f)
  • PACT-6253

    • add json_schemer as explicit gem dependency (#916) (dc8910ce)

Bug Fixes

  • spec

    • rebuild success-after-latestby fixture with distinct provider versions (778d25d2)
    • rebuild latestby filtering fixtures to genuinely pin the ordering contract (9276aa79)
  • broken SQL in pacticipants_for_label resource (#944) (bf37cdfc)

  • use cvpv when checking can-i-deploy against an environment (#903) (#934) (7163652d)

  • remove deadcode, improve testing with UTC (#924) (76c2407a)

  • join with pacticipant when query main branch (#921) (3dae89be)

Version 2.119.0

Choose a tag to compare

@github-actions github-actions released this 17 Apr 08:32

Features

  • support customising webhook requests (d20a8274)
  • Optimize WIP Query Performance to Prevent Timeouts on Large Datasets (#902) (711ac3c6)

Bug Fixes

  • add missing import and small improvement to batch delete (#899) (2e83d012)

  • new unit test failure (6c39e927)

  • avoid N+1 cascade (681d98d9)

  • dont create index for mysql (1ec72cc8)

  • Pacticipant API returning undeployed versions in pacticipant deployed-environments endpoint (#889) (e217d3ba)

  • PACT-5504

    • use batch delete to speed up deletion (e908035a)

Version 2.118.0

Choose a tag to compare

@github-actions github-actions released this 06 Jan 16:26

Features

  • added has_messages column to pact_versions table (#880) (34741dae)

Bug Fixes

  • remove route overlap and add tests for new routes (45a81474)
  • restore latest pact for branch endpoint (cb867957)

Version 2.117.1

Choose a tag to compare

@github-actions github-actions released this 02 Nov 18:00

Bug Fixes

  • dashboard loading after zeitwerk rename prep (13112e2f)

Version 2.117.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 14:28

Features

  • add provider pacts by branch endpoints (0ccff2ec)
  • PACT-4511/updated matrix decorator to return app instance for an env if present (#838) (8bc24e72)
  • support provider states by branch/env (f4db396f)

Bug Fixes

  • update hal relations for provider pacts (b6e8e8e3)

  • drop pact-support pin (3c7eb4c5)

  • fixed the text fixtures (#826) (28035c27)

  • test

    • update expectation of webhook_certificates source format dependant on rb version (5364c1b1)
  • deps

    • add mutex_m/csv/ostruct/pstore (075d2522)

Version 2.116.0

Choose a tag to compare

@github-actions github-actions released this 09 Jul 11:02

Features

  • render sync messages (c0ad9f5b)
  • render async messages mixed v4 and v3 (d727d950)
  • add deployed-environments to pacticipant response and tag versions (#804) (d8c7ee65)
  • show deployed-environments in branch versions response (#803) (cc346010)
  • add tag_versions endpoint (42bf5203)
  • added deployed-environments to /parcticipants/$name/versions abd (#801) (af66f6a3)

Bug Fixes

  • rubocop errors (e311422c)
  • refactored long consumer_contract method (7d8af4d5)
  • remove unsupported Pact::Term from test example (1a4056bd)
  • rename interaction_async.erb filename (77ddcb59)
  • refactored the query to filter out duplicate integration rows (#806) (7bff0f0d)

Version 2.115.0

Choose a tag to compare

@github-actions github-actions released this 10 Apr 09:40

Features

  • group provider states by consumers (e39860a9)

Bug Fixes