Skip to content

Upgrade compatibility / npm / 1.20.12 to 1.21.4

Does upgrading re2 to 1.21.4 break Alpine 3.20 and RHEL 9?

2 of 4 distro images resolve a compatible artifact for re2 1.21.4; the license is unchanged (BSD-3-Clause).

Written by Osty EngineeringPublished Updated Ed25519-signed seed preview

Distro images broken
Alpine 3.20, RHEL 9
License
BSD-3-Clause, unchanged
Removed public symbols
0
Analyzer
TypeScript AST

ELF and libc compatibility matrix

The resolver picks the artifact each distro image would install, then reads its DT_NEEDED and VERNEED entries against the libc that ships in that image.

re2 1.21.4 artifacts resolved on each distro image
DistrolibcResolved artifactRequired symbol versionDT_NEEDEDVerdict
Debian 12 (bookworm)glibc 2.36re2-linux-x64-gnu@1.21.4GLIBC_2.35libc.so.6, libstdc++.so.6, libgcc_s.so.1Compatible
Ubuntu 24.04 (noble)glibc 2.39re2-linux-x64-gnu@1.21.4GLIBC_2.35libc.so.6, libstdc++.so.6, libgcc_s.so.1Compatible
Alpine 3.20musl 1.2.5re2@1.21.4/node-gyp-sourcemusl source buildlibc.so.6, libstdc++.so.6, libgcc_s.so.1Source build required
RHEL 9glibc 2.34re2-linux-x64-gnu@1.21.4GLIBC_2.35libc.so.6, libstdc++.so.6, libgcc_s.so.1Needs newer glibc

SPDX license shift

License identifiers are read from package metadata and LICENSE files of both versions and normalized to SPDX.

re2 license from 1.20.12 to 1.21.4
FromToShift
BSD-3-ClauseBSD-3-ClauseUnchanged

Public API break summary

Exported symbols of both versions are compared with a language-native analyzer; removed and re-typed symbols break callers at build time.

re2 public API from 1.20.12 to 1.21.4
AnalyzerAddedRemovedChanged signaturesRemoved symbols named
TypeScript AST7301None named

Know what an upgrade breaks before you ship it

Osty checks glibc, musl, SPDX and API breaks for every upgrade across your fleet and opens verified fix PRs under your policy. Start with a free 10-minute X-Ray.