Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 301 lines (248 sloc) 16.337 kb
de29633 Rafael Mendonça França Now the horizon is 2.1.0
rafaelfranca authored
1 ## 2.1.0.dev
2
79ad67d Rafael Mendonça França Release the SimpleForm 2.0.3 :heart:
rafaelfranca authored
3 ## 2.0.3
6d4af55 Rafael Mendonça França Update CHANGELOG
rafaelfranca authored
4
5 ### enhancements
44f1301 Vasiliy Ermolovich update CHANGELOG
nashby authored
6 * Allow to specify custom wrappers for input types.
7 ([@nashby](https://github.com/nashby))
8 Closes [#636](https://github.com/plataformatec/simple_form/issues/636)
6d4af55 Rafael Mendonça França Update CHANGELOG
rafaelfranca authored
9 * Use separate config file to do bootstrap specific configuration.
10 ([@nashby](https://github.com/nashby))
11
12 ### bug fix
95141eb Vasiliy Ermolovich update CHANGELOG
nashby authored
13 * Allow to specify checked and uncked values for boolean input
14 ([@nashby](https://github.com/nashby)).
cb64b80 Vasiliy Ermolovich fix CHANGELOG
nashby authored
15 Closes [#643](https://github.com/plataformatec/simple_form/issues/643)
82c0a52 Rafael Mendonça França Update CHANGELOG
rafaelfranca authored
16 * Allow to add additional classes only for wrapper.
17 ([@nashby](https://github.com/nashby)).
18 Closes [#629](https://github.com/plataformatec/simple_form/issues/629)
6d4af55 Rafael Mendonça França Update CHANGELOG
rafaelfranca authored
19 * Boolean hidden field now respects `:name` attribute when nested.
20 ([@amiel](https://github.com/amiel)).
21 Closes [#619](https://github.com/plataformatec/simple_form/issues/619)
22 * Prevent generation of `class=""`. ([@pkmiec](https://github.com/pkmiec))
23 * Fix namespace html propagation to single wrapper of `label` and `input`
ce8e96d Vasiliy Ermolovich fix typo in changelog
nashby authored
24 * Association creates blank select if `:collection` is `nil`.
6d4af55 Rafael Mendonça França Update CHANGELOG
rafaelfranca authored
25 ([@nashby](https://github.com/nashby)).
26 Closes [#595](https://github.com/plataformatec/simple_form/issues/595)
27 * Fix readonly attribute check. ([@retoo](https://github.com/retoo))
28 * Fix error when `collection_check_boxes` used with `form_for` instead of `simple_form_for`.
29 ([@RohanM](https://github.com/RohanM))
30 * Ensure ActionView::Base.field_error_proc is preserved when exceptions occur within
31 `with_simple_form_field_error_proc`.
32 ([@jim](https://github.com/jim))
33 * Handle array of strings in `:checked` option.
34 ([@nashby](https://github.com/nashby))
35
30ca27d Rafael Mendonça França Release 2.0.2 :star2::green_heart::star2:
rafaelfranca authored
36 ## 2.0.2
10592d3 Rafael Mendonça França Fix CHANGELOG
rafaelfranca authored
37
38 ### enhancements
30ca27d Rafael Mendonça França Release 2.0.2 :star2::green_heart::star2:
rafaelfranca authored
39 * Add `:inline_label` option to nested booleans to display text inline with checkbox.
40 If the value is `true` it uses the default label text. ([@ehoch](https://github.com/ehoch))
3143e3f Rafael Mendonça França CHANGELOG
rafaelfranca authored
41 * Add html support for hints. ([@findrails](https://github.com/findrails))
7c1aa0e Carlos Antonio da Silva Changelog [ci skip]
carlosantoniodasilva authored
42
43 ### bug fix
44 * Fix `min_max` component to not output maximum value. ([@julian7](https://github.com/julian7)).
45 Closes [#483](https://github.com/plataformatec/simple_form/issues/483)
3143e3f Rafael Mendonça França CHANGELOG
rafaelfranca authored
46 * Remove leading and trailing whitespace from `label_text`.
ec83447 Rafael Mendonça França Remove leading and trailing whitespace from label_text
rafaelfranca authored
47 Closes [#492](https://github.com/plataformatec/simple_form/issues/492)
3143e3f Rafael Mendonça França CHANGELOG
rafaelfranca authored
48 * Fix checked radio button issue when value is false. ([@georgehemmings](https://github.com/georgehemmings)).
49 * Propagate defaults options to nested forms.
50 Closes [#553](https://github.com/plataformatec/simple_form/issues/533).
51 ([@nashby](https://github.com/nashby))
52 * Fix limit and maxlength with decimal points. ([@shwoodard](https://github.com/shwoodard))
359f481 Rafael Mendonça França Add failing case for html options duplicated
rafaelfranca authored
53 * Fix issue when html are duplicated.
54 Closes [#488](https://github.com/plataformatec/simple_form/issues/488).
55 ([@ebonical](https://github.com/ebonical))
7c1aa0e Carlos Antonio da Silva Changelog [ci skip]
carlosantoniodasilva authored
56
34ebdd2 Rafael Mendonça França CHANGELOG
rafaelfranca authored
57 ## 2.0.1
58
59 ### bug fix
60 * Sanitaze html attributes to `label` method. ([@nashby](https://github.com/nashby)).
61 Closes [#472](https://github.com/plataformatec/simple_form/issues/472)
62 * Make `collection_check_boxes` and `collection_radio_buttons` work with local variables.
63 Closes [#474](https://github.com/plataformatec/simple_form/issues/474)
6940a90 Rafael Mendonça França CHANGELOG
rafaelfranca authored
64 * Use `html5` component by default in the bootstrap generator. ([@isc](https://github.com/isc)).
65 Closes [#471](https://github.com/plataformatec/simple_form/issues/471)
34ebdd2 Rafael Mendonça França CHANGELOG
rafaelfranca authored
66
239b8dc Rafael Mendonça França Release 2.0.0 :heart::heartbeat::heartpulse::star2:
rafaelfranca authored
67 ## 2.0.0
c25d6c8 Rafael Mendonça França Update CHANGELOG
rafaelfranca authored
68
69 ### enhancements
70 * Add `button_class` configuration to change the class of buttons. ([@sryche](https://github.com/sryche))
71 * Add `disabled` class to a disabled input.
72 * Generate configuration file with `browser_validations` disabled.
73 * Add option and configuration to specify the collection wrapper class. ([@mfila](https://github.com/mfila))
74 * Add proc support to `collection` option. ([@jeffkreeftmeijer](https://github.com/jeffkreeftmeijer))
75 * `simple_form_for` allows default options for its inputs `:defaults => {}`.
76 * Add `readonly` as option of input method. ([@Untainted123](https://github.com/Untainted123))
77 * `simple_fields_for` for inherits wrapper option form the form builder. ([@nashby](https://github.com/nashby))
78 * Use action prefix in the form css class. Closes [#360](https://github.com/plataformatec/simple_form/issues/360).
79 This is not backward compatible with the previous versions of SimpleForm.
80 For more informations see [this comment](https://github.com/plataformatec/simple_form/issues/360#issuecomment-3000780).
81 ([@nashby](https://github.com/nashby))
cc5fd25 Rafael Mendonça França Add readonly component. Closes #378
rafaelfranca authored
82 * Add a readonly component that does automatically readonly lookup from object
2409933 Carlos Antonio da Silva Update CHANGELOG
carlosantoniodasilva authored
83 * Add support for proc or lambda as option for format validator ([@nashby](https://github.com/nashby))
84 * Handle validates_length_of :is option in maxlength ([@nashby](https://github.com/nashby))
2d44322 Carlos Antonio da Silva Changelog
carlosantoniodasilva authored
85 * Add field_with_hint css class to the wrapper when the input has a hint, similar to field_with_errors ([@nashby](https://github.com/nashby))
c5db89c Rafael Mendonça França Use default format at CHANGELOG
rafaelfranca authored
86 * Add :grouped_select input type, mapping to Rails grouped_collection_select helper ([@semaperepelitsa](https://github.com/semaperepelitsa))
87 * Add automatic translation of options for collection inputs given a collection of symbols ([@klobuczek](https://github.com/klobuczek))
7521f03 Carlos Antonio da Silva Some docs and changelog [ci skip]
carlosantoniodasilva authored
88 * Add `:boolean_style` config to change how check boxes and radios will be displayed.
89 Options are `:inline = input + label` (default) and `:nested = label > input`.
90 * Add possibility to give a block to `collection_radio` and `collection_check_boxes`,
e9bb328 Carlos Antonio da Silva Bring the same concept of "Builder" to collection radio buttons/check bo...
carlosantoniodasilva authored
91 yielding a custom builder to generate custom label and input structure. It
92 is used internally with the :nested option for `:boolean_style`, and is useful
93 to allow some more customization if required.
0b34519 Carlos Antonio da Silva Do not generate hidden check box field when using nested boolean style
carlosantoniodasilva authored
94 * Do not generate hidden check box field when using nested boolean style, as it is considered
fb0360d Carlos Antonio da Silva Make boolean input tag generate valid html5 when using nested style
carlosantoniodasilva authored
95 invalid markup in HTML5. This will work by default in Rails > 3.2.1 (not released at this time),
96 and is backported inside SimpleForm builder extensions.
0b34519 Carlos Antonio da Silva Do not generate hidden check box field when using nested boolean style
carlosantoniodasilva authored
97 More info in [#215](https://github.com/plataformatec/simple_form/issues/215)
634c443 Carlos Antonio da Silva Deprecate :radio input type and collection_radio helper, update changelo...
carlosantoniodasilva authored
98 * Add `item_wrapper_class` configuration option for collection radio buttons / check boxes inputs.
612c006 Carlos Antonio da Silva Change default generator classes to .form-inputs and .form-actions
carlosantoniodasilva authored
99 * Change default generator templates to use .form-inputs and .form-actions classes in wrapper divs.
100 (the latter is the default in bootstrap, so this makes it easier to integrate).
afec50a Rafael Mendonça França CHANGELOG
rafaelfranca authored
101 * Field error now accepts HTML tags ([@edison](https://github.com/edison))
f1edb15 Carlos Antonio da Silva Tidy up, add changelog
carlosantoniodasilva authored
102 * Add `generate_additional_classes_for` config option to selectively disable extra
103 css classes for components - wrapper, label and input. ([krzyzak](https://github.com/krzyzak))
c25d6c8 Rafael Mendonça França Update CHANGELOG
rafaelfranca authored
104
f36ec7b Rafael Mendonça França Update CHANGELOG
rafaelfranca authored
105 ### deprecation
f67bdbb Rafael Mendonça França Remove error_notification_id configuration
rafaelfranca authored
106 * Deprecate part of the old configuration API in favor of the wrapper API which allows you to customize your inputs
107 in a more flexible way. See [this guide](https://github.com/plataformatec/simple_form/wiki/Upgrading-to-Simple-Form-2.0)
108 to know how upgrade.
f36ec7b Rafael Mendonça França Update CHANGELOG
rafaelfranca authored
109 * Deprecate the `translate` configuration in favor of `translate_labels`
110 * Deprecate the `html5` configuration in favor of a new `html5` component
634c443 Carlos Antonio da Silva Deprecate :radio input type and collection_radio helper, update changelo...
carlosantoniodasilva authored
111 * Deprecate `:radio` input type in favor of `:radio_buttons`
112 * Deprecate `collection_radio` form helper in favor of `collection_radio_buttons`
113 (the label class has changed as well)
f67bdbb Rafael Mendonça França Remove error_notification_id configuration
rafaelfranca authored
114 * Remove `error_notification_id` configuration
f36ec7b Rafael Mendonça França Update CHANGELOG
rafaelfranca authored
115
c25d6c8 Rafael Mendonça França Update CHANGELOG
rafaelfranca authored
116 ### bug fix
117 * Fix i18n lookup with attributes with same name of models.
118 Closes [#149](https://github.com/plataformatec/simple_form/issues/149)
119 and [#364](https://github.com/plataformatec/simple_form/issues/364).
120 ([@nashby](https://github.com/nashby) and [@MarceloCajueiro](https://github.com/MarceloCajueiro))
121 * Do not generate `for` attribute for the collection label when it is a checkbox or radio.
122 Closes [#344](https://github.com/plataformatec/simple_form/issues/344).
123 ([@nashby](https://github.com/nashby) and [@mfila](https://github.com/mfila))
124 * Select can have required option when the `:include_blank` option is passed.
125 Closes [#340](https://github.com/plataformatec/simple_form/issues/340). ([@nashby](https://github.com/nashby))
126 * `:checked` option should override the existing associations on `collection_check_boxes`.
127 Closes [#341](https://github.com/plataformatec/simple_form/issues/341). ([@nashby](https://github.com/nashby))
2409933 Carlos Antonio da Silva Update CHANGELOG
carlosantoniodasilva authored
128 * Move default attribute translations out of root - use "defaults" key instead
c5db89c Rafael Mendonça França Use default format at CHANGELOG
rafaelfranca authored
129 Closes [#384](https://github.com/plataformatec/simple_form/issues/384). ([@fringd](https://github.com/fringd))
6077895 Rafael Mendonça França CHANGELOG :bomb:
rafaelfranca authored
130 * Fix label to datetime inputs to point to first select. ([@georgehemmings](https://github.com/georgehemmings))
26a959c Carlos Antonio da Silva Changelog [ci skip]
carlosantoniodasilva authored
131 * Fix usage of f.button :button with Rails 3.2.
132 Closes [#449](https://github.com/plataformatec/simple_form/issues/449).
c25d6c8 Rafael Mendonça França Update CHANGELOG
rafaelfranca authored
133
134 ## 1.5.2
135
136 ### bug fix
137 * Remove the internal usage of deprecated `:components`
138
139 ## 1.5.1
140
141 ### deprecation
142 * `:components` options is now deprecated
143
144 ### bug fix
145 * Fallback to default label when block is provided. ([@pivotal-casebook](https://github.com/pivotal-casebook))
146 * Do not override default selection through attribute value in collection select when label/value methods are lambdas.
147
148 ## 1.5.0
149
150 ### enhancements
151 * Simplified generator by using directory action. ([@rupert654](https://github.com/rupert654))
152 * Support for `maxlength` on string inputs inferred from validation. ([@srbartlett](https://github.com/srbartlett))
153 * Change form css class handling to only add the dom class when one is not given to the form call.
154 ([@patrick99e99](https://github.com/patrick99e99))
155 * Support for required attributes when action validations are present. ([@csegura](http://github.com/csegura))
156 * Do not generate `size` attribute for numeric input. ([@csegura](https://github.com/jasonmp85))
157 * Support for `maxlength` on text area inputs inferred from validation.
158 * Support for `pattern` on text field inferred from validation when `:pattern` is true.
159 * Break Text, Password and File into their own inputs.
160 * Support easy enabling and disabling of components for specific inputs.
161 * Add HTML5 range input.
162
163 ### bug fix
164 * Fix bug when `simple_fields_for` is used with a hash like models and Rails 3.1.
165 * Fix bug that does not remove the `:item_wrapper_tag` or the `:collection_wrapper_tag` on collection
166 inputs when nil or false value is passed to these options. ([@dw2](https://gitbub.com/dw2))
167 * Fix bug that disable the entire select and wrapper when `disabled` option is a string or array.
168 * Fix bug when using label/value methods as procs together with disabled/selected options as procs for select inputs.
169
170 ## 1.4.2
171
172 ### enhancements
173 * Rails 3.1 support.
174
175 ## 1.4.1
176
177 ### enhancements
178 * ignore required attribute when conditional validations are present.
179
180 ### bug fix
181 * Do not use `required='required'` when browser validations are turned off.
182 * Sanitize HMTL attributes in error and hint helpers when options are present.
183 * Improve i18n lookup by ignoring explicit child index given to form builder.
184 (tests by [@rywall](https://github.com/rywall))
185 * Fixes the form specific validation option if specified on the form itself. ([@medihack](https://github.com/medihack))
186
187 ## 1.4.0
188
189 ### enhancements
190 * Add label class configuration option. ([@reu](http://github.com/reu))
191 * Improve i18n lookup (labels/hints/placeholders) for nested models.
192 * Use the given custom builder with `simple_fields_for`. ([@giniedp](https://github.com/giniedp))
193 * Add slim form generator. ([@fagiani](https://github.com/fagiani))
194 * Add `form_class` configuration option. ([@fagiani](https://github.com/fagiani))
195 * Default step of `any` for number input with non integer attributes. ([@fedesoria](https://github.com/fedesoria))
196 * Add option to disable HTML5 browser validations on all forms. ([@coryschires](https://github.com/coryschires))
197 * Add option to disable all HTML5 extensions. ([@wolframarnold](https://github.com/wolframarnold))
198 * Add `input_field` helper to form builder. ([@jeroenhouben](https://github.com/jeroenhouben))
199 * Allow inputs to be discovered on demand by placing them at app/inputs (a la formtastic).
200 * Add `full_error` on that shows the error with the attribute name.
201
202 ### bug fix
203 * Fix for file attributes automatic detection, to work with virtual attributes.
204 * Fix for numeric fields validation options using symbols and procs.
205 * Fix password attributes to add `size` and `maxlength` options the same way as string. ([@fedesoria](https://github.com/fedesoria))
206 * Fix bug with custom form builders and new mappings being added to the superclass builder. ([@rdvdijk](https://github.com/rdvdijk))
207 * Fix HTML validation issue with `collection_check_boxes`.
208
209 ## 1.3.1
210
211 ### enhancements
212 * Add `:autofocus` HTML5 attribute support. ([@jpzwarte](https://github.com/jpzwarte))
213 * Add possibility to specify custom builder and inherit mappings. ([@rejeep](https://github.com/rejeep))
214 * Make custom mappings work with all attributes types. ([@rafaelfranca](https://github.com/rafaelfranca))
215 * Add support for procs/lambdas in text/value methods for `collection_select`.
216
217 ### deprecation
218 * removed the deprecated `:remote_form_for`
219
220 ### bug fix
221 * Only add the `required` HTML 5 attribute for valid inputs, disable in selects (not allowed).
222 * Fix error when using hints without an attribute.
223 ([@butsjoh](https://github.com/butsjoh) and [@rafaelfranca](https://github.com/rafaelfranca))
224 * Fix messy html output for hint, error and label components.
225 ([@butsjoh](https://github.com/butsjoh) and [@rafaelfranca](https://github.com/rafaelfranca))
226 * Allow direct setting of for attribute on label. ([@Bertg](https://github.com/Bertg))
227
228 ## 1.3.0
229
230 ### enhancements
231 * Allow collection input to accept a collection of symbols.
232 * Add default css class to button.
233 * Allow forms for objects that do not respond to the `errors` method.
234 * `collection_check_boxes` and `collection_radio` now wrap the input in the label.
235 * Automatic add min/max values for numeric attributes based on validations and step for integers - HTML5.
236 ([@dasch](https://github.com/dasch))
237 * Add `:placeholder` option for string inputs, allowing customization through I18n - HTML5.
238 ([@jonathan](https://github.com/jonathan))
239 * Add `:search` and `:tel` input types, with `:tel` mapping automatically from attributes matching "phone" - HTML5.
240 * Add `:required` html attribute for required inputs - HTML5.
241 * Add optional `:components` option to input to control component rendering. ([@khoan](https://github.com/khoan))
242 * Add `SimpleForm.translate` as an easy way to turn off SimpleForm internal translations.
243 * Add `:disabled` option for all inputs. ([@fabiob](https://github.com/fabiob))
244 * Add collection wrapper tag and item wrapper tag to wrap elements in collection helpers - radio / check boxes.
245 * Add `SimpleForm.input_mappings` to allow configuring custom mappings for inputs. ([@TMaYaD](https://github.com/TMaYaD))
246
247 ### bug fix
248 * Search for validations on both association and attribute.
249 * Use `controller.action_name` to lookup action only when available, to fix issue with Rspec views tests.
250 ([@rafaelfranca](https://github.com/rafaelfranca))
251
252 ## 1.2.2
253
254 ### enhancements
255 * Compatibility with Rails 3 RC.
256
257 ## 1.2.1
258
259 ### enhancements
260 * Added haml generator support. ([@grimen](https://github.com/grimen))
261 * Added `error_notification` message to form builder.
262 * Added required by default as configuration option.
263 * Added `label_input` as component, allowing boolean to change its order (input appearing first than label).
264 * Added `error_method` to tidy up how errors are exhibited.
265 * Added error class on wrappers. ([@jduff](https://github.com/jduff))
266 * Changed numeric types to have `type=number` for HTML5.
267
268 ## 1.2.0
269
270 ### deprecation
271 * Changed `simple_form_install` generator to `simple_form:install`.
272
273 ### enhancements
274 * Added support to presence validation to check if attribute is required or not. ([@gcirne](https://github.com/gcirne))
275 * Added `input` as class to wrapper tag.
276 * Added config options for hint and error tags. ([@tjogin](https://github.com/tjogin))
277
278 ## 1.1.3
279
280 ### deprecation
281 * removed `:conditions`, `:order`, `:joins` and `:include` support in `f.association`.
282
283 ## 1.1.2
284
285 ### bug fix
286 * Ensure type is set to "text" and not "string".
287
288 ## 1.1.1
289
290 ### bug fix
291 * Fix some escaping issues.
292
293 ## 1.1.0
294
295 ### enhancements
296 * Rails 3 support with generators, templates and HTML 5.
297
298 ## 1.0
299
300 * First release.
Something went wrong with that request. Please try again.