blob: 3a2d9db2aef6b6d2367d5535f4c69d554d4e2f35 [file] [log] [blame]
Bill Wendlingdcafd5f2015-09-12 15:26:03 -07001# Change Log
2# All notable changes to this project will be documented in this file.
3# This project adheres to [Semantic Versioning](http://semver.org/).
4
Bill Wendlingc87690c2015-10-11 16:45:21 -07005## [0.5.1] UNRELEASED
6### Fixed
7- When determining if we should split a dictionary's value to a new line, use
8 the longest entry instead of the total dictionary's length. This allows the
9 formatter to reformat the dictionary in a more consistent manner.
10
Bill Wendling2aff7fc2015-10-11 14:08:10 -070011## [0.5.0] 2015-10-11
Bill Wendlingd03c99f2015-10-08 21:06:07 -070012### Added
13- Add option to exclude files/directories from formatting.
Bill Wendling5c608732015-10-10 23:39:16 -070014- Add a knob to control whether import names are split after the first '('.
Bill Wendlingd03c99f2015-10-08 21:06:07 -070015
Bill Wendlinga7e3f502015-10-08 00:23:40 -070016### Fixed
17- Indent the continuation of an if-then statement when it's not distinguished
18 from the body of the if-then.
Bill Wendling1ce18c72015-10-10 23:12:16 -070019- Allow for sensible splitting of array indices where appropriate.
Bill Wendlingbe974d82015-10-11 01:04:00 -070020- Prefer to not split before the ending bracket of an atom. This produces
21 better code in most cases.
Bill Wendlingbbd148c2015-10-11 01:45:24 -070022- Corrected how horizontal spaces were presevered in a disabled region.
Bill Wendlinga7e3f502015-10-08 00:23:40 -070023
Bill Wendling967c3b22015-10-07 22:20:18 -070024## [0.4.0] 2015-10-07
Ɓukasz Langa94089872015-09-22 16:02:26 -070025### Added
26- Support for dedenting closing brackets, "facebook" style.
27
Bill Wendling25c8e602015-10-04 20:48:35 -070028### Fixed
29- Formatting of tokens after a multiline string didn't retain their horizontal
30 spacing.
31
Bill Wendling06865ab2015-09-30 01:25:47 -070032## [0.3.1] 2015-09-30
33### Fixed
34- Format closing scope bracket correctly when indentation size changes.
35
Bill Wendlinga690a622015-09-20 12:38:50 -070036## [0.3.0] 2015-09-20
37### Added
38- Return a 2 if the source changed, 1 on error, and 0 for no change.
39
40### Fixed
41- Make sure we format if the "lines" specified are in the middle of a
42 statement.
43
Bill Wendling9adfa0c2015-09-13 05:37:30 -070044## [0.2.9] - 2015-09-13
45### Fixed
46- Formatting of multiple files. It was halting after formatting the first file.
47
Bill Wendlingdcafd5f2015-09-12 15:26:03 -070048## [0.2.8] - 2015-09-12
49### Added
50- Return a non-zero exit code if the source was changed.
51- Add bitwise operator splitting penalty and prefer to split before bitwise
52 operators.
53
54### Fixed
55- Retain vertical spacing between disabled and enabled lines.
56- Split only at start of named assign.
57- Retain comment position when formatting is disabled.
58- Honor splitting before or after logical ops.