Skip to content

Releases: humbug/php-scoper

0.10.2

11 Oct 16:42
8d63d9b
Compare
Choose a tag to compare
0.10.2 Pre-release
Pre-release

Bugfixes

  • Fix the composer root version being used (#265)
  • Fix the whitelisting of classes (#263)

0.10.1

09 Oct 13:57
490b9cc
Compare
Choose a tag to compare
0.10.1 Pre-release
Pre-release

Bugfixes

  • Allow usage of the whitelist-global-classes setting

0.10.0

04 Oct 09:43
4235b33
Compare
Choose a tag to compare
0.10.0 Pre-release
Pre-release

Features

  • Add files whitelist feature (#262)

Bugfixes

  • Fix usage of the new configuration settings (#262)

0.9.2

10 Aug 11:37
f595614
Compare
Choose a tag to compare
0.9.2 Pre-release
Pre-release

Bugfixes

  • Fix the version used in the PHAR (#259)
  • Fix scoping of string literal classes which contains numbers (#258)

Misc

  • Use an application factory (#260)

0.9.1

06 Aug 18:05
e7eb4b8
Compare
Choose a tag to compare
0.9.1 Pre-release
Pre-release

Bugfixes

  • Bump dependencies (#254)

0.9.0

04 Aug 17:49
1576510
Compare
Choose a tag to compare
0.9.0 Pre-release
Pre-release

Features

  • Smarter function arguments scoping (#228)
  • Use a random prefix for PHP-Scoper (#234)
  • Whitelist global functions by default (#231)
  • Allow to whitelist functions (#241)
  • Allow to whitelist symbols with a pattern (#243)
  • Whitelist classes belonging to the global namespace by default (#251, #252)
  • Add Laravel support (#246)

Bugfixes

  • Fix string literal scoping (#235)
  • Fix whitelisting functions (#238)

Misc

  • Add a warning regarding a limitation with the namespace whitelist (#230)
  • Add a test to ensure the e2e rule is always in sync in the Makefile (#240)
  • Rework the whitelist API (#247)
  • Fail when files are found in _specs (#232)
  • Improve the Makefile help (#229)
  • Add more contribution doc (#233)

0.8.1

13 Jun 08:54
5d6c97f
Compare
Choose a tag to compare
0.8.1 Pre-release
Pre-release

Bugfixes

  • Fix the namespace whitelisting autoloading (#223)

0.8.0

09 Jun 14:58
21bd501
Compare
Choose a tag to compare
0.8.0 Pre-release
Pre-release

Features

  • Allow to whitelist a namespace (#213, #216, #217)
  • Allow to whitelist constants (#214, #219)
  • Allow to whitelist constants from global namespace (#218)

Bugfixes

  • Fix whitelist case sensitiveness (#222)

Misc

  • Ensure PHP-Scoper can only be called from the CLI (#220)
  • Ensure string literals in define statements are properly prefixed (#221)

BC breaks

  • The API signature has changed to convert the array $whitelist into the Whitelist object (#213)
  • Constants from the global namespace are now whitelisted by default (#218)

0.7.0

30 May 20:01
83b9abb
Compare
Choose a tag to compare
0.7.0 Pre-release
Pre-release

Features

  • Add the prefix to the configuration (#186)

Bugfixes

  • Ensure the whitelist feature works well on interfaces (#205)
  • Fix the scoping of JSON files (#207)
  • Fix scoping of namespaces which have a dash in their namespace for string literals (#211)

Misc

BC Breaks

  • Remove self-update command (#199, #206)

0.6.1

07 Apr 20:25
561bcde
Compare
Choose a tag to compare
0.6.1 Pre-release
Pre-release

Empty release: this release is just to trigger a new build and release the PHAR.