Skip to content

Releases: mvccore/packager

Packager - v2.5.1

13 Dec 12:48
Compare
Choose a tag to compare

Fixed

  • PHP 8.3 compatibility:
    • deprecated get_class() without argument,
    • deprecated SPL classes extending without attribute #[\ReturnTypeWillChange] in empty method return type in overrided method.

Packager - v2.5.0

17 May 06:49
Compare
Choose a tag to compare

New

  • Recursive iterator respecting symlinks on Windows from PHP 8.2+
  • PHP 8+ full support including PHP attributes:
    • It's possible to compile code written in PHP 8.0+ with Packager on PHP7.4- .
    • It's possible to compile code written in PHP 7.4- with Packager on PHP8.0+.

Packager - v2.4.1

07 Jul 19:49
Compare
Choose a tag to compare

Fixed

  • PHP Wrappers - readfile() virtual function fix for enabled zlib output compression.

Packager v2.4.0

18 May 16:47
Compare
Choose a tag to compare

Added

  • PHP 8.1 support

Packager v2.3.0

10 Jan 14:51
a0d74b0
Compare
Choose a tag to compare

New

  • configuration to statically clean and copy again files and folders from the development directory into release directory every build
  • MvcCore 5.0 support
  • configuration to keep specific PHP doc comments (keeped by default: @var)
  • possibility to change PHP package file itself from packaged application inside (for PHP fn mkdir() for now only)

Changes

  • supported only by PHP 5.4 and newer
  • REMOVED FUNCTION SetReleaseFile(), replaced with functions SetReleaseDir() (required) and SetReleaseFileName() (not required, /index.php by default)

Fixed

  • PHP traits packing where is used include(), where is used $this context in included file
  • cosmetic bugfixes

Packager v2.2.3

10 May 16:09
728416e
Compare
Choose a tag to compare
  • Fixed autoloading classes and files inside symlinks

Packager v2.2.2

18 Apr 16:58
3209198
Compare
Choose a tag to compare

Added

  • mkdir() is now replaced with virtual method
  • possibility to change PHP itself by private Packager_Php_Wrapper::_changeItself();.

Packager v2.2.1

13 Apr 16:30
d4171ae
Compare
Choose a tag to compare

Changes

  • Configuration for doc comments changed to array with doc comments tags to keep (keepPhpDocComments).
    Possible values: @param, @return and @var to keep whole line without text comments and @anything to keep only @anything as tag itself.
    Configuration default value: array() to remove all doc comments.

Packager v2.2.0

13 Apr 15:22
Compare
Choose a tag to compare

Changes

  • include and exclude file patterns in configuration is now possible to define as whole regular expression pattern with all switches like: "#\.(bak|bat|md|phpt|phpproj)$#i"

Fixes

  • better minimalized code formating

Packager v2.1.12

07 Oct 19:57
Compare
Choose a tag to compare
  • cli apps compiling bugfix