Upgrade compatibility / npm / 0.32.6 to 0.33.5
Is upgrading sharp from 0.32.6 to 0.33.5 safe on Debian, Ubuntu, Alpine and RHEL?
4 of 4 distro images resolve a compatible artifact for sharp 0.33.5; the license is unchanged (Apache-2.0).
Written by Osty EngineeringPublished Updated Ed25519-signed seed preview
- Distro images broken
- None
- License
- Apache-2.0, unchanged
- Removed public symbols
- 10
- 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.
| Distro | libc | Resolved artifact | Required symbol version | DT_NEEDED | Verdict |
|---|---|---|---|---|---|
| Debian 12 (bookworm) | glibc 2.36 | sharp-linux-x64-gnu@0.33.5 | GLIBC_2.26 | libc.so.6, libstdc++.so.6, libgcc_s.so.1, libvips-cpp.so.42 | Compatible |
| Ubuntu 24.04 (noble) | glibc 2.39 | sharp-linux-x64-gnu@0.33.5 | GLIBC_2.26 | libc.so.6, libstdc++.so.6, libgcc_s.so.1, libvips-cpp.so.42 | Compatible |
| Alpine 3.20 | musl 1.2.5 | sharp-linuxmusl-x64@0.33.5 | musl 1.2.2 | libc.musl-x86_64.so.1, libstdc++.so.6, libgcc_s.so.1, libvips-cpp.so.42 | Compatible |
| RHEL 9 | glibc 2.34 | sharp-linux-x64-gnu@0.33.5 | GLIBC_2.26 | libc.so.6, libstdc++.so.6, libgcc_s.so.1, libvips-cpp.so.42 | Compatible |
SPDX license shift
License identifiers are read from package metadata and LICENSE files of both versions and normalized to SPDX.
| From | To | Shift |
|---|---|---|
Apache-2.0 | Apache-2.0 | Unchanged |
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.
| Analyzer | Added | Removed | Changed signatures | Removed symbols named |
|---|---|---|---|---|
| TypeScript AST | 93 | 10 | 1 | sharp.vendor |
More from the upgrade compatibility atlas
- h5py3 of 4 distro images resolve a compatible artifact for h5py 3.12.1; the license is unchanged (BSD-3-Clause).
- jaxlib3 of 4 distro images resolve a compatible artifact for jaxlib 0.4.34; the license is unchanged (Apache-2.0).
- lxml4 of 4 distro images resolve a compatible artifact for lxml 5.3.0; the license is unchanged (BSD-3-Clause).
- Upgrade dossiersBefore a fleet upgrade, check which distro images can load the new artifact, whether the license moved, and how many public symbols disappeared.