Skip to content

chore(gateway): Log PCRE upgrade breaking change in 3.7#4972

Merged
lena-larionova merged 2 commits intomainfrom
chore/3.10-pcre-known-issue
Apr 22, 2026
Merged

chore(gateway): Log PCRE upgrade breaking change in 3.7#4972
lena-larionova merged 2 commits intomainfrom
chore/3.10-pcre-known-issue

Conversation

@lena-larionova
Copy link
Copy Markdown
Contributor

Description

In 3.7, we bumped the PCRE dependency to PCRE2. This wasn't logged as a breaking change, but it affects any configs with old-format regexes, and will affect an LTS upgrade from 3.4 to 3.10.

Issue reported on Slack. I did my own digging around about the PCRE > PCRE2 bump and verified that it is a big breaking change for the library.

Preview Links

@lena-larionova lena-larionova self-assigned this Apr 22, 2026
Copilot AI review requested due to automatic review settings April 22, 2026 18:38
@lena-larionova lena-larionova requested a review from a team as a code owner April 22, 2026 18:38
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 22, 2026

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit ae18fa3
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/69e916bc1e89020008728e81
😎 Deploy Preview https://deploy-preview-4972--kongdeveloper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Logs the previously unrecorded breaking change introduced in Gateway 3.7 where the regex engine moved from PCRE to PCRE2, impacting configurations that use legacy regex syntax (notably for LTS upgrades from 3.4 to 3.10).

Changes:

  • Added a 3.7 breaking-change entry documenting the PCRE → PCRE2 dependency bump and its config impact.
  • Added an LTS (3.4 → 3.10) upgrade note calling out the PCRE2 syntax requirement and recommended action.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
app/gateway/breaking-changes.md Adds a 3.7 breaking-change section describing the PCRE → PCRE2 upgrade and a reference link.
app/_includes/upgrade/lts-changes-34-310.md Adds an LTS upgrade table entry under Dependencies with action guidance for updating regexes.

Comment thread app/_includes/upgrade/lts-changes-34-310.md Outdated
Comment thread app/gateway/breaking-changes.md Outdated
Comment thread app/_includes/upgrade/lts-changes-34-310.md Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Angel <Guaris@users.noreply.github.com>
@lena-larionova lena-larionova merged commit 73c0361 into main Apr 22, 2026
18 checks passed
@lena-larionova lena-larionova deleted the chore/3.10-pcre-known-issue branch April 22, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants