• 3.0.3 9eca1ffd86

    3.0.3
    Some checks failed
    CI Pipeline / build (push) Failing after 1s
    CI Pipeline / test (push) Has been skipped
    CI Pipeline / test-install (push) Has been skipped
    Build and Release Docker Images / build (8.3, map[fpm_enabled: name:alpine tag:latest]) (push) Failing after 1s
    Build and Release Docker Images / build (8.3, map[fpm_enabled:-fpm name:fpm tag:fpm]) (push) Failing after 1s
    CI Pipeline / upload-release (push) Has been skipped
    Build and Release Docker Images / create-release (push) Has been skipped
    Stable

    netkas released this 2026-01-07 18:14:54 +00:00 | 136 commits to master since this release

    This update introduces new fixes and changes

    Added

    • Added support to register symlinks of executable packages if installing under a system scope, this step can be
      skipped by using --no-symlink, if a symlink already exists it can be overwritten using --force-symlink, ncc keeps
      track of the symlinks it registers so it doesn't overwrite any existing symlinks unless --force-symlink is used.
    • Added new command ncc project stubs which generates a vendor and autoload.php stubs for the project to allow
      IDEs to index the dependencies of the project for better code completion and static analysis. This is designed to
      work simiarly to how Composer generates its autoload files.
    • Added docker template, generate it using ncc project --generate=docker
    • Added optional NCC_DISABLE_LOGGING for php's defined constants or as a environment variable to disable all logging
      in ncc, this is useful for production/debuging environments where ncc logging events are not desired.

    Changed

    • Updated \ncc\Classes\IO::writeFile() to create the parent directory if it does not exist when writing a file
    • Refactored CLI help menus

    Fixed

    • Fixed issue in CI where dependencies are not installed before building the project, additionally fixed issue where
      the -y argument is missing causing dependencies to not be installed
    • Fixed issue where ncc's runtime would fail when it can't create the home user directory, in such cases for example
      when running under www-data, ncc would instead fail silently and depend on the system's scope instead.

    Removed

    • Removed the shebang from the Makefile ncc.phar target
    Downloads