]> git.lizzy.rs Git - rust.git/blob - CHANGELOG.md
Merge pull request #955 from Manishearth/regexes
[rust.git] / CHANGELOG.md
1 # Change Log
2 All notable changes to this project will be documented in this file.
3
4 ## 0.0.70 — TBD
5 * [`invalid_regex`] and [`trivial_regex`] can now warn on `RegexSet::new`,
6   `RegexBuilder::new` and byte regexes
7
8 ## 0.0.69 — 2016-05-20
9 * Rustup to *rustc 1.10.0-nightly (476fe6eef 2016-05-21)*
10 * [`used_underscore_binding`] has been made `Allow` temporarily
11
12 ## 0.0.68 — 2016-05-17
13 * Rustup to *rustc 1.10.0-nightly (cd6a40017 2016-05-16)*
14 * New lint: [`unnecessary_operation`]
15
16 ## 0.0.67 — 2016-05-12
17 * Rustup to *rustc 1.10.0-nightly (22ac88f1a 2016-05-11)*
18
19 ## 0.0.66 — 2016-05-11
20 * New `cargo clippy` subcommand
21 * New lints: [`assign_op_pattern`], [`assign_ops`], [`needless_borrow`]
22
23 ## 0.0.65 — 2016-05-08
24 * Rustup to *rustc 1.10.0-nightly (62e2b2fb7 2016-05-06)*
25 * New lints: [`float_arithmetic`], [`integer_arithmetic`]
26
27 ## 0.0.64 — 2016-04-26
28 * Rustup to *rustc 1.10.0-nightly (645dd013a 2016-04-24)*
29 * New lints: [`temporary_cstring_as_ptr`], [`unsafe_removed_from_name`], and [`mem_forget`]
30
31 ## 0.0.63 — 2016-04-08
32 * Rustup to *rustc 1.9.0-nightly (7979dd608 2016-04-07)*
33
34 ## 0.0.62 — 2016-04-07
35 * Rustup to *rustc 1.9.0-nightly (bf5da36f1 2016-04-06)*
36
37 ## 0.0.61 — 2016-04-03
38 * Rustup to *rustc 1.9.0-nightly (5ab11d72c 2016-04-02)*
39 * New lint: [`invalid_upcast_comparisons`]
40
41 ## 0.0.60 — 2016-04-01
42 * Rustup to *rustc 1.9.0-nightly (e1195c24b 2016-03-31)*
43
44 ## 0.0.59 — 2016-03-31
45 * Rustup to *rustc 1.9.0-nightly (30a3849f2 2016-03-30)*
46 * New lints: [`logic_bug`], [`nonminimal_bool`]
47 * Fixed: [`match_same_arms`] now ignores arms with guards
48 * Improved: [`useless_vec`] now warns on `for … in vec![…]`
49
50 ## 0.0.58 — 2016-03-27
51 * Rustup to *rustc 1.9.0-nightly (d5a91e695 2016-03-26)*
52 * New lint: [`doc_markdown`]
53
54 ## 0.0.57 — 2016-03-27
55 * Update to *rustc 1.9.0-nightly (a1e29daf1 2016-03-25)*
56 * Deprecated lints: [`str_to_string`], [`string_to_string`], [`unstable_as_slice`], [`unstable_as_mut_slice`]
57 * New lint: [`crosspointer_transmute`]
58
59 ## 0.0.56 — 2016-03-23
60 * Update to *rustc 1.9.0-nightly (0dcc413e4 2016-03-22)*
61 * New lints: [`many_single_char_names`] and [`similar_names`]
62
63 ## 0.0.55 — 2016-03-21
64 * Update to *rustc 1.9.0-nightly (02310fd31 2016-03-19)*
65
66 ## 0.0.54 — 2016-03-16
67 * Update to *rustc 1.9.0-nightly (c66d2380a 2016-03-15)*
68
69 ## 0.0.53 — 2016-03-15
70 * Add a [configuration file]
71
72 ## ~~0.0.52~~
73
74 ## 0.0.51 — 2016-03-13
75 * Add `str` to types considered by `len_zero`
76 * New lints: [`indexing_slicing`]
77
78 ## 0.0.50 — 2016-03-11
79 * Update to *rustc 1.9.0-nightly (c9629d61c 2016-03-10)*
80
81 ## 0.0.49 — 2016-03-09
82 * Update to *rustc 1.9.0-nightly (eabfc160f 2016-03-08)*
83 * New lints: [`overflow_check_conditional`], [`unused_label`], [`new_without_default`]
84
85 ## 0.0.48 — 2016-03-07
86 * Fixed: ICE in [`needless_range_loop`] with globals
87
88 ## 0.0.47 — 2016-03-07
89 * Update to *rustc 1.9.0-nightly (998a6720b 2016-03-07)*
90 * New lint: [`redundant_closure_call`]
91
92 [configuration file]: ./rust-clippy#configuration
93
94 <!-- begin autogenerated links to wiki -->
95 [`absurd_extreme_comparisons`]: https://github.com/Manishearth/rust-clippy/wiki#absurd_extreme_comparisons
96 [`almost_swapped`]: https://github.com/Manishearth/rust-clippy/wiki#almost_swapped
97 [`approx_constant`]: https://github.com/Manishearth/rust-clippy/wiki#approx_constant
98 [`assign_op_pattern`]: https://github.com/Manishearth/rust-clippy/wiki#assign_op_pattern
99 [`assign_ops`]: https://github.com/Manishearth/rust-clippy/wiki#assign_ops
100 [`bad_bit_mask`]: https://github.com/Manishearth/rust-clippy/wiki#bad_bit_mask
101 [`blacklisted_name`]: https://github.com/Manishearth/rust-clippy/wiki#blacklisted_name
102 [`block_in_if_condition_expr`]: https://github.com/Manishearth/rust-clippy/wiki#block_in_if_condition_expr
103 [`block_in_if_condition_stmt`]: https://github.com/Manishearth/rust-clippy/wiki#block_in_if_condition_stmt
104 [`bool_comparison`]: https://github.com/Manishearth/rust-clippy/wiki#bool_comparison
105 [`box_vec`]: https://github.com/Manishearth/rust-clippy/wiki#box_vec
106 [`boxed_local`]: https://github.com/Manishearth/rust-clippy/wiki#boxed_local
107 [`cast_possible_truncation`]: https://github.com/Manishearth/rust-clippy/wiki#cast_possible_truncation
108 [`cast_possible_wrap`]: https://github.com/Manishearth/rust-clippy/wiki#cast_possible_wrap
109 [`cast_precision_loss`]: https://github.com/Manishearth/rust-clippy/wiki#cast_precision_loss
110 [`cast_sign_loss`]: https://github.com/Manishearth/rust-clippy/wiki#cast_sign_loss
111 [`char_lit_as_u8`]: https://github.com/Manishearth/rust-clippy/wiki#char_lit_as_u8
112 [`chars_next_cmp`]: https://github.com/Manishearth/rust-clippy/wiki#chars_next_cmp
113 [`clone_double_ref`]: https://github.com/Manishearth/rust-clippy/wiki#clone_double_ref
114 [`clone_on_copy`]: https://github.com/Manishearth/rust-clippy/wiki#clone_on_copy
115 [`cmp_nan`]: https://github.com/Manishearth/rust-clippy/wiki#cmp_nan
116 [`cmp_owned`]: https://github.com/Manishearth/rust-clippy/wiki#cmp_owned
117 [`collapsible_if`]: https://github.com/Manishearth/rust-clippy/wiki#collapsible_if
118 [`crosspointer_transmute`]: https://github.com/Manishearth/rust-clippy/wiki#crosspointer_transmute
119 [`cyclomatic_complexity`]: https://github.com/Manishearth/rust-clippy/wiki#cyclomatic_complexity
120 [`deprecated_semver`]: https://github.com/Manishearth/rust-clippy/wiki#deprecated_semver
121 [`derive_hash_xor_eq`]: https://github.com/Manishearth/rust-clippy/wiki#derive_hash_xor_eq
122 [`doc_markdown`]: https://github.com/Manishearth/rust-clippy/wiki#doc_markdown
123 [`drop_ref`]: https://github.com/Manishearth/rust-clippy/wiki#drop_ref
124 [`duplicate_underscore_argument`]: https://github.com/Manishearth/rust-clippy/wiki#duplicate_underscore_argument
125 [`empty_loop`]: https://github.com/Manishearth/rust-clippy/wiki#empty_loop
126 [`enum_clike_unportable_variant`]: https://github.com/Manishearth/rust-clippy/wiki#enum_clike_unportable_variant
127 [`enum_glob_use`]: https://github.com/Manishearth/rust-clippy/wiki#enum_glob_use
128 [`enum_variant_names`]: https://github.com/Manishearth/rust-clippy/wiki#enum_variant_names
129 [`eq_op`]: https://github.com/Manishearth/rust-clippy/wiki#eq_op
130 [`expl_impl_clone_on_copy`]: https://github.com/Manishearth/rust-clippy/wiki#expl_impl_clone_on_copy
131 [`explicit_counter_loop`]: https://github.com/Manishearth/rust-clippy/wiki#explicit_counter_loop
132 [`explicit_iter_loop`]: https://github.com/Manishearth/rust-clippy/wiki#explicit_iter_loop
133 [`extend_from_slice`]: https://github.com/Manishearth/rust-clippy/wiki#extend_from_slice
134 [`filter_next`]: https://github.com/Manishearth/rust-clippy/wiki#filter_next
135 [`float_arithmetic`]: https://github.com/Manishearth/rust-clippy/wiki#float_arithmetic
136 [`float_cmp`]: https://github.com/Manishearth/rust-clippy/wiki#float_cmp
137 [`for_kv_map`]: https://github.com/Manishearth/rust-clippy/wiki#for_kv_map
138 [`for_loop_over_option`]: https://github.com/Manishearth/rust-clippy/wiki#for_loop_over_option
139 [`for_loop_over_result`]: https://github.com/Manishearth/rust-clippy/wiki#for_loop_over_result
140 [`identity_op`]: https://github.com/Manishearth/rust-clippy/wiki#identity_op
141 [`if_not_else`]: https://github.com/Manishearth/rust-clippy/wiki#if_not_else
142 [`if_same_then_else`]: https://github.com/Manishearth/rust-clippy/wiki#if_same_then_else
143 [`ifs_same_cond`]: https://github.com/Manishearth/rust-clippy/wiki#ifs_same_cond
144 [`indexing_slicing`]: https://github.com/Manishearth/rust-clippy/wiki#indexing_slicing
145 [`ineffective_bit_mask`]: https://github.com/Manishearth/rust-clippy/wiki#ineffective_bit_mask
146 [`inline_always`]: https://github.com/Manishearth/rust-clippy/wiki#inline_always
147 [`integer_arithmetic`]: https://github.com/Manishearth/rust-clippy/wiki#integer_arithmetic
148 [`invalid_regex`]: https://github.com/Manishearth/rust-clippy/wiki#invalid_regex
149 [`invalid_upcast_comparisons`]: https://github.com/Manishearth/rust-clippy/wiki#invalid_upcast_comparisons
150 [`items_after_statements`]: https://github.com/Manishearth/rust-clippy/wiki#items_after_statements
151 [`iter_next_loop`]: https://github.com/Manishearth/rust-clippy/wiki#iter_next_loop
152 [`len_without_is_empty`]: https://github.com/Manishearth/rust-clippy/wiki#len_without_is_empty
153 [`len_zero`]: https://github.com/Manishearth/rust-clippy/wiki#len_zero
154 [`let_and_return`]: https://github.com/Manishearth/rust-clippy/wiki#let_and_return
155 [`let_unit_value`]: https://github.com/Manishearth/rust-clippy/wiki#let_unit_value
156 [`linkedlist`]: https://github.com/Manishearth/rust-clippy/wiki#linkedlist
157 [`logic_bug`]: https://github.com/Manishearth/rust-clippy/wiki#logic_bug
158 [`manual_swap`]: https://github.com/Manishearth/rust-clippy/wiki#manual_swap
159 [`many_single_char_names`]: https://github.com/Manishearth/rust-clippy/wiki#many_single_char_names
160 [`map_clone`]: https://github.com/Manishearth/rust-clippy/wiki#map_clone
161 [`map_entry`]: https://github.com/Manishearth/rust-clippy/wiki#map_entry
162 [`match_bool`]: https://github.com/Manishearth/rust-clippy/wiki#match_bool
163 [`match_overlapping_arm`]: https://github.com/Manishearth/rust-clippy/wiki#match_overlapping_arm
164 [`match_ref_pats`]: https://github.com/Manishearth/rust-clippy/wiki#match_ref_pats
165 [`match_same_arms`]: https://github.com/Manishearth/rust-clippy/wiki#match_same_arms
166 [`mem_forget`]: https://github.com/Manishearth/rust-clippy/wiki#mem_forget
167 [`min_max`]: https://github.com/Manishearth/rust-clippy/wiki#min_max
168 [`modulo_one`]: https://github.com/Manishearth/rust-clippy/wiki#modulo_one
169 [`mut_mut`]: https://github.com/Manishearth/rust-clippy/wiki#mut_mut
170 [`mutex_atomic`]: https://github.com/Manishearth/rust-clippy/wiki#mutex_atomic
171 [`mutex_integer`]: https://github.com/Manishearth/rust-clippy/wiki#mutex_integer
172 [`needless_bool`]: https://github.com/Manishearth/rust-clippy/wiki#needless_bool
173 [`needless_borrow`]: https://github.com/Manishearth/rust-clippy/wiki#needless_borrow
174 [`needless_lifetimes`]: https://github.com/Manishearth/rust-clippy/wiki#needless_lifetimes
175 [`needless_range_loop`]: https://github.com/Manishearth/rust-clippy/wiki#needless_range_loop
176 [`needless_return`]: https://github.com/Manishearth/rust-clippy/wiki#needless_return
177 [`needless_update`]: https://github.com/Manishearth/rust-clippy/wiki#needless_update
178 [`neg_multiply`]: https://github.com/Manishearth/rust-clippy/wiki#neg_multiply
179 [`new_ret_no_self`]: https://github.com/Manishearth/rust-clippy/wiki#new_ret_no_self
180 [`new_without_default`]: https://github.com/Manishearth/rust-clippy/wiki#new_without_default
181 [`new_without_default_derive`]: https://github.com/Manishearth/rust-clippy/wiki#new_without_default_derive
182 [`no_effect`]: https://github.com/Manishearth/rust-clippy/wiki#no_effect
183 [`non_ascii_literal`]: https://github.com/Manishearth/rust-clippy/wiki#non_ascii_literal
184 [`nonminimal_bool`]: https://github.com/Manishearth/rust-clippy/wiki#nonminimal_bool
185 [`nonsensical_open_options`]: https://github.com/Manishearth/rust-clippy/wiki#nonsensical_open_options
186 [`ok_expect`]: https://github.com/Manishearth/rust-clippy/wiki#ok_expect
187 [`option_map_unwrap_or`]: https://github.com/Manishearth/rust-clippy/wiki#option_map_unwrap_or
188 [`option_map_unwrap_or_else`]: https://github.com/Manishearth/rust-clippy/wiki#option_map_unwrap_or_else
189 [`option_unwrap_used`]: https://github.com/Manishearth/rust-clippy/wiki#option_unwrap_used
190 [`or_fun_call`]: https://github.com/Manishearth/rust-clippy/wiki#or_fun_call
191 [`out_of_bounds_indexing`]: https://github.com/Manishearth/rust-clippy/wiki#out_of_bounds_indexing
192 [`overflow_check_conditional`]: https://github.com/Manishearth/rust-clippy/wiki#overflow_check_conditional
193 [`panic_params`]: https://github.com/Manishearth/rust-clippy/wiki#panic_params
194 [`precedence`]: https://github.com/Manishearth/rust-clippy/wiki#precedence
195 [`print_stdout`]: https://github.com/Manishearth/rust-clippy/wiki#print_stdout
196 [`ptr_arg`]: https://github.com/Manishearth/rust-clippy/wiki#ptr_arg
197 [`range_step_by_zero`]: https://github.com/Manishearth/rust-clippy/wiki#range_step_by_zero
198 [`range_zip_with_len`]: https://github.com/Manishearth/rust-clippy/wiki#range_zip_with_len
199 [`redundant_closure`]: https://github.com/Manishearth/rust-clippy/wiki#redundant_closure
200 [`redundant_closure_call`]: https://github.com/Manishearth/rust-clippy/wiki#redundant_closure_call
201 [`redundant_pattern`]: https://github.com/Manishearth/rust-clippy/wiki#redundant_pattern
202 [`regex_macro`]: https://github.com/Manishearth/rust-clippy/wiki#regex_macro
203 [`result_unwrap_used`]: https://github.com/Manishearth/rust-clippy/wiki#result_unwrap_used
204 [`reverse_range_loop`]: https://github.com/Manishearth/rust-clippy/wiki#reverse_range_loop
205 [`search_is_some`]: https://github.com/Manishearth/rust-clippy/wiki#search_is_some
206 [`shadow_reuse`]: https://github.com/Manishearth/rust-clippy/wiki#shadow_reuse
207 [`shadow_same`]: https://github.com/Manishearth/rust-clippy/wiki#shadow_same
208 [`shadow_unrelated`]: https://github.com/Manishearth/rust-clippy/wiki#shadow_unrelated
209 [`should_implement_trait`]: https://github.com/Manishearth/rust-clippy/wiki#should_implement_trait
210 [`similar_names`]: https://github.com/Manishearth/rust-clippy/wiki#similar_names
211 [`single_char_pattern`]: https://github.com/Manishearth/rust-clippy/wiki#single_char_pattern
212 [`single_match`]: https://github.com/Manishearth/rust-clippy/wiki#single_match
213 [`single_match_else`]: https://github.com/Manishearth/rust-clippy/wiki#single_match_else
214 [`str_to_string`]: https://github.com/Manishearth/rust-clippy/wiki#str_to_string
215 [`string_add`]: https://github.com/Manishearth/rust-clippy/wiki#string_add
216 [`string_add_assign`]: https://github.com/Manishearth/rust-clippy/wiki#string_add_assign
217 [`string_lit_as_bytes`]: https://github.com/Manishearth/rust-clippy/wiki#string_lit_as_bytes
218 [`string_to_string`]: https://github.com/Manishearth/rust-clippy/wiki#string_to_string
219 [`suspicious_assignment_formatting`]: https://github.com/Manishearth/rust-clippy/wiki#suspicious_assignment_formatting
220 [`suspicious_else_formatting`]: https://github.com/Manishearth/rust-clippy/wiki#suspicious_else_formatting
221 [`temporary_assignment`]: https://github.com/Manishearth/rust-clippy/wiki#temporary_assignment
222 [`temporary_cstring_as_ptr`]: https://github.com/Manishearth/rust-clippy/wiki#temporary_cstring_as_ptr
223 [`too_many_arguments`]: https://github.com/Manishearth/rust-clippy/wiki#too_many_arguments
224 [`toplevel_ref_arg`]: https://github.com/Manishearth/rust-clippy/wiki#toplevel_ref_arg
225 [`transmute_ptr_to_ref`]: https://github.com/Manishearth/rust-clippy/wiki#transmute_ptr_to_ref
226 [`trivial_regex`]: https://github.com/Manishearth/rust-clippy/wiki#trivial_regex
227 [`type_complexity`]: https://github.com/Manishearth/rust-clippy/wiki#type_complexity
228 [`unicode_not_nfc`]: https://github.com/Manishearth/rust-clippy/wiki#unicode_not_nfc
229 [`unit_cmp`]: https://github.com/Manishearth/rust-clippy/wiki#unit_cmp
230 [`unnecessary_mut_passed`]: https://github.com/Manishearth/rust-clippy/wiki#unnecessary_mut_passed
231 [`unnecessary_operation`]: https://github.com/Manishearth/rust-clippy/wiki#unnecessary_operation
232 [`unneeded_field_pattern`]: https://github.com/Manishearth/rust-clippy/wiki#unneeded_field_pattern
233 [`unsafe_removed_from_name`]: https://github.com/Manishearth/rust-clippy/wiki#unsafe_removed_from_name
234 [`unstable_as_mut_slice`]: https://github.com/Manishearth/rust-clippy/wiki#unstable_as_mut_slice
235 [`unstable_as_slice`]: https://github.com/Manishearth/rust-clippy/wiki#unstable_as_slice
236 [`unused_collect`]: https://github.com/Manishearth/rust-clippy/wiki#unused_collect
237 [`unused_label`]: https://github.com/Manishearth/rust-clippy/wiki#unused_label
238 [`unused_lifetimes`]: https://github.com/Manishearth/rust-clippy/wiki#unused_lifetimes
239 [`use_debug`]: https://github.com/Manishearth/rust-clippy/wiki#use_debug
240 [`used_underscore_binding`]: https://github.com/Manishearth/rust-clippy/wiki#used_underscore_binding
241 [`useless_format`]: https://github.com/Manishearth/rust-clippy/wiki#useless_format
242 [`useless_transmute`]: https://github.com/Manishearth/rust-clippy/wiki#useless_transmute
243 [`useless_vec`]: https://github.com/Manishearth/rust-clippy/wiki#useless_vec
244 [`while_let_loop`]: https://github.com/Manishearth/rust-clippy/wiki#while_let_loop
245 [`while_let_on_iterator`]: https://github.com/Manishearth/rust-clippy/wiki#while_let_on_iterator
246 [`wrong_pub_self_convention`]: https://github.com/Manishearth/rust-clippy/wiki#wrong_pub_self_convention
247 [`wrong_self_convention`]: https://github.com/Manishearth/rust-clippy/wiki#wrong_self_convention
248 [`zero_divided_by_zero`]: https://github.com/Manishearth/rust-clippy/wiki#zero_divided_by_zero
249 [`zero_width_space`]: https://github.com/Manishearth/rust-clippy/wiki#zero_width_space
250 <!-- end autogenerated links to wiki -->