Skip to content

deps: update to libpathrs 0.2.5 - #5291

Merged
AkihiroSuda merged 2 commits into
opencontainers:mainfrom
cyphar:libpathrs-0.2.5
Jun 18, 2026
Merged

AkihiroSuda merged 2 commits into
opencontainers:mainfrom
cyphar:libpathrs-0.2.5

Conversation

@cyphar

@cyphar cyphar commented May 21, 2026 •

Copy link
Copy Markdown
Member

This update includes a few breaking API changes that I needed to get in
before an actual runc release depends on it, so that we don't need to
deal with compatibility shims for them (or bumping the SOVERSION).

From a Go API perspective, there were no major changes -- though this
bump did also require a bump to github.com/cyphar/filepath-securejoin
because one of the wrapped APIs changed from int to uint64 as a flag
argument type. Again, better to get this done before we really depend on
this in a public way.

This includes the pathrs_version() API that @AkihiroSuda requested.

Signed-off-by: Aleksa Sarai cyphar@cyphar.com

@cyphar cyphar added this to the 1.5.0 milestone May 21, 2026
@cyphar
cyphar force-pushed the libpathrs-0.2.5 branch 5 times, most recently from 379f399 to c5384d4 Compare May 21, 2026 21:40
@AkihiroSuda

Copy link
Copy Markdown
Member

Is this still a draft?

@cyphar

cyphar commented Jun 1, 2026

Copy link
Copy Markdown
Member Author

Yes, 0.2.5 hasn't been released yet. I just merged the last API change I wanted to get in before 0.2.5 -- I wanted to get some more container-based testing in CI before a release, I'll try to get that done this week and then we can do the 1.5 release...

@h-vetinari

h-vetinari commented Jun 12, 2026 •

Copy link
Copy Markdown

Looking at the https://github.com/cyphar/libpathrs, v2.5 doesn't seem to be materializing (no rc, many ongoing commits & PRs). I recall the time-based release mantra: "don't hold up the train for a single passenger, they can take the next one."

@cyphar
cyphar force-pushed the libpathrs-0.2.5 branch from c5384d4 to b52eae2 Compare June 18, 2026 08:32
@cyphar
cyphar marked this pull request as ready for review June 18, 2026 08:32
@cyphar
cyphar force-pushed the libpathrs-0.2.5 branch 2 times, most recently from d621949 to f33a630 Compare June 18, 2026 08:36
@cyphar cyphar changed the title [dnm] deps: update to libpathrs 0.2.5 deps: update to libpathrs 0.2.5 Jun 18, 2026
@cyphar
cyphar requested review from AkihiroSuda, kolyshkin, lifubang and rata and removed request for kolyshkin June 18, 2026 08:37
@cyphar
cyphar force-pushed the libpathrs-0.2.5 branch from f33a630 to 14a9c4a Compare June 18, 2026 08:50

@rata rata left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@cyphar thanks a lot! This mostly LGTM, left a nit about the features.go thing

Comment thread features.go Resolved
Comment thread features_libpathrs.go Resolved
@cyphar
cyphar force-pushed the libpathrs-0.2.5 branch from 14a9c4a to 678c539 Compare June 18, 2026 09:16
@cyphar cyphar added backport/1.5-todo A PR in main branch which needs to be backported to release-1.5 area/pathrs labels Jun 18, 2026
@cyphar
cyphar requested a review from rata June 18, 2026 09:42

@rata rata left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks!

@rata

rata commented Jun 18, 2026

Copy link
Copy Markdown
Member

@cyphar I guess we want to update the changelog? At least mention that the libpathrs version is on the runc features output?

@cyphar
cyphar force-pushed the libpathrs-0.2.5 branch from 678c539 to 4cf4157 Compare June 18, 2026 09:54
@cyphar

cyphar commented Jun 18, 2026

Copy link
Copy Markdown
Member Author

Good point, pushed.

cyphar added 2 commits June 18, 2026 11:57
This update includes a few breaking API changes that I needed to get in
before an actual runc release depends on it, so that we don't need to
deal with compatibility shims for them (or bumping the SOVERSION).

From a Go API perspective, there were no major changes -- though this
bump did also require a bump to github.com/cyphar/filepath-securejoin
because one of the wrapped APIs changed from int to uint64 as a flag
argument type. Again, better to get this done before we really depend on
this in a public way.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
@cyphar
cyphar force-pushed the libpathrs-0.2.5 branch from 4cf4157 to 1e20abe Compare June 18, 2026 09:57

@rata rata left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Still LGTM :)

@AkihiroSuda
AkihiroSuda merged commit a8d82ce into opencontainers:main Jun 18, 2026
94 of 95 checks passed
@AkihiroSuda AkihiroSuda linked an issue Jun 18, 2026 that may be closed by this pull request
@cyphar
cyphar deleted the libpathrs-0.2.5 branch June 18, 2026 20:18
@cyphar cyphar added the backport/1.4-done A PR in main branch which has been backported to release-1.4 label Jun 18, 2026
@kolyshkin kolyshkin added backport/1.5-done A PR in main branch which has been backported to release-1.5 and removed backport/1.5-todo A PR in main branch which needs to be backported to release-1.5 labels Sep 13, 2026
@kolyshkin

Copy link
Copy Markdown
Contributor

1.5 backport is #5328; fixed label accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/pathrs backport/1.4-done A PR in main branch which has been backported to release-1.4 backport/1.5-done A PR in main branch which has been backported to release-1.5 impact/changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

runc features and runc -v should expose libpathrs version

5 participants