1 | # Change Log
|
2 |
|
3 | All notable changes to this project will be documented in this file.
|
4 |
|
5 | The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
6 | and this project adheres to [Semantic Versioning](http://semver.org/).
|
7 |
|
8 | ## [Unreleased]
|
9 |
|
10 | ## [v4.6.0] - 2018-06-12
|
11 |
|
12 | ### Added
|
13 |
|
14 | * New rule `no-array-mutation`. See [#74](https://github.com/jonaskello/tslint-immutable/issues/74). Thanks to [@RebeccaStevens](https://github.com/RebeccaStevens) for adding this rule! (See PR [#84](https://github.com/jonaskello/tslint-immutable/pull/84))
|
15 |
|
16 | ## [v4.5.3] - 2018-03-31
|
17 |
|
18 | ### Fixed
|
19 |
|
20 | * `readonly-array` fixer does not work for arrays with nested template type. See [#24](https://github.com/jonaskello/tslint-immutable/issues/24). Thanks to [@geon](https://github.com/geon) for fixing this longstanding bug! (See PR [#78](https://github.com/jonaskello/tslint-immutable/pull/78))
|
21 |
|
22 | ## [v4.5.2] - 2018-02-27
|
23 |
|
24 | ### Fixed
|
25 |
|
26 | * Ignore await when checking `ignore-prefix` in `no-expression-statement`. See [#76](https://github.com/jonaskello/tslint-immutable/issues/76).
|
27 |
|
28 | * `no-class` does not catch class expressions. See [#65](https://github.com/jonaskello/tslint-immutable/issues/65). Thanks to [@ianbollinger](https://github.com/ianbollinger) for this fix! (See PR [#70](https://github.com/jonaskello/tslint-immutable/pull/70))
|
29 |
|
30 | ## [v4.5.1] - 2018-01-16
|
31 |
|
32 | ### Fixed
|
33 |
|
34 | * `no-mixed-interface` does not understand arrow function notation. See [#62](https://github.com/jonaskello/tslint-immutable/issues/62). Thanks to [@geon](https://github.com/geon) for this fix! (See PR [#63](https://github.com/jonaskello/tslint-immutable/pull/63))
|
35 |
|
36 | ## [v4.5.0] - 2017-12-29
|
37 |
|
38 | ### Added
|
39 |
|
40 | * New options `ignore-interface`, and `ignore-class` for the `readonly-keyword` rule. See [#44](https://github.com/jonaskello/tslint-immutable/issues/44) for background. Thanks to [@aboyton](https://github.com/aboyton) for these options! (See PR [#57](https://github.com/jonaskello/tslint-immutable/pull/57))
|
41 |
|
42 | * The `ignore-prefix` option can be an array for all rules (previously just for `no-expression-statement` and `no-object-mutation`).
|
43 |
|
44 | * New rule `no-delete`. See [readme](https://github.com/jonaskello/tslint-immutable#no-delete) for more info.
|
45 |
|
46 | * New rule `no-if-statement`. See [readme](https://github.com/jonaskello/tslint-immutable#no-if-statement) for more info and [#54](https://github.com/jonaskello/tslint-immutable/issues/54) for discussion.
|
47 |
|
48 | * New rule `no-loop-statement`. See [readme](https://github.com/jonaskello/tslint-immutable#no-loop-statement) for more info and [#54](https://github.com/jonaskello/tslint-immutable/issues/54) for discussion.
|
49 |
|
50 | ### Fixed
|
51 |
|
52 | * `no-mixed-interface` does not understand arrow function notation. See [#60](https://github.com/jonaskello/tslint-immutable/issues/60).
|
53 |
|
54 | ## [v4.4.0] - 2017-09-27
|
55 |
|
56 | ### Added
|
57 |
|
58 | * New option `ignore-prefix` for the `no-object-mutation` rule. See [#43](https://github.com/jonaskello/tslint-immutable/issues/43) for background. Thanks to [@miangraham](https://github.com/miangraham) for this option! (See PR [#53](https://github.com/jonaskello/tslint-immutable/pull/53))
|
59 |
|
60 | ## [v4.3.0] - 2017-09-23
|
61 |
|
62 | ### Fixed
|
63 |
|
64 | * The readonly-keyword rule now properly checks for `readonly` modifier of `class` property declarations. See [#49](https://github.com/jonaskello/tslint-immutable/issues/49) and PR [#50](https://github.com/jonaskello/tslint-immutable/pull/50).
|
65 |
|
66 | ### Added
|
67 |
|
68 | * New rule [no-method-signature](https://github.com/jonaskello/tslint-immutable#no-method-signature). See [#30](https://github.com/jonaskello/tslint-immutable/issues/30) and PR in [#51](https://github.com/jonaskello/tslint-immutable/pull/51).
|
69 | * New options `ignore-local`, and `ignore-prefix` for the `no-let` rule. See [#32](https://github.com/jonaskello/tslint-immutable/issues/32), also requested in [#43](https://github.com/jonaskello/tslint-immutable/issues/43). See PR [#48](https://github.com/jonaskello/tslint-immutable/pull/48).
|
70 | * Added tslint core rule [no-parameter-reassignment](https://palantir.github.io/tslint/rules/no-parameter-reassignment/) as [recommended](https://github.com/jonaskello/tslint-immutable#no-parameter-reassignment) in the README.
|
71 |
|
72 | ## [v4.2.1] - 2017-09-21
|
73 |
|
74 | ### Fixed
|
75 |
|
76 | * The readonly-array rule with ignore-local option does not work within `class`. See [45](https://github.com/jonaskello/tslint-immutable/issues/45).
|
77 |
|
78 | ## [v4.2.0] - 2017-09-14
|
79 |
|
80 | ### Added
|
81 |
|
82 | * New option `ignore-prefix` for the `no-expression-statement` rule. See [#39](https://github.com/jonaskello/tslint-immutable/issues/39) for background. Thanks to [@algesten](https://github.com/algesten) for this option! (See PR [#42](https://github.com/jonaskello/tslint-immutable/pull/42))
|
83 |
|
84 | ## [v4.1.0] - 2017-08-21
|
85 |
|
86 | ### Added
|
87 |
|
88 | * New rule `no-object-mutation`. See [#36](https://github.com/jonaskello/tslint-immutable/issues/36) for background. Thanks to [@miangraham](https://github.com/miangraham) for this rule! (See PR [#37](https://github.com/jonaskello/tslint-immutable/pull/37))
|
89 |
|
90 | ## [v4.0.2] - 2017-07-16
|
91 |
|
92 | ### Added
|
93 |
|
94 | * Added an index.js file to the rules directory in order for rulesDirectory to work. See [#35](https://github.com/jonaskello/tslint-immutable/issues/35).
|
95 |
|
96 | ## [v4.0.1] - 2017-06-06
|
97 |
|
98 | ### Fixed
|
99 |
|
100 | * Invalid default tslint config (it included the removed rules).
|
101 |
|
102 | ## [v4.0.0] - 2017-06-06
|
103 |
|
104 | ### Removed
|
105 |
|
106 | * `readonly-interface` rule. This rule is replaced by the `readonly-keyword` rule.
|
107 | * `readonly-indexer` rule. This rule is replaced by the `readonly-keyword` rule.
|
108 | * `no-new` rule. Please see background in [#2](https://github.com/jonaskello/tslint-immutable/issues/2).
|
109 | * `no-arguments` rule. This rule has been moved to the [tslint-divid](https://www.npmjs.com/package/tslint-divid) package.
|
110 | * `no-label` rule. This rule has been moved to the [tslint-divid](https://www.npmjs.com/package/tslint-divid) package.
|
111 | * `no-semicolon-interface` rule. This rule has been moved to the [tslint-divid](https://www.npmjs.com/package/tslint-divid) package.
|
112 | * `import-containment` rule. This rule has been moved to the [tslint-divid](https://www.npmjs.com/package/tslint-divid) package.
|
113 |
|
114 | ## [v3.4.2] - 2017-05-14
|
115 |
|
116 | ### Added
|
117 |
|
118 | * Notice in readme about deprecrating the `no-new` rule.
|
119 |
|
120 | ### Deprecated
|
121 |
|
122 | * The `no-new` rule. See [#2](https://github.com/jonaskello/tslint-immutable/issues/2) for background.
|
123 |
|
124 | ## [v3.4.1] - 2017-05-14
|
125 |
|
126 | ### Added
|
127 |
|
128 | * Note in readme about moving the "other" rules. The `no-argument`, `no-label`, `no-semicolon-interface`, and `import containtment` rules are moving to [tslint-divid](https://github.com/jonaskello/tslint-divid). See [#19](https://github.com/jonaskello/tslint-immutable/issues/19) for more information.
|
129 |
|
130 | ### Deprecated
|
131 |
|
132 | * The `no-argument`, `no-label`, `no-semicolon-interface`, and `import containtment` rules as noted above.
|
133 |
|
134 | ## [v3.4.0] - 2017-05-14
|
135 |
|
136 | ### Added
|
137 |
|
138 | * New rule `readonly-keyword`, to replace `readonly-interface` and `readonly-indexer` [#31](https://github.com/jonaskello/tslint-immutable/issues/31)
|
139 |
|
140 | ### Deprecated
|
141 |
|
142 | * The `readonly-interface`, and `readonly-indexer` rules are deprecated and will be removed in the next major release. Please use the `readonly-keyword` rule instead.
|
143 |
|
144 | ## [v3.3.2] - 2017-05-13
|
145 |
|
146 | ### Fixed
|
147 |
|
148 | * Functions in interfaces cannot have readonly specified but are still checked [#28](https://github.com/jonaskello/tslint-immutable/issues/28)
|
149 |
|
150 | ## [v3.3.1] - 2017-05-09
|
151 |
|
152 | ### Fixed
|
153 |
|
154 | * patch: fix main file in package.json. Thanks to [@yonbeastie](https://github.com/yonbeastie). (see [#29](https://github.com/jonaskello/tslint-immutable/pull/29))
|
155 |
|
156 | ## [v3.3.0] - 2017-05-09
|
157 |
|
158 | ### Fixed
|
159 |
|
160 | * ignore-local does not work for function assigned to const [#23](https://github.com/jonaskello/tslint-immutable/issues/23)
|
161 |
|
162 | ### Added
|
163 |
|
164 | * Add default tslint json. Thanks to [@yonbeastie](https://github.com/yonbeastie). (see [#26](https://github.com/jonaskello/tslint-immutable/pull/26))
|
165 |
|
166 | ## [v3.2.0] - 2017-04-10
|
167 |
|
168 | ### Fixed
|
169 |
|
170 | * readonly-array does not check shorthand syntax in return types with ignore-local option [#21](https://github.com/jonaskello/tslint-immutable/issues/21)
|
171 |
|
172 | ### Added
|
173 |
|
174 | * Fixer for the `readonly-array` rule.
|
175 |
|
176 | ## [v3.1.2] - 2017-04-09
|
177 |
|
178 | ### Fixed
|
179 |
|
180 | * readonly-array does not check return type when ignore-local is enabled [#16](https://github.com/jonaskello/tslint-immutable/issues/16)
|
181 | * readonly-array does not check shorthand syntax [#20](https://github.com/jonaskello/tslint-immutable/issues/20).
|
182 |
|
183 | ## Changed
|
184 |
|
185 | * Impicit return type is not checked in readonly-array [#18](https://github.com/jonaskello/tslint-immutable/issues/18).
|
186 |
|
187 | ## [v3.1.1] - 2017-04-05
|
188 |
|
189 | ### Fixed
|
190 |
|
191 | * Function parameters are not checked when using ignore-local option, [#13](https://github.com/jonaskello/tslint-immutable/issues/13).
|
192 | * Implicit Array type by default value for function parameter is not checked, [#14](https://github.com/jonaskello/tslint-immutable/issues/14).
|
193 |
|
194 | ## [v3.1.0] - 2017-04-05
|
195 |
|
196 | ### Added
|
197 |
|
198 | * [`ignore-local`](https://github.com/jonaskello/tslint-immutable#using-the-ignore-local-option) option added to `readonly-array`.
|
199 | * [`ignore-prefix`](https://github.com/jonaskello/tslint-immutable#using-the-ignore-local-option) option added to `readonly-array`.
|
200 |
|
201 | ## [v3.0.0] - 2017-04-02
|
202 |
|
203 | ### Changed
|
204 |
|
205 | * Upgraded to tslint 5.0.0
|
206 |
|
207 | ### Added
|
208 |
|
209 | * `readonly-array` now also checks for implicity declared mutable arrays.
|
210 |
|
211 | ## [v2.1.1] - 2017-03-29
|
212 |
|
213 | ### Fixed
|
214 |
|
215 | * Remove vestigial `noMutationRule.js` and `no-mutation` example from README, thanks to [@pmlamotte](https://github.com/pmlamotte). (see [#6](https://github.com/jonaskello/tslint-immutable/pull/6))
|
216 |
|
217 | ## [v2.1.0] - 2016-12-12
|
218 |
|
219 | ### Added
|
220 |
|
221 | * `readonly-indexer` rule.
|
222 |
|
223 | ### Fixed
|
224 |
|
225 | * Fixed a bug in `readonly-interface` rule that made it fail on indexer declarations.
|
226 |
|
227 | ## [v2.0.0] - 2016-12-12
|
228 |
|
229 | ### Added
|
230 |
|
231 | * `readonly-interface` rule.
|
232 | * `readonly-indexer` rule.
|
233 | * `readonly-array` rule.
|
234 | * `no-class` rule.
|
235 | * `no-new` rule.
|
236 | * `no-mixed-interface` rule.
|
237 | * `import-containment` rule.
|
238 | * `no-arguments` rule.
|
239 | * `no-label` rule.
|
240 | * `no-semicolon-interface` rule.
|
241 |
|
242 | ### Removed
|
243 |
|
244 | * `no-mutation` rule (replaced by the `readonly-interface` rule).
|
245 |
|
246 | ## v1.0.0 - 2016-12-10
|
247 |
|
248 | ### Added
|
249 |
|
250 | * `no-expression-statement` rule.
|
251 | * `no-let` rule.
|
252 | * `no-mutation` rule.
|
253 | * `no-this` rule.
|
254 |
|
255 | [unreleased]: https://github.com/jonaskello/tslint-immutable/compare/v4.6.0...master
|
256 | [v4.6.0]: https://github.com/jonaskello/tslint-immutable/compare/v4.5.3...v4.6.0
|
257 | [v4.5.3]: https://github.com/jonaskello/tslint-immutable/compare/v4.5.2...v4.5.3
|
258 | [v4.5.2]: https://github.com/jonaskello/tslint-immutable/compare/v4.5.1...v4.5.2
|
259 | [v4.5.1]: https://github.com/jonaskello/tslint-immutable/compare/v4.5.0...v4.5.1
|
260 | [v4.5.0]: https://github.com/jonaskello/tslint-immutable/compare/v4.4.0...v4.5.0
|
261 | [v4.4.0]: https://github.com/jonaskello/tslint-immutable/compare/v4.3.0...v4.4.0
|
262 | [v4.3.0]: https://github.com/jonaskello/tslint-immutable/compare/v4.2.1...v4.3.0
|
263 | [v4.2.1]: https://github.com/jonaskello/tslint-immutable/compare/v4.2.0...v4.2.1
|
264 | [v4.2.0]: https://github.com/jonaskello/tslint-immutable/compare/v4.1.0...v4.2.0
|
265 | [v4.1.0]: https://github.com/jonaskello/tslint-immutable/compare/v4.0.2...v4.1.0
|
266 | [v4.0.2]: https://github.com/jonaskello/tslint-immutable/compare/v4.0.1...v4.0.2
|
267 | [v4.0.1]: https://github.com/jonaskello/tslint-immutable/compare/v4.0.0...v4.0.1
|
268 | [v4.0.0]: https://github.com/jonaskello/tslint-immutable/compare/v3.4.2...v4.0.0
|
269 | [v3.4.2]: https://github.com/jonaskello/tslint-immutable/compare/v3.4.1...v3.4.2
|
270 | [v3.4.1]: https://github.com/jonaskello/tslint-immutable/compare/v3.4.0...v3.4.1
|
271 | [v3.4.0]: https://github.com/jonaskello/tslint-immutable/compare/v3.3.2...v3.4.0
|
272 | [v3.3.2]: https://github.com/jonaskello/tslint-immutable/compare/v3.3.1...v3.3.2
|
273 | [v3.3.1]: https://github.com/jonaskello/tslint-immutable/compare/v3.3.0...v3.3.1
|
274 | [v3.3.0]: https://github.com/jonaskello/tslint-immutable/compare/v3.2.0...v3.3.0
|
275 | [v3.2.0]: https://github.com/jonaskello/tslint-immutable/compare/v3.1.2...v3.2.0
|
276 | [v3.1.2]: https://github.com/jonaskello/tslint-immutable/compare/v3.1.1...v3.1.2
|
277 | [v3.1.1]: https://github.com/jonaskello/tslint-immutable/compare/v3.1.0...v3.1.1
|
278 | [v3.1.0]: https://github.com/jonaskello/tslint-immutable/compare/v3.0.0...v3.1.0
|
279 | [v3.0.0]: https://github.com/jonaskello/tslint-immutable/compare/v2.1.1...v3.0.0
|
280 | [v2.1.2]: https://github.com/jonaskello/tslint-immutable/compare/v2.1.1...v2.1.2
|
281 | [v2.1.1]: https://github.com/jonaskello/tslint-immutable/compare/v2.1.0...v2.1.1
|
282 | [v2.1.0]: https://github.com/jonaskello/tslint-immutable/compare/v2.0.0...v2.1.0
|
283 | [v2.0.0]: https://github.com/jonaskello/tslint-immutable/compare/v1.0.0...v2.0.0
|