Code-TidyAll
view release on metacpan or search on metacpan
0.52 2016-09-19
[BUG FIXES]
- The 0.50 release added an implicit configure phase prereq on Path::Tiny
without declaring it. That bit of code has been reverted to use just core
modules.
- Change tidyall shbang line to "#!perl". I had changed it to "#!/usr/bin/env
perl" but MakeMaker does not rewrite this on install.
0.51 2016-09-18
[BUG FIXES]
- Restored some exports to Code::TidyAll::Util for backwards
compatibility. Some other plugins are using these exports.
0.50 2016-09-18
[BACKWARDS INCOMPATIBILITIES]
- Converted (almost) all file handling to use Path::Tiny. This should help
make the code and tests more cross-platform, and simplifies various bits of
internal code. Note that plugins now receive paths as Path::Tiny objects,
which could break code that checks if what it receives is a plain scalar.
[ENHANCEMENTS]
- Added support for tidying in multiple parallel jobs at once. You can pass a
"--jobs" argument to tidyall or pass a "jobs" param to
Code::TidyAll->new. This requires that you install Parallel::ForkManager.
- Paths in error messages now include the full relative path to the file being
tidied. Previously this would just be something like "Foo.pm", now it will
be "lib/My/Package/Foo.pm".
0.49 2016-07-22
- The verbose output now just shows the plugin name in the "applying the
following plugins: ..." message, rather than stringifying the plugin
objects.
0.48 2016-06-16
- The Git pre-commit hook now only looks at the files that are staged for
committing, rather than everything in the git repo that has been
modified. Note that this does not change the tidyall script's "-g" flag,
which still operates on all modified files in the repo.
- Check the exit code when running js-beautify and throw an error if this is
non-zero. Patch by Graham Knop. GitHub #61.
0.46 2016-04-17
- Fix a use line which specified the required version of Text::Diff as
"v1.44". This caused weirdness to cascade in the Makefile.PL. Reported by
Olaf Alders. GitHub #60.
0.45 2016-04-11
- Some changes intended to be internal-only in the last release broke the
handling of ignore and select config lines with multiple space-separated
values. This should now work again (and is tested). Reported by Martin
Gruner. GitHub #44.
0.44 2016-04-10
- Changed the shebang config item to actually accept multi items on different
lines. The old method of specifying more than one item on a single line,
separated by spaces, will continue to work, but is no longer documented.
0.43 2016-03-27
- Use the same improved "git status" code for Code::TidyAll::Git::Precommit as
we do in bin/tidyall for the -g option. Patch by Finn Smith. GitHub #57.
0.42 2016-03-10
- Specify Text::Diff version as 'v1.44' instead of '1.44'. This fixes an
inexplicable error that the OTRS project was having with the previous
release (GitHub #53). Fixed by Martin Gruner. GitHub #54.
0.41 2016-03-04
- Replaced List::MoreUtils with List::SomeUtils.
0.40 2016-02-21
- Don't include files not tracked by git when looking for uncommitted files.
Fixed by Olaf Alders. GitHub #51.
- Use Text::Diff for all diffs instead of calling an external
command. Hopefully this makes this distro a little more portable.
0.39 2016-02-13
- Use "git status --porcelain -z" when trying to figure out what files are
being uncommitted for git hooks. Implemented by Ricardo Signes. GitHub #40.
0.38 2016-01-11
- Tweaked the test names used by Test::Code::TidyAll so that they say
something like "lib/Foo.pm is tidy" rather than just "lib/Foo.pm".
0.37 2015-12-03
- Really fix an empty files parameter to tidyall_ok (Test::Code::TidyAll
( run in 4.274 seconds using v1.01-cache-2.11-cpan-df04353d9ac )