Bill Wendling | dcafd5f | 2015-09-12 15:26:03 -0700 | [diff] [blame] | 1 | # 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 Wendling | c87690c | 2015-10-11 16:45:21 -0700 | [diff] [blame^] | 5 | ## [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 Wendling | 2aff7fc | 2015-10-11 14:08:10 -0700 | [diff] [blame] | 11 | ## [0.5.0] 2015-10-11 |
Bill Wendling | d03c99f | 2015-10-08 21:06:07 -0700 | [diff] [blame] | 12 | ### Added |
| 13 | - Add option to exclude files/directories from formatting. |
Bill Wendling | 5c60873 | 2015-10-10 23:39:16 -0700 | [diff] [blame] | 14 | - Add a knob to control whether import names are split after the first '('. |
Bill Wendling | d03c99f | 2015-10-08 21:06:07 -0700 | [diff] [blame] | 15 | |
Bill Wendling | a7e3f50 | 2015-10-08 00:23:40 -0700 | [diff] [blame] | 16 | ### Fixed |
| 17 | - Indent the continuation of an if-then statement when it's not distinguished |
| 18 | from the body of the if-then. |
Bill Wendling | 1ce18c7 | 2015-10-10 23:12:16 -0700 | [diff] [blame] | 19 | - Allow for sensible splitting of array indices where appropriate. |
Bill Wendling | be974d8 | 2015-10-11 01:04:00 -0700 | [diff] [blame] | 20 | - Prefer to not split before the ending bracket of an atom. This produces |
| 21 | better code in most cases. |
Bill Wendling | bbd148c | 2015-10-11 01:45:24 -0700 | [diff] [blame] | 22 | - Corrected how horizontal spaces were presevered in a disabled region. |
Bill Wendling | a7e3f50 | 2015-10-08 00:23:40 -0700 | [diff] [blame] | 23 | |
Bill Wendling | 967c3b2 | 2015-10-07 22:20:18 -0700 | [diff] [blame] | 24 | ## [0.4.0] 2015-10-07 |
Ćukasz Langa | 9408987 | 2015-09-22 16:02:26 -0700 | [diff] [blame] | 25 | ### Added |
| 26 | - Support for dedenting closing brackets, "facebook" style. |
| 27 | |
Bill Wendling | 25c8e60 | 2015-10-04 20:48:35 -0700 | [diff] [blame] | 28 | ### Fixed |
| 29 | - Formatting of tokens after a multiline string didn't retain their horizontal |
| 30 | spacing. |
| 31 | |
Bill Wendling | 06865ab | 2015-09-30 01:25:47 -0700 | [diff] [blame] | 32 | ## [0.3.1] 2015-09-30 |
| 33 | ### Fixed |
| 34 | - Format closing scope bracket correctly when indentation size changes. |
| 35 | |
Bill Wendling | a690a62 | 2015-09-20 12:38:50 -0700 | [diff] [blame] | 36 | ## [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 Wendling | 9adfa0c | 2015-09-13 05:37:30 -0700 | [diff] [blame] | 44 | ## [0.2.9] - 2015-09-13 |
| 45 | ### Fixed |
| 46 | - Formatting of multiple files. It was halting after formatting the first file. |
| 47 | |
Bill Wendling | dcafd5f | 2015-09-12 15:26:03 -0700 | [diff] [blame] | 48 | ## [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. |