Releases: crazywhalecc/static-php-cli
Releases · crazywhalecc/static-php-cli
2.4.2
What's Changed
- Added optional zlib and disabled two extension by @daddeffe in #545
- Fix pgsql missing symbol again by @crazywhalecc in #572
- Add embed sanity check and spc-config command by @crazywhalecc in #573
- Add extension rdkafka support by @crazywhalecc in #256
New Contributors
Full Changelog: 2.4.1...2.4.2
2.4.1
What's Changed
- Add missing step to docs by @simonhamp in #561
- Fix pgsql with PHP 8.4 embed missing libs bug & fix grpc with openssl bug by @crazywhalecc in #568
- Fix pgsql linux builds with PHP 8.4 by @crazywhalecc in #570
- Fix parallel config.m4 empty PHP_VERSION bug by @crazywhalecc in #569
Full Changelog: 2.4.0...2.4.1
2.4.0
PHP 8.4 is Coming
Here are the updates to support PHP 8.4:
- Fix #547
- Fix imap library build in macOS Sequoia
- Fix display PHP version when using archive
- Fix phpmicro patches for php84
- Deprecate PHP 8.0, fixes #552
- Change swoole source to git master instead of pecl (6.0 has not been released)
- Change default download php version to 8.3
- Fix sodium build, remove build patches
- Fix imagick build for PHP 8.4 (Imagick/imagick#690 has not been merged yet)
- Remove
--with-zlib-dir
that has been removed in 8.4 - Add similar compilation flags as the Docker images, fixes #515
What's Changed
- feat: improve downloader retry by @yinheli in #558
- Add grpc support for macOS and Linux by @crazywhalecc in #559
- Add PHP 8.4 support (testing) by @crazywhalecc in #556
New Contributors
Full Changelog: 2.3.6...2.4.0
2.3.6
2.3.5
What's Changed
- Fix typo in README.md by @GabeeCoding in #546
- Add optional workflow by @crazywhalecc in #548
- Fix windows xz build libs by @crazywhalecc in #550
- Refactor environment configuration, enhance doctor command, update Redis version by @crazywhalecc in #549
- Update docs vue components by @crazywhalecc in #551
New Contributors
- @GabeeCoding made their first contribution in #546
Full Changelog: 2.3.4...2.3.5
2.3.4
What's Changed
- Update redis to 6.0.2, add alternative license file searcher by @crazywhalecc in #539
- Add extension msgpack support by @crazywhalecc in #543
- Add extension gmssl support by @crazywhalecc in #544
Full Changelog: 2.3.3...2.3.4
2.3.3
What's Changed
- Fix multiple build bug by @crazywhalecc in #523
- Add SPC_MICRO_PATCHES env var by @crazywhalecc in #524
- docs: Add extension and library dependency map by @crazywhalecc in #525
- Add patch version support for downloading php-src by @crazywhalecc in #530
- Add specific download php version for switch-php-version command by @crazywhalecc in #531
- Add specific download php version for switch-php-version command by @crazywhalecc in #532
- Make opcache patch independent by @crazywhalecc in #533
- Add --custom-git (-G) option for download command by @crazywhalecc in #534
- Use static-php/phpmicro temporarily by @crazywhalecc in #536
Full Changelog: 2.3.2...2.3.3
2.3.2
What's Changed
- Fix openssl source by @crazywhalecc in #506
- Fix imap and rar build on macOS bug by @crazywhalecc in #508
- Add libcares support for curl by @crazywhalecc in #512
- Add extra encodings for libiconv by @crazywhalecc in #517
- Add redis, igbinary extension for Windows by @crazywhalecc in #519
Full Changelog: 2.3.1...2.3.2
2.3.1
2.3.0
Update Notes
The main content of this update is the pre-built dependency library. For common extension combinations and dependencies, using prebuilt libraries can save 40-50% of build time, just need to add --prefer-pre-built
option for download
🚀 !
🤖 CI Updates
- feat: Add
prefer-pre-built
option for manual triggered build actions - chore: Speed-up CI build tests
- feat: Add pack lib CI (https://github.com/static-php/static-php-cli-hosted/blob/master/.github/workflows/pack-libs.yml)
- feat: Add
spc-max
for windows build
🔨 Framework Updates
- chore: Adjust
bin/spc-alpine-docker
, addpkgroot
for Dockerfile - feat: Add config
pre-built.json
- feat: Add method
LibraryBase->setup(bool $force = false)
- feat: Add method
LibraryBase->getName()
(same as$lib::NAME
) - feat: Add method
LibraryBase->beforePack()
- feat: Add method
LibraryBase->install()
- chore: Now we extract libs before building each of libs instead of all libs
- fix:
--ignore-cache-source
always working even if not specified - feat: Add
--prefer-pre-built
fordownload
command - feat: Add command
dev:pack-lib
(build and pack library as pre-built release) - chore: Disable some redundant log outputs
- feat: Add method
Config::getPreBuilt(string $name)
- feat: Update method
Downloader::getLatestGithubRelease(string $name, array $source, bool $match_result = true)
- chore: Add
$lock_as
for download method - chore: Remove
suffix
for LicenseDumper
📚 Dependency, PHP and Extension Updates
- fix: opcache not compiling on Windows
- feat: Add pre-built libraries:
brotli,bip2,gmp,icu,libargon2,libavif,libcares,libevent,libiconv,liblz4,libpng,libsodium,libtiff,libwebp,libyaml,ncurses,onig,openssl,pkg-config,readline,sqlite,unixodbc,xz,zlib
- fix: openssl build bug for PHP 8.0
- fix: swoole confict with libevent
- chore: Simplify and fix
icu,brotli,libargon2,libevent,libiconv,liblz4,ncurses,openssl
build files for pre-built libs - chore: Change patch pkgconfig prefix to
${pcfiledir}/../..
- fix: Newer version of libavif build failed bug #503
- chore: Use xz instead of gz for faster php-src download
- fix: sqlite build for windows not supporting different visual studio version
⚠️ Breaking Changes
All breaking changes in this version only affect the API and internal functions, and do not affect the default command line behavior. Feel free to upgrade in your CI workflow and projects.
- Constant rename:
BUILD_STATUS_xxx
->LIB_STATUS_xxx
- Constant rename:
BUILD_STATUS_FAILED
->LIB_STATUS_BUILD_FAILED
- Add new constant:
LIB_STATUS_INSTALL_FAILED
- Patch point:
before-libs-extract
->before-lib[{lib_name}]-extract
- Patch point:
after-libs-extract
->after-lib[{lib_name}]-extract
BuilderBase->buildLibs()
->BuilderBase->setupLibs()
CustomSourceBase->fetch(bool $force = false)
->CustomSourceBase->fetch(bool $force = false, ?array $config = null, int $lock_as = SPC_LOCK_SOURCE)
What's Changed (PR)
- Increase memory_limit size by @crazywhalecc in #485
- Add multiple extensions for Windows by @crazywhalecc in #488
- Add extension swow for Windows by @crazywhalecc in #489
- Add
prefer-stable
option,dev:lib-ver
anddev:ext-ver
commands by @crazywhalecc in #491 - Merge docs into static-php-cli repo by @crazywhalecc in #492
- Update xz version to 5.4.7 by @DimitriyB in #493
- docs: Add php-src modifications & Release SPC enhancement by @crazywhalecc in #494
- fix: xz download by @dunglas in #495
- Fix libyaml patch slashes by @crazywhalecc in #499
- Fix prefer-stable negative result in ghtar by @crazywhalecc in #500
- Add spx extension support by @crazywhalecc in #501
- Add pre-built lib feature, and more bugfix for 2.3 by @crazywhalecc in #502
🧑🤝🧑 New Contributors
- @DimitriyB made their first contribution in #493
Full Changelog: 2.2.4...2.3.0