Debian Codegraph @

Changes

raw
1 0.85 2025-04-27
2
3 - Fixed a bug in how this module called `Path::Tiny`. Fixed by @gregoa (Gregor Hermann). GH #128.
4
5
6 0.84 2023-12-09
7
8 - Fixed a bug that made it impossible to specify both `-i` and `-I` with
9 `tidyall. GH #125. PR #126. Fixed by @mauke.
10
11
12 0.83 2022-11-19
13
14 - Fixed test failures on msys. Implemented by Paulo Custodio. GH #116.
15
16 - When running under GitHub Actions in --check-only mode, linting failures
17 will now emit GitHub annotations
18 (https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#example-creating-an-annotation-for-an-error). Implemented
19 by Pavel Dostál. GH #120.
20
21
22 0.82 2022-04-15
23
24 - Fixed git tests to ignore local Git configuration files, which may cause the
25 tests to fail. Implemented by Andreas Vögele. GH #109.
26
27 - The git tests nor run with LC_ALL set to C. Implemented by Andreas
28 Vögele. GH #109.
29
30
31 0.81 2022-02-16
32
33 - The PerlTidy plugin will now always append the `--encode-output-strings`
34 flag when using `Perl::Tidy` 20220101 or newer. This eliminates issues with
35 character encoded content reported in GH #84, reported by Greg
36 Oschwald. Thanks to Steven Hancock for letting me know that this was
37 possible.
38
39
40 0.80 2021-11-26
41
42 - Don't run the PodSpell plugin test unless `ispell` is installed. Reported by
43 Slaven Rezić. GH #108.
44
45
46 0.79 2021-11-26
47
48 - Run `git stash pop` with `--quiet` flag again, as long as Git is not
49 2.24.x. See notes in 0.75 for why we stopped passing `--quiet` in the first
50 place.
51
52 - Fixed a bug where the class in the `--tidyall-class` option was not
53 loaded. Fixed by Shlomi Fish. PR #107. Fixed GH #43.
54
55
56 0.78 2020-04-25
57
58 - Fix an issue with the pre-commit hook code when commit after a merge. If
59 tidyall invoked `git stash` in the hook and there was content to stash, this
60 would break the merge commit, leading to the commit to fail entirely. Now
61 the pre-commit hook code will simply never call `git stash` when merging a
62 merge commit. Reported by Damien Prystay. GH #100.
63
64 - This release also includes the changes from the 0.76 and 0.77 trial
65 releases.
66
67
68 0.77 2020-01-04 (TRIAL RELEASE)
69
70 - Made some more line ending fixes in the test code.
71
72 - Fixed a test to handle spaces with paths (on Windows, at least).
73
74
75 0.76 2019-12-24 (TRIAL RELEASE)
76
77 - Preserve line endings in files but using raw mode to read and
78 write. Otherwise Perl will automatically write files with the
79 platform-appropriate ending. This could lead to ending "flapping" if you
80 have developers working on the same project on different platforms, and
81 probably lots of other annoying issues. Based on PR #97 from Kenneth Ölwing.
82
83
84 0.75 2019-12-24
85
86 - Git v2.24.0 introduced a serious bug when running `git stash` with the
87 `--quiet` flag that causes it to delete files. This in turn caused this
88 package's pre-commit hook code to be seriously broken. We no longer pass the
89 `--quiet` flag if the git version is >= 2.24. We will re-enable the flag
90 once there is a version that fixes this bug.
91
92 - The pre-commit hook code now uses `git rev-parse -q --verify refs/stash` to
93 determine if the call to `git stash` actually does anything. This seems
94 better than attempting to parse the output of the `git stash` call for a
95 user-facing message.
96
97
98 0.74 2019-05-24
99
100 - Fix a warning that would happen when applying shebang matching to empty
101 files. Fixed by Greg Oschwald. GH #93.
102
103
104 0.73 2019-01-20
105
106 - Fix test failures on Windows. Based on GH #91 from Shlomi Fish.
107
108
109 0.72 2018-12-20
110
111 - Added documentation for the -j/--jobs flag to the tidyall script's help
112 output and POD docs.
113
114 - Make the --iterations flag for bin/tidyall actually work. This had been
115 documented but it has never actually done anything (though setting this in
116 your config file does work).
117
118
119 0.71 2018-09-12
120
121 - Added two new plugins, GenericValidator and GenericTransformer. These allow
122 you to execute any command as a validator or transformer respectively. This
123 should be sufficient to keep us all from having to write new plugins for
124 every command in the world, as these two plugins should handle most common
125 cases.
126
127
128 0.70 2018-04-12
129
130 - Borged File::Zglob into this distro for now. File::Zglob has not been
131 installable under Perl 5.26+ for 8+ months
132 (https://rt.cpan.org/Public/Bug/Display.html?id=120445).
133
134
135 0.69 2017-10-06
136
137 - We now chdir to $ROOT before running commands. This fixes issues when you
138 run tidyall from a subdirectory of your $ROOT (which works) but commands run
139 by tidyall (like perlcritic) are looking for files using paths relative to
140 root. Patch by Olaf Alders. Fixes GH #85. PR #86
141
142
143 0.68 2017-09-29
144
145 - Fixed heisenbug that could cause displaying constructor params (in verbose
146 mode) to omit most of the parameter values.
147
148
149 0.67 2017-09-18
150
151 - Move "cmd" attribute back to Code::TidyAll::Plugin. Moving this to a role in
152 0.66 broke plugins which run external commands but which don't ship with
153 this distro. Reported by Greg Oschwald. GH #82.
154
155
156 0.66 2017-09-17
157
158 - The tidyall command line app now takes a --plugins option. This allows you
159 to limit tidyall to running just the selected plugin(s).
160
161
162 0.65 2017-08-01
163
164 - A file under Git which had a status of "copied" would cause uninitialized
165 value warnings from a pre-commit hook. Reported by Nigel Metheringham with
166 help from Adam Herzog. GH #81.
167
168
169 0.64 2017-07-31
170
171 - Bug fixes on Windows. Now all plugins except PodSpell (which requires
172 ispell) should work on Windows. This should all fix test failures seen in
173 CPANTesters on Windows.
174
175
176 0.63 2017-07-23
177
178 - All plugins should now work when run against paths that include
179 spaces. Previously, many plugins would fail because they were calling system
180 commands by passing a single string rather than a list of arguments. Note
181 that we now parse the "argv" given in the config file use
182 Text::ParseWords::shellwords. It's possible that this could break your setup
183 if you have some very pathological configuration options. Bug reports are
184 welcome. Fixes #79.
185
186
187 0.62 2017-07-20
188
189 - Added support for a global config option "inc". This allows you to prepend
190 directories to @INC when running tidyall. This affects both loading classes
191 and running plugins. This is equivalent to the command line's -I option.
192
193
194 0.61 2017-07-07
195
196 - Fixed a Git pre-commit hook stash bug. The hook would always call "git stash
197 pop" even if the call it had just made to "git stash" hadn't added anything
198 to the stash. If the stash had anything on it, this could make a mess of
199 your working directory. This showed up most often with calls to "git commit
200 --amend" where you were trying to just edit the prior commit message, since
201 you would be unlikely to have any changes to stash when doing so.
202
203
204 0.60 2017-07-03
205
206 - Attempted to fix a bug related to how git stash is used in the git
207 pre-commit hook. The "git stash pop" command was happening too early, which
208 would block commits when all the files in the index were tidy but the
209 working directory contained untidy files. Based on PR #58 from Finn Smith.
210
211
212 0.59 2017-05-14
213
214 - Work around issue with Perl::Tidy when Getopt::Long::Configure is called
215 before we call Perl::Tidy::perltidy. See
216 https://rt.cpan.org/Ticket/Display.html?id=118558 for details.
217
218
219 0.58 2017-03-11
220
221 - Don't assume that '.' is in @INC in the Makefile.PL.
222
223 - Don't ship the node or PHP code used for tests in the tarball. This makes it
224 much smaller.
225
226
227 0.57 2017-02-19
228
229 - Fix code that called a Specio private method directly.
230
231
232 0.56 2017-02-01
233
234 - Fixed Win32 test failures. Reported by Christian Walde. GH #72.
235
236 - Added a global ignore feature. You can now provide ignore configuration at
237 the top level of your tidyall config file and/or pass an --ignore flag on
238 the command line. Any ignores specified this way will be ignore for all
239 plugins. Based on GH #73 from Martin Guner.
240
241
242 0.55 2016-10-31
243
244 - Require Moo 2.000000 or greater.
245
246
247 0.54 2016-10-15
248
249 - Fixed error when passing in paths as a string to the Code::TidyAll
250 constructor. These are now coerced to Path::Tiny objects. Reported by Martin
251 Gruner. GH #66.
252
253
254 0.53 2016-10-10
255
256 [BUG FIXES]
257
258 - Fixed failing tests on OSX. Reported by Martin Gruner. GH #65.
259
260 - Files that were tidied could have their permissions mode when they were
261 rewritten. Reported by Martin Gruner (GH #68) and fixed by Adam Herzog (GH
262 #69).
263
264
265 0.52 2016-09-19
266
267 [BUG FIXES]
268
269 - The 0.50 release added an implicit configure phase prereq on Path::Tiny
270 without declaring it. That bit of code has been reverted to use just core
271 modules.
272
273 - Change tidyall shbang line to "#!perl". I had changed it to "#!/usr/bin/env
274 perl" but MakeMaker does not rewrite this on install.
275
276
277 0.51 2016-09-18
278
279 [BUG FIXES]
280
281 - Restored some exports to Code::TidyAll::Util for backwards
282 compatibility. Some other plugins are using these exports.
283
284
285 0.50 2016-09-18
286
287 [BACKWARDS INCOMPATIBILITIES]
288
289 - Converted (almost) all file handling to use Path::Tiny. This should help
290 make the code and tests more cross-platform, and simplifies various bits of
291 internal code. Note that plugins now receive paths as Path::Tiny objects,
292 which could break code that checks if what it receives is a plain scalar.
293
294 [ENHANCEMENTS]
295
296 - Added support for tidying in multiple parallel jobs at once. You can pass a
297 "--jobs" argument to tidyall or pass a "jobs" param to
298 Code::TidyAll->new. This requires that you install Parallel::ForkManager.
299 - Paths in error messages now include the full relative path to the file being
300 tidied. Previously this would just be something like "Foo.pm", now it will
301 be "lib/My/Package/Foo.pm".
302
303
304 0.49 2016-07-22
305
306 - The verbose output now just shows the plugin name in the "applying the
307 following plugins: ..." message, rather than stringifying the plugin
308 objects.
309
310
311 0.48 2016-06-16
312
313 - The Git pre-commit hook now only looks at the files that are staged for
314 committing, rather than everything in the git repo that has been
315 modified. Note that this does not change the tidyall script's "-g" flag,
316 which still operates on all modified files in the repo.
317
318 - Check the exit code when running js-beautify and throw an error if this is
319 non-zero. Patch by Graham Knop. GitHub #61.
320
321
322 0.46 2016-04-17
323
324 - Fix a use line which specified the required version of Text::Diff as
325 "v1.44". This caused weirdness to cascade in the Makefile.PL. Reported by
326 Olaf Alders. GitHub #60.
327
328
329 0.45 2016-04-11
330
331 - Some changes intended to be internal-only in the last release broke the
332 handling of ignore and select config lines with multiple space-separated
333 values. This should now work again (and is tested). Reported by Martin
334 Gruner. GitHub #44.
335
336
337 0.44 2016-04-10
338
339 - Changed the shebang config item to actually accept multi items on different
340 lines. The old method of specifying more than one item on a single line,
341 separated by spaces, will continue to work, but is no longer documented.
342
343
344 0.43 2016-03-27
345
346 - Use the same improved "git status" code for Code::TidyAll::Git::Precommit as
347 we do in bin/tidyall for the -g option. Patch by Finn Smith. GitHub #57.
348
349
350 0.42 2016-03-10
351
352 - Specify Text::Diff version as 'v1.44' instead of '1.44'. This fixes an
353 inexplicable error that the OTRS project was having with the previous
354 release (GitHub #53). Fixed by Martin Gruner. GitHub #54.
355
356
357 0.41 2016-03-04
358
359 - Replaced List::MoreUtils with List::SomeUtils.
360
361
362 0.40 2016-02-21
363
364 - Don't include files not tracked by git when looking for uncommitted files.
365 Fixed by Olaf Alders. GitHub #51.
366
367 - Use Text::Diff for all diffs instead of calling an external
368 command. Hopefully this makes this distro a little more portable.
369
370
371 0.39 2016-02-13
372
373 - Use "git status --porcelain -z" when trying to figure out what files are
374 being uncommitted for git hooks. Implemented by Ricardo Signes. GitHub #40.
375
376
377 0.38 2016-01-11
378
379 - Tweaked the test names used by Test::Code::TidyAll so that they say
380 something like "lib/Foo.pm is tidy" rather than just "lib/Foo.pm".
381
382
383 0.37 2015-12-03
384
385 - Really fix an empty files parameter to tidyall_ok (Test::Code::TidyAll
386 desperately needs some tests).
387
388
389 0.36 2015-12-02
390
391 - Updated the distro metadata to point to github for bug reports rather than
392 rt.cpan.org.
393
394
395 0.35 2015-12-02
396
397 - If the "files" parameter to tidyall_ok didn't include any files that matches
398 the tidyall config (or no files at all) this would cause an error from
399 Test::Builder. This has been fixed so we now just spit out a single passing
400 test.
401
402
403 0.34 2015-12-02
404
405 - Added a new "files" parameter that can be passed to the tidyall_ok sub
406 exported by Test::Code::TidyAll. This makes it possible to use this sub to
407 check just a subset of your files.
408
409
410 0.33 2015-11-30 (TRIAL RELEASE)
411
412 - Adding diff functionality as its own plugin (DiffOnTidyError), which was
413 done in 0.31, turned out to be quite problematic. As a plugin you had to
414 define which files it applied to via select & exclude, and in a large code
415 base it was easy to select files that no other plugin applied to. This meant
416 tidyall (and Test::Code::TidyAll, etc.) would include those files even
417 though they were never touched. This could make tidying and tidy tests
418 _much_ slower.
419
420 This plugin has been replaced with a new config attribute that can be
421 applied to all plugins, diff_on_tidy_error. When this is set, any plugin
422 that tidies source in --check-only mode (also used by Test::Code::TidyAll)
423 will include a diff in the error message, one diff per plugin. This has the
424 added benefit of showing if you if multiple plugins are each making changes
425 to the same file.
426
427
428 0.32 2015-11-19
429
430 - When in verbose mode we now show what plugins are being applied to each
431 file. This is helpful if you want to know why a file isn't being ignored,
432 for example.
433
434 - Added a new plugin configuration option for the rc file, "weight". You can
435 use this to exercise greater control over the order that plugins run in.
436
437
438 0.31 2015-11-17
439
440 - Added a new plugin, DiffOnTidyError. This plugin will call "diff -u" to
441 compare the original file content to the tidy version.
442
443
444 0.30 2015-09-14
445
446 - Added a --no-cleanup option for the tidyall script that causes it to leave
447 any tempdirs it creates behind. Implemented by Mark Fowler. GitHub #41.
448
449
450 0.29 2015-08-15
451
452 - Replaced use of Digest::SHA1 with Digest::SHA. The latter module has been
453 part of the Perl core since 5.10. Implemented by Sergey Romanov. GitHub #39.
454
455
456 0.28 2015-08-06
457
458 - The JSON plugin now uses JSON::MaybeXS instead of JSON.pm. Patch by Greg
459 Oschwald. GitHub #37.
460
461 - Added a new plugin, PerlTidySweet, which uses perltidy-sweet instead of
462 perltidy. Implemented by Mark Grimes. GitHub #26.
463
464
465 0.27 2015-07-04
466
467 [BUG FIXES]
468
469 - Fixed broken POD. Most modules were missing their NAME sections because of a
470 mistake in the distro's weaver.ini file. Reported by Красимир Беров.
471
472
473 0.26 2015-06-29
474
475 [BUG FIXES]
476
477 - The tidyall script did not handle the -I option correctly. It was treated as
478 a boolean rather than a string, meaning it basically ignored whatever you
479 passed. Fixed by Andy Jack. GH #35.
480
481 - The PodChecker plugin no longer generates warnings about an undef variable
482 if the file did not have any Pod.
483
484 - Added an option for the tidyall config file, shebang. This is an additional
485 filter that selects files based on the shebang line
486 (#!/bin/foo). Implemented by timgimyee. GH #25.
487
488
489 0.25 2015-03-31
490
491 [ENHANCEMENTS]
492
493 - You can now pass "verbose => 1" to tidyall_ok(). Previously this would have
494 been overridden because we unconditionally set "quiet => 1", but now we only
495 do this when verbose is not specified.
496
497 - Added a new "msg_outputter" attribute to Code::TidyAll. By default, this is
498 a sub that simply calls "printf", but you can pass something else to change
499 how messages are printed. Test::Code::TidyAll uses this to send messages
500 through diag().
501
502 - If you set "verbose => 1" when calling Test::Code::TidyAll, it will now use
503 Text::Diff::Table to show details of how a file needs to be tidied in order
504 to pass the tidyall checks.
505
506 - Made the PerlCritic plugin pass even if a critic module issues some
507 warnings. As long as perlcritic says "source OK", we want to treat that as a
508 pass, despite any warnings it may issue. Fixed by Mark Fowler.
509
510 - Made the caching model pluggable, and added a new
511 Code::TidyAll::CacheModel::Shared class as an alternative to the default
512 model. This lets you share the cache directory between multiple branches in
513 a single checkout while still detecting file changes properly. Implemented
514 by Mark Fowler.
515
516
517 0.24 2014-11-06
518
519 [WARNING FOR A FUTURE RELEASE]
520
521 - At some point in the future, it will probably be necessary for Code::TidyAll
522 to become aware of encodings on a per-file basis. As it stands right now,
523 any tidying plugin which reformats text could, in theory, end up splitting
524 up a UTF-8 character's bytes across at a line break.
525
526 [BUG FIXES]
527
528 - Replaced the use of Capture::Tiny with IPC::Run3 for some plugins. The
529 former seems to sometimes return character data where we want bytes, even if
530 the STDOUT and STDERR handles are binmode()'d to the ":bytes" encoding. This
531 prevents warnings about writing wide characters from the JSBeautify plugin.
532
533
534 0.23 2014-11-06
535
536 - Fix test failures seen on CPANTesters.
537
538
539 0.22 2014-11-05
540
541 [BUG FIXES]
542
543 * Removed the compile test added in the last release. Many plugin modules
544 won't compile unless optional prereqs are manually installed first (such as
545 Perl::Critic, Perl::Tidy, etc.).
546
547
548 0.21 2014-11-05
549
550 [ENHANCEMENTS]
551
552 * Test::Code::TidyAll now sets "quiet => 1" when creating the Code::TidyAll
553 object to suppress noise from any plugins.
554
555 * Test::Code::TidyAll now calls Test::More::diag() after test failures instead
556 of before.
557
558 [BUG FIXES]
559
560 * Lots of little doc tweaks and fixes.
561
562
563 0.20 2014-05-18
564
565 [BUG FIXES]
566
567 * Fix option handling implentation and documentation for
568 Test::Code::TidyAll::tidyall_ok -
569 https://github.com/jonswar/perl-code-tidyall/issues/18 (Olad Alders)
570
571
572 0.19 2014-03-06
573
574 [ENHANCEMENTS]
575
576 * Added a JSON plugin (Gregory Oschwald)
577
578
579 0.18 2013-09-21
580
581 [BUG FIXES]
582
583 * Fix Test::Code::TidyAll::tidyall_ok -
584 https://github.com/jonswar/perl-code-tidyall/issues/12 (Adam Taylor)
585
586 * Fix JSBeautify plugin as js-beautify no longer respects --replace
587
588
589 0.17 2013-03-11
590
591 [BACKWARDS INCOMPATIBILITIES]
592
593 * Rename API method process_files to more accurate process_paths
594
595 [BUG FIXES]
596
597 * Fix recursive processing of directories (Mark Risman)
598
599 * Improve git precommit setup script -
600 https://github.com/jonswar/perl-code-tidyall/pull/10 (Olaf Anders)
601
602
603 0.16 2012-10-22
604
605 [ENHANCEMENTS]
606
607 * Added phpcs plugin (Joseph Crotty)
608
609 * Added cssunminifier plugin
610
611 * Added SortLines plugin, for one-entry-per-line files like .gitignore
612
613
614 0.15 2012-10-11
615
616 [BUG FIXES]
617
618 * Fix test_dirs test to not rely on file ordering
619
620
621 0.14 2012-10-10
622
623 [ENHANCEMENTS]
624
625 * Allow a plugin to be listed multiple times in config with different
626 configuration
627
628 * Specify order that plugins run (tidiers before validators, then alpha) and
629 document that they are applied atomically
630
631 * Added etc/editors/tidyall.vim for Vim (Justin Devuyst)
632
633 * Added -r/--recursive flag to process directories recursively
634
635 * In -p/--pipe mode, mirror input to output in case of error (Justin Devuyst)
636
637 * Fix -l/--list handling of local files
638
639 * Added --version option
640
641 * Make git prereceive hook more modular, so it can be combined with other
642 checks
643
644
645 0.13 2012-09-30
646
647 [BUG FIXES]
648
649 * Adjust MasonTidy plugin for new API
650
651 * Remove Util.t containing only author-only tests
652
653
654 0.12 2012-09-27
655
656 [ENHANCEMENTS]
657
658 * Added podspell plugin (POD spell checker)
659
660 * Added --iterations flag to run tidier transforms multiple times
661
662 * Allow .tidyallrc as alternative to tidyall.ini
663
664 * Allow git prereceive hook to be bypassed by pushing an identical set of commits
665 several consecutive times (allow_repeated_push)
666
667 * Added handcrafted usage w/summary of options, instead of Pod::Usage
668
669
670 0.11 2012-09-21
671
672 [ENHANCEMENTS]
673
674 * Allow multiple select and ignore patterns, separated by whitespace or on separate lines
675
676 * Added -l/--list flag to show which plugins match which files
677
678 * Added conf_name parameter to specify name other than tidyall.ini
679
680 * Redirect stdout to stderr with -p/--pipe, so that stdout is dedicated to the tidied content
681
682 * In tidyall.el, hide error buffer on successful tidy
683
684 [BUG FIXES]
685
686 * Handle argv/config errors correctly in various plugins
687
688 * Eliminate double-printed error with -p/--pipe
689
690 * Allow relative paths to -p/--pipe
691
692
693 0.10 2012-09-12
694
695 [ENHANCEMENTS]
696
697 * Added masontidy plugin (Mason component tidier)
698
699 * Added jslint plugin (javascript validator)
700
701
702 0.09 2012-09-11
703
704 [BUG FIXES]
705
706 * Remove use of ex-dependency Hash::MoreUtils from bin/tidyall (Jason Wieland)
707
708 * Added IPC::System::Simple and Pod::Usage to deps (Jason Wieland)
709
710
711 0.08 2012-09-10
712
713 [ENHANCEMENTS]
714
715 * Added js-beautify plugin (javascript tidier)
716
717 * Added jshint plugin (javascript validator)
718
719 * Added podchecker plugin
720
721 * Added -p/--pipe flag to read from STDIN and write to STDOUT
722
723 * Allow tidyall.el to work in narrowed regions
724
725 * Make plugins into Moo classes, pass configuration as attributes
726
727 [BUG FIXES]
728
729 * Remove unused SVN::Look - perl-code-tidyall/pull/1 (Pedro Melo)
730
731 * Filter just files from git status in Code::TidyAll::Git::Precommit (Pedro Melo)
732
733
734 0.07 2012-09-05
735
736 [ENHANCEMENTS]
737
738 * Added git pre-receive hook (Code::TidyAll::Git::Prereceive)
739
740 [BUG FIXES]
741
742 * Show file paths with errors in quiet mode
743
744
745 0.06 2012-09-03
746
747 [ENHANCEMENTS]
748
749 * Added -g/--git flag and git pre-commit hook (Code::TidyAll::Git::Precommit)
750
751 [BUG FIXES]
752
753 * Omit directories from svn_uncommitted_files (--svn)
754
755
756 0.05 2012-08-21
757
758 [ENHANCEMENTS]
759
760 * Added etc/editors/tidyall.el for Emacs
761
762 * Only print 'no plugins apply' warning in verbose mode
763
764
765 0.04 2012-08-14
766
767 [ENHANCEMENTS]
768
769 * Added -s/--svn flag
770
771 * Added emergency_comment_prefix ("NO TIDYALL") to svn precommit hook
772
773 [BUG FIXES]
774
775 * Added back missing plugins
776
777 * Fix --check-only flag
778
779
780 0.03 2012-07-24
781
782 [ENHANCEMENTS]
783
784 * Added svn precommit hook (Code::TidyAll::SVN::Precommit)
785
786 * Added preprocess_source and postprocess_source to plugins
787
788 * Added only_modes and except_modes configuration for plugins
789
790 * Added Code::TidyAll::process_source(), for processing a string instead of a file
791
792 * When only specified files are being processed, don't scan the whole hierarchy
793
794 * Added -I flag to tidyall
795
796 [INTERNALS]
797
798 * Switch to Moo
799
800 * Added separate new_from_conf_file constructor, for cleaner separation of cases
801
802
803 0.02 2012-07-03
804
805 [ENHANCEMENTS]
806
807 * Added Test::Code::TidyAll, to test that a project is tidied
808
809 * Added prefilter and postfilter params, to be applied to code before and after processing
810
811 * Added --check-only option to check but not tidy
812
813 * Added --mode option and modes config entry, to activate only a subset of plugins in config
814
815 * Added --output-suffix to write file to a different destination
816
817 * Added --quiet option to suppress most output
818
819 * Added --tidyall-class option to specify a different Code::TidyAll subclass
820
821 * Document how to create new plugins in Code::Tidy::Plugin
822
823
824 0.01 2012-06-17
825
826 * Initial release
827