Releases: rake-compiler/rake-compiler-dock
v1.7.0.rc1 / 2024-12-13
v1.7.0.rc1 / 2024-12-13
Ruby 3.4 support
- Add Ruby 3.4.0-rc1 cross-compilation support. #131 @flavorjones
v1.6.0 / 2024-12-13
v1.6.0 / 2024-12-13
Notable changes
Standardizing all Linux build images on Ubuntu
In this release, we upgraded the base image for the x86_64-linux-gnu
and x86-linux-gnu
images from manylinux2014
to ubuntu:20.04
. (manylinux2014
reached end-of-life earlier this year.) As a result, all of the build images are using the same base image, simplifying things considerably. (#122, #126) @flavorjones
⚠ Note there are two important changes due to this upgrade:
- The minimum supported version of GLIBC for the
x86*-linux-gnu
images has increased from 2.17 to 2.29 forx86_64
andx86
architectures. (Note that GLIBC was already pinned to 2.29 for ARM architectures.) - Precompiled gems built with the
x86*linux-gnu
images are less likely to be compatible with Musl libc, and may segfault when run on Musl systems.
For (2) above, if you have been shipping a single x86_64-linux
native gem for both GNU and Musl systems, please make sure you test your gems on a Musl system before shipping them. See the actions workflow in flavorjones/ruby-c-extensions-explained for an example of how to do this rigorously.
Ruby 3.3 support upgraded to 3.3.5
Update Ruby 3.3 support from 3.3.0-rc1 to 3.3.5. Note that the 3.3.x releases are not usable until 3.3.5 because of https://bugs.ruby-lang.org/issues/20088.
⚠ Note that if you were specifying 3.3.0
in your RUBY_CC_VERSION
environment variable, that string must be updated to 3.3.5
.
Added
- Add support for the
SOURCE_DATE_EPOCH
environment variable, which can be used to create reproducible builds. (#128) @segiddins
1.5.2 / 2024-07-30
1.5.2 / 2024-07-30
With CentOS 7 becoming EOL as of 2024-06-30, yum
will no longer work in the x86_64-linux-gnu
and
x86-linux-gnu
images shipped with v1.5.1 and earlier.
In this release, we've updated the manylinux2014
base image for the x86_64-linux-gnu
and
x86-linux-gnu
images to point at a version patched by pypa
to use valid yum mirrors. See
pypa/manylinux#1628 for more information.
1.5.1 / 2024-06-03
1.5.1 / 2024-06-03
Improvements
The x86_64-linux-gnu
and x86-linux-gnu
containers (based on manylinux_2014
) now have a modern version of pkg-config
, v0.29.2, installed on them in /usr/local/bin/pkg-config
. The distro's version (v0.27.1) is still in /usr/bin/pkg-config
if you need to fall back for some reason, but the newer version will be used by default and should be backwards-compatible. (#121, #123 by @flavorjones)
1.5.0 / 2024-02-25
1.5.0 / 2024-02-25
Notable changes
First-class Linux musl
libc support
- Add Linux musl cross build targets
aarch64-linux-musl
,arm-linux-musl
,x86-linux-musl
, andx86_64-linux-musl
. #75, #111 (@flavorjones) - Add Linux cross build targets
aarch64-linux-gnu
,arm-linux-gnu
,x86-linux-gnu
, andx86_64-linux-gnu
. #111 (@flavorjones) - The cross build targets
aarch64-linux
,arm-linux
,x86-linux
, andx86_64-linux
are now aliases for the*-linux-gnu
targets. #111 (@flavorjones)
Please read the README for details and caveats!
Improvements
- Predefined user and group list is more complete, and represents the union of users and groups across all RCD images.
Changes to build containers
- Replace
rvm
withrbenv
andruby-build
in the build containers.rvm
has been replaced byrbenv
andruby-build
- no longer applying sendfile patches to bootstrap rubies
- no longer updating gems belonging to the bootstrap rubies
- user
rvm
no longer exists, replaced byrubyuser
Users of the rake-compiler-dock
gem should not be affected by this change. However, users of the raw containers may be affected if there are assumptions about rvm
.
v1.5.0.rc1 / prerelease 2024-01-26
v1.5.0.rc1 / prerelease 2024-01-26
Notable changes
First-class Linux musl
libc support
- Add Linux musl cross build targets
aarch64-linux-musl
,arm-linux-musl
,x86-linux-musl
, andx86_64-linux-musl
. #75, #111 (@flavorjones) - Add Linux cross build targets
aarch64-linux-gnu
,arm-linux-gnu
,x86-linux-gnu
, andx86_64-linux-gnu
. #111 (@flavorjones) - The cross build targets
aarch64-linux
,arm-linux
,x86-linux
, andx86_64-linux
are now aliases for the*-linux-gnu
targets. #111 (@flavorjones)
Please read the README for more details.
Improvements
- Predefined user and group list is more complete, and represents the union of users and groups
across all RCD images.
Changes
- Replace
rvm
withrbenv
andruby-build
in the build containers.rvm
has been replaced byrbenv
andruby-build
- no longer applying sendfile patches to bootstrap rubies
- no longer updating gems belonging to the bootstrap rubies
- user
rvm
no longer exists, replaced byrubyuser
1.4.0 / 2023-12-27
1.4.0 / 2023-12-27
- Add Ruby 3.3.0-rc1 cross-compilation support. #109, #105 (@flavorjones)
- Update to rake-compiler 1.2.5. #108 (@flavorjones)
NOTE that this version can be used for precompiling native gems for Ruby 3.3.0 final (despite using 3.3.0-rc1).
1.4.0.rc2 / 2023-12-12
1.4.0.rc2 / 2023-12-12
- Add Ruby 3.3.0-rc1 cross-compilation support. (@flavorjones)
1.4.0.rc1
1.4.0.rc1 / 2023-11-26
- Add Ruby 3.3.0-preview3 cross-compilation support. #105 (@flavorjones)
- Update to rake-compiler 1.2.5. #108 (@flavorjones)
Note: 3.3.0-preview3 support is experimental, intended to allow gem maintainers to start testing compatibility ahead of the Ruby 3.3.0 release. Please do not cut official releases with Ruby 3.3 support with this version.
1.3.1 / 2023-10-14
1.3.1 / 2023-10-14
- In the container,
strip
will re-codesign binaries on darwin. #104 (@flavorjones) - Update to rake-compiler 1.2.2. #101 (@flavorjones)