Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: nosial/ncc

2.1.9

23 Sep 15:43

Choose a tag to compare

This update introduces a minor bug fix

Fixed

  • handle undefined misc_text in ConsoleProgressBar truncation logic due to substr and strlen in future versions
    being more strict about types and no longer accepting null values.

2.1.8

17 Mar 19:25
6909790

Choose a tag to compare

This update introduces a temporary fix

Fixed

  • (Temporary) removed the ability to delete cache files because it's deleting important files that are needed.

2.1.7

17 Mar 07:20
ccb1ef6

Choose a tag to compare

This update introduces a quality of life improvement

Changed

  • Refactor variable names for consistency and clarity in ShutdownHandler and PackageWriter classes
  • Improve error handling in ShutdownHandler by logging warnings for cleanup failures

Fixed

  • Fixed issue in ArchiveExctractor where close() may be called on a already closed resource

2.1.6

29 Oct 16:30

Choose a tag to compare

This update introduces critical bug fixes

Fixed

  • Validate package instance before checking execution policy

2.1.5

14 Oct 19:31

Choose a tag to compare

This update introduces a critical bug fix

2.1.4

13 Oct 18:51

Choose a tag to compare

This update introduces minor bug fixes & improvements

Added

  • Added new constant %DEFAULT_BUILD_CONFIGURATION% which points to the project's default build configuration
  • Added new dynamic constant %BUILD_OUTPUT_PATH% which can be used as %BUILD_OUTPUT_PATH%:release to show the
    output path of a specific build configuration
  • Refactor CI templates to support dynamic build targets
  • Added template phpexe & phpgz for generating executable binaries and compressed executables for the project

Changed

  • Refactor phpmake template to support dynamic build targets

Fixed

  • ncc will now correctly handle package execution where the main unit is not defined in the package instead of
    throwing an exception.
  • Executable Compiler will now correctly create a directory if it does not exist when compiling a package using gcc

2.1.3

27 Sep 18:02

Choose a tag to compare

This update introduces bug fixes

Fixed

  • Null-pointer fix

2.1.2

27 Sep 17:53

Choose a tag to compare

This update introduces bug fixes

Added

  • Add getter methods for installation lifecycle steps
  • Added pre-install & post-install execution unit handling

Changed

  • Updated DocStrings in PackageManager

Fixed

  • Fixed incorrect enum usage in RepositoryMenu

2.1.1

24 Sep 16:55

Choose a tag to compare

This update introduces a couple of new features and quality of life improvements

Added

  • Added new PHP template phpunit for generating PhpUnit tests for the project
  • Added new PHP template phpmake for generating a Makefile for the project
  • Added new PHP template phplib_full That combines phplib, phpmake and phpunit templates
  • Added new PHP template phpcli_full That combines phpcli, phplib, phpmake and phpunit templates
  • Added new PHP template phpci_github that generates a Github CI workflow for the project

Changed

  • The template phpcli no longer includes a Makefile, instead use phpmake to generate a Makefile for the project

Fixed

  • Fixed incorrect enum usage with a logging method call.

2.1.0

21 Sep 00:11

Choose a tag to compare

This update introduces a refactored code-base, code quality improvements, and better exception handling.

Added

  • Added Test unit tests/ncc/Objects/Package/ComponentTest.php
  • Added Test unit tests/ncc/Utilities/ResolverTest.php
  • Added Test unit tests/ncc/Utilities/SecurityTest.php
  • Added Test unit tests/ncc/Utilities/ValidateTest.php
  • Add support for runtime constants

Changed

  • Convert Versions constants to enum cases
  • Update Scopes to enum and adjust scope checks
  • Convert Runners class to enum with string cases
  • Convert RegexPatterns constants to enum cases
  • Convert ProjectTemplates constants to enum cases
  • Convert PackageStructureVersions constants to enum cases
  • Convert PackageStructure constants to enum cases
  • Convert PackageDirectory constants to enum cases
  • Convert LogLevel constants to enum cases
  • Convert FileDescriptor constants to enum cases
  • Convert ExceptionCodes constants to enum cases
  • Convert ConsoleColors constants to enum cases
  • Convert CompilerExtensions constants to enum cases
  • Convert RepositoryType constants to enum cases
  • Convert RepositoryResultType constants to enum cases
  • Convert ProjectType constants to enum cases
  • Convert HttpRequestType constants to enum cases
  • Convert ComposerStabilityTypes constants to enum cases
  • Convert ComposerPackageTypes constants to enum cases
  • Convert ComponentDataType constants to enum cases
  • Convert BuildOutputType constants to enum cases
  • Convert AuthenticationType constants to enum cases
  • Convert RuntimeConstants constants to enum cases
  • Convert InstallConstants constants to enum cases
  • Convert DateTimeConstants constants to enum cases
  • Convert BuildConstants constants to enum cases
  • Convert AssemblyConstants constants to enum cases
  • Convert ProjectOptions constants to enum cases
  • Convert InstallPackageOptions constants to enum cases
  • Convert InitializeProjectOptions constants to enum cases
  • Convert ComponentDecodeOptions constants to enum cases
  • Convert BuildConfigurationValues constants to enum cases
  • Convert BuildConfigurationOptions constants to enum cases
  • Convert CompressionOptions constants to enum cases
  • Convert PackageFlags constants to enum cases
  • Convert NccBuildFlags constants to enum cases
  • Convert ComponentFlags constants to enum cases
  • Refactor flag handling to use PackageFlags enum directly
  • Refactor checkLogLevel to correctly utilize LogLevel cases
  • Refactor code to improve readability in Resolver.php
  • Update PHP include paths in project configuration
  • Refactor logging level checks to use LogLevel enum directly
  • Refactor log level parsing with enum method
  • Refactor log level checking to enum method
  • Updated Symfony/Filesystem from version 6.3.1 to 7.1.2
  • Refactor ProjectType handling
  • Validate and enforce repository type enum usage
  • Updated Composer/Semver to 3.4.3
  • Rename 'semver' directory to 'Semver' in composer package
  • Refactor project constants handling in NccCompiler
  • Updated Symfony/Yaml to version 7.1.4
  • Updated Symfony/Uid to version 7.1.4
  • Updated Symfony/Process to version 7.1.3
  • Updated Symfony/polyfill-ctype to version 1.31.0
  • Updated Symfony/polyfill-mbstring to version 1.31.0
  • Updated Symfony/polyfill-uuid to version 1.31.0
  • Updated nikic/PhpParser to version 5.2.0

Fixed

  • Fixed Division by zero in PackageManager
  • Fixed runner argument passing for ExecCommand

Removed

  • Removed EncoderType enum file, unused.
  • Removed PackageStandardVersions.php
  • Removed ConstantReferences.php
  • Removed HttpStatusCodes.php
  • Removed CompilerExtensionDefaultVersions.php
  • Removed RemoteSourceType
  • Removed DependencySourceType
  • Removed BuiltinRemoteSourceType
  • Removed RuntimeImportOptions
  • Remove ComponentFileExtensions enum
  • Remove unused import and redundant scope validation method