Skip to content

Releases: humbug/php-scoper

0.18.2

05 Jan 23:57
5eb0484
Compare
Choose a tag to compare

Bugfixes

  • Handle the case where the Composer InstalledVersions.php file is not present (#830)
  • Fix conflicting humbug_phpscoper_expose_class class declaration (#831, #811)

Misc

  • ci: Simplify the security check workflow (#812)
  • ci: Simplify the build workflow (#813)
  • chore: Fix makefile CS (#814)
  • ci: Review the Lint workflow (#815)
  • chore: Remove PHPCS configuration file (#816)
  • chore: Add gitignore sort (#817)
  • ci: Add a meta build for the ComposerRootVersion tests (#818)
  • ci: Remove matrix from jobs that are not matrices (#819)
  • ci: Introduce a meta build for the unit tests (#820)
  • chore: Move PHP-CS-Fixer and PHPUnit artefacts to the build directory (#821)
  • chore: Exclude more files from the release artefact (#822)
  • chore: Extract the e2e make test rules into a dedicated file (#825)
  • chore: Tweak the ComposerRootVersionChecker related make commands (#826)
  • chore: Add undesired lock files to the gitignore (#827)
  • chore: Remove some commands from being documented in the Makefile (#828)
  • chore(makefile): Improve the outdated_fixtures command (#829)
  • chore(makefile): Re-organise the make commands (#824)
  • chore: Use build directory instead of dist (#833)

0.18.1

24 Dec 10:38
fcc9dd3
Compare
Choose a tag to compare

Features

  • Remove composer/package-versions-deprecated (#804)

Misc

0.18.0

23 Dec 11:30
9a9b5c8
Compare
Choose a tag to compare

Features

  • feat: Update dependencies (#802)

Bugfixes

  • fix: Bump the Composer root version (#787)
  • fix: Remove unnecessary polyfill (#794)
  • fix: Allow to use the default value for the output directory (#801)

Misc

  • ci(refactor): Update the GitHub Actions steps (#785)
  • ci(fix): Remove the env from the Composer root version (#788)
  • refactor: Rework the composer root version checker into a proper sub-project (#789)
  • fix: Fix the RootVersionChecker (#790)
  • ci(refactor): Simplify the Composer installation in the CI (#791)
  • ci(fix): Fix a test name (#795)
  • ci(fix): Fix the lint jobs (#796)
  • refactor: Rework the makefile test with FidryMakefile (#792)
  • fix: Fix the e2e test 035 (#793)
  • ci(feat): Add PHP 8.2 for the build (#797)
  • refactor: Remove remaining usages of whitelist (#780)
  • ci(feat): Add a new meta job for the protected branch rules for the tests (#799)
  • ci(feat): Run the e2e tests on PHP 8.2 and also with different Composer versions (#798)
  • build(fix): Remove unnecessary files from the exported archive (#800)
  • ci(fix): Update actions/upload-artifact to v3 (from v2) (#803)

0.18.0-rc.0

20 Nov 16:31
f7bd92f
Compare
Choose a tag to compare

This release is a another big release. It really aims at tackling some fundamental and long-standing issues that are preventing a 1.x release. The two main problems being:

  • The handling of polyfills and declaring or usage of global constants as seen in (#)
  • The broken autoloading of files (see #298)

This release is an RC as this brings significant changes that I would like to pay more attention to and evaluate or it will affect big users such as PHPUnit, PHPStan, Infection or Rector.

Feature

  • Fix internal symbol declarations (#706 #710, #722)
  • [BC break] Update the default config to expose the global symbols by default (#710)
  • Fix the support of Composer autoloaded files (#773, #774)
  • Complete the support for PHP 8.1 features
  • Add support for Symfony6 (#711)
  • Add support for Laravel9 (#747)
  • Improve the scoper autoload file:
    • Change the link for the alias docs in the scoped autoload (#714)
    • Make function alias declaration one-liners (#715)
    • Sort the exposed function entries (#716)
    • Declare a function humbug_php_scoper_expose_class() to simplify the class alias declarations (#718)
    • Group function declarations by namespace (#719)
  • Update all dependencies (#704, #772)
  • Unmark PatcherChain#getPatchers() as internal (#737)
  • [BC Break] Don't allow empty string as a symbol regex or name (#741)
  • [BC Break] Remove the deprecated whitelist setting (#742)
  • Add output-dir configuration option (#632)
  • Add Configuration::withPatcher() factory (#749)
  • [BC Break] Remove deprecated ConfigurableScoper (#705)

Bugfixes

  • Fix InstalledVersions installed (#712)
  • Use the recorded symbols to decide when to add the class_alias statements (#724)
  • Preserve the files permissions (#753)
  • Fix the inspect-symbol command slowness (#755)
  • Fix regex cannot have the i flag (#759)
  • Fix define check of class constant (#745, #746)

Misc

0.17.7

04 Nov 20:36
0760c02
Compare
Choose a tag to compare

Bugfixes

  • Fix invalid regex delimiter (#687)
  • Fix Console symlink issue (#701)

Misc

  • Improve the Makefile (#689, #692, #695, #699)
  • Fix blackfire command (#690)
  • Add PHP-CS-Fixer (#691, #696)
  • Fix unstable test (#693)
  • Rename the master branch to main (#694)
  • Remove deprecated function calls (#698)
  • Upgrade codebase to PHP 8.1 (#697)

0.17.6

28 Sep 07:27
b528b87
Compare
Choose a tag to compare
0.17.6 Pre-release
Pre-release

Features

  • Bump dependencies (#679)

Bugfixes

  • Fix inspect symbol command for internal functions (#680)

Misc

0.17.5

26 Jun 22:25
f67ae1e
Compare
Choose a tag to compare
0.17.5 Pre-release
Pre-release

Feature

0.17.4

19 Jun 22:33
9bb3608
Compare
Choose a tag to compare
0.17.4 Pre-release
Pre-release

Features

  • Update dependencies (#675)

0.17.3

19 Jun 19:41
3a82f7e
Compare
Choose a tag to compare
0.17.3 Pre-release
Pre-release

Bugfix

  • Fix typo in option description (#669)

Misc

  • Upgrade to FidryConsole 0.5.0 (#674)

0.17.2

21 Feb 23:22
c72dede
Compare
Choose a tag to compare
0.17.2 Pre-release
Pre-release

Bugfixes

  • Fix dependencies incompatibilities (#664)