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