Releases: BrianHenryIE/strauss
v0.24.1
What's Changed
- Fix: inadvertently removing autoload keys from
installed.json
whentarget_directory
is notvendor-prefixed
by @BrianHenryIE in #213 - Fix: double-prefixing case. c1244c8
- Fix:
exclude_from_prefix
config option not working correctly. 76e1ec8 and more - Fix: only update a class extends namespace if it is global. 0226873
- Fix: log message replacement in
InstalledJson::cleanTargetDirInstalledJson()
c39ff98 - Dependencies: use Composer's
conflict
key to allow newer JsonMapper versions. See JsonMapper/JsonMapper#195, 617ae22 - Release: update
.gitattributes
e925c58 - Slightly better logging. 018299e
- ...more
Full Changelog: 0.24.0...0.24.1
v0.24.0
What's Changed
- Add: Config option
functions_prefix
string|false to set or disable prefixing of global functions, fix #208, thanks @clifgriffin - Fix: files aliases by @BrianHenryIE in #210, fix #208, thanks @clifgriffin
- Fix
files
autoloader require twice by @BrianHenryIE in #211
Full Changelog: 0.23.0...0.24.0
v0.23.0
What's Changed
- Add: Read Composer custom config from environmental variable by @BrianHenryIE in #205, fix #204, thanks @LC43
- Fix: Better aliasing of namespaced functions by @BrianHenryIE in #206, (partial fix for) #208, thanks @clifgriffin
- Dependency: update simple-php-code-parser:^0.15.3, fix #209, thanks @Dartui, @LC43
Full Changelog: 0.22.6...0.23.0
v0.22.6
What's Changed
- Fix prefix contants by @0zd0 in #202
- Use monolog by @BrianHenryIE in #203
Full Changelog: 0.22.5...0.22.6
v0.22.5
What's Changed
- Fix: Reliable prefixing of global functions by @0zd0 in #197
- Fix: FQDN namespaces not correctly prefxied, #188. Thanks @SpencerCloud
- Fix: Namespaces with no classes not in the direct namespace not working with psr-4, fix #189, in#189, thanks @Dartui, @0zd0
- Fix vendor autoloader dev entries when target is vendor by @BrianHenryIE in #200
New Contributors
Full Changelog: 0.22.4...0.22.5
v0.22.4
What's Changed
- Require
simple-php-code-parser
^0.15.1
by @BrianHenryIE in #192, fix #191, thanks @artulloss
Stops using class_exists()
when scanning php files for symbols
Full Changelog: 0.22.3...0.22.4
v0.22.3
What's Changed
- Filter 'implements' nodes on FullyQualified + add issue test by @Phennim in #174, fix #172
- Exclude directories from license copy step by @Dartui in #181, fix #180
- Add spelling to main workflow by @szepeviktor in #165
"elazar/flystream": "^0.5.0|^1"
by @BrianHenryIE in #177, fix #171, #175, thank you @Dartui, @jcvignoli, @elazar- Fix spelling by @BrianHenryIE in #178
- Filter
performReplacementsInProjectFiles()
to only PHP files by @BrianHenryIE in #176, fix #173, thank you @arjendejong12 - Add
file_exists()
check in editedvendor/autoload.php
by @BrianHenryIE in #182, fix 179, thank you @jcvignoli - Fix #166 by @BrianHenryIE in #185, thank you @thomasplevy
- Fix #183 by @BrianHenryIE in #187, thank you @jcvignoli – this was probably the biggest one (100+ commits) and relied on a lot of feedback
- Fix #175 Command "include-autoloader" is not defined, thank you @jcvignoli
- Fix/close Mockery by @BrianHenryIE in #167
- Add
extends Composer\Autoload\AutoloadGenerator
by @BrianHenryIE in #168, fix #164, #163 - Don't use dir as file by @BrianHenryIE in #184
New Contributors
Thank you
Thanks everyone. This was the biggest bugfix release we've ever had. I did end up forking voku/Simple-PHP-Code-Parser to BrianHenryIE/Simple-PHP-Code-Parser and I'm a little worried about the unknown-unknowns there. Particularly, the style of writing tests in the existing project isn't my typical style, so it won't be so fast and straightforward for me to address bugs. I do think using nikic/PHP-Parser (of which this is a wrapper) is the future of this project.
Next
I've been working on Add SymlinkProtectFilesystemAdapter #170 to fix #64. To complete it I am working on a PR on Composer itself, composer/composer#12396.
Full Changelog: 0.22.2...0.22.3
v0.22.2
What's Changed
- Fix:
files
autoloaders not given uniquefileIdentifier
s by @BrianHenryIE in #164. Thanks @andreagrillo - Fix:
psr-0
autoloaders not loaded because no added directory structure to match added prefix; solved by adding toclassmap
by @BrianHenryIE in #164 - Fix typos again by @szepeviktor in #161
Full Changelog: 0.22.1...0.22.2
v0.22.1
- Constrain json-mapper/json-mapper 3cc60fd
See: JsonMapper/JsonMapper#195
Full Changelog: 0.22.0...0.22.1
v0.22.0
This release is the most significant refactor + improvements to date. Give --dry-run
a whirl. NB: Use ^0.22.1!
What's Changed
- Fix usage example by @hirasso in #134
- Add:
--dry-run
command & verbose logging by @BrianHenryIE in #139 - Add: alias renamed classes for dev dependencies by @BrianHenryIE in #138. Fix #81 Thanks @justlevine; Fix #34 Thanks @coder-at-heart; Fix #124 Thanks @JUVOJustin
- Stop using directory separator by @BrianHenryIE in #147. Fix #30 Thanks @Spreeuw
- Remove
$workingDir
from pipeline steps by @BrianHenryIE in #152. Fix #143 Thanks @LC43 - Set up problem matcher for PHPUnit by @szepeviktor in #128
- Fix #136 – do not update call sites by @BrianHenryIE in #156. Thanks @defunctl
- Remove duplicated silent option by @LC43 in #155, #158
- Fix: relative namespaces by @BrianHenryIE in #157. Fix #154 Thanks @simon-skooster
- Respect existing
composer
.config
when creatingvendor-prefixed
autoloader by @BrianHenryIE in #160. Fix #159 Thanks @LC43
New Contributors
Special Thanks
- @elazar for changes to elazar/flystream #16 which enabled the dry-run feature
- @Seldaek for changes to composer/class-map-generator #18
Full Changelog: 0.21.1...0.22.0