Skip to content

Commit

Permalink
chore(deps): bump pcre2 from 10.42 to 10.43 (#12603)
Browse files Browse the repository at this point in the history
### Summary

There are quite a lot of changes in this release (see ChangeLog and git log for
a list). Those that are not bugfixes or code tidies are:

* The JIT code no longer supports ARMv5 architecture.

* A new function pcre2_get_match_data_heapframes_size() for finer heap control.

* New option flags to restrict the interaction between ASCII and non-ASCII
  characters for caseless matching and \d and friends. There are also new
  pattern constructs to control these flags from within a pattern.

* Upgrade to Unicode 15.0.0.

* Treat a NULL pattern with zero length as an empty string.

* Added support for limited-length variable-length lookbehind assertions, with
  a default maximum length of 255 characters (same as Perl) but with a function
  to adjust the limit.

* Support for LoongArch in JIT.

* Perl changed the meaning of (for example) {,3} which did not used to be
  recognized as a quantifier. Now it means {0,3} and PCRE2 has also changed.
  Note that {,} is still not a quantifier.

* Following Perl, allow spaces and tabs after { and before } in all Perl-
  compatible items that use braces, and also around commas in quantifiers. The
  one exception in PCRE2 is \u{...}, which is from ECMAScript, not Perl, and
  PCRE2 follows ECMAScript usage.

* Changed the meaning of \w and its synonyms and derivatives (\b and \B) in UCP
  mode to follow Perl. It now matches characters whose general categories are L
  or N or whose particular categories are Mn (non-spacing mark) or Pc
  (combining punctuation).

* Changed the default meaning of [:xdigit:] in UCP mode to follow Perl. It now
  matches the "fullwidth" versions of hex digits. PCRE2_EXTRA_ASCII_DIGIT can
  be used to keep it ASCII only.

* Make PCRE2_UCP the default in UTF mode in pcre2grep and add -no_ucp,
  --case-restrict and --posix-digit.

* Add --group-separator and --no-group-separator to pcre2grep.

Signed-off-by: Aapo Talvensaari <[email protected]>
  • Loading branch information
bungle authored Feb 23, 2024
1 parent f135c70 commit ab7232e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .requirements
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ KONG_PACKAGE_NAME=kong
OPENRESTY=1.25.3.1
LUAROCKS=3.9.2
OPENSSL=3.2.1
PCRE=10.42
PCRE=10.43
LIBEXPAT=2.5.0

LUA_KONG_NGINX_MODULE=4fbc3ddc7dcbc706ed286b95344f3cb6da17e637 # 0.8.0
Expand All @@ -19,4 +19,4 @@ WASMTIME=14.0.3
V8=10.5.18

NGX_BROTLI=a71f9312c2deb28875acc7bacfdd5695a111aa53 # master branch of Jan 23, 2024
BROTLI=ed738e842d2fbdf2d6459e39267a633c4a9b2f5d # master branch of brotli deps submodule of Jan 23, 2024
BROTLI=ed738e842d2fbdf2d6459e39267a633c4a9b2f5d # master branch of brotli deps submodule of Jan 23, 2024
2 changes: 1 addition & 1 deletion build/openresty/pcre/pcre_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def pcre_repositories():
name = "pcre",
build_file = "//build/openresty/pcre:BUILD.pcre.bazel",
strip_prefix = "pcre2-" + version,
sha256 = "c33b418e3b936ee3153de2c61cc638e7e4fe3156022a5c77d0711bcbb9d64f1f",
sha256 = "889d16be5abb8d05400b33c25e151638b8d4bac0e2d9c76e9d6923118ae8a34e",
urls = [
"https://github.com/PCRE2Project/pcre2/releases/download/pcre2-" + version + "/pcre2-" + version + ".tar.gz",
],
Expand Down
2 changes: 1 addition & 1 deletion changelog/unreleased/kong/bump-pcre.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
message: "Bumped PCRE from the legacy libpcre 8.45 to libpcre2 10.42"
message: "Bumped PCRE from the legacy libpcre 8.45 to libpcre2 10.43"
type: dependency
scope: Core

0 comments on commit ab7232e

Please sign in to comment.