Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 262 lines (208 sloc) 16.588 kB
ba93de2 @justinfrench CHANGELOG catch-up
authored
1 2.0.0.rc1
5f73ed0 @justinfrench changelog catch up for v2 branch
authored
2
1d8d5a6 @justinfrench removed the inline_order configuration, override input_wrapping instead
authored
3 * Removed the "inline_order" configuration (redefine input_wrapping instead)
ff6cd96 @justinfrench note we removed FormBuilder#label
authored
4 * Removed the "special" implementation of label() from FormBuilder, so builder.label will call Rails' label helper, not ours
87529a8 @justinfrench note change to hidden input id in changelog
authored
5 * Changed the HTML id attribute used for hidden inputs to be consistent with all other inputs
d9b54b1 @justinfrench changed the form generator to include the wrapping semantic_form_for …
authored
6 * Changed formtastic:form generator include the wrapping semantic_form_for block
44e944c @justinfrench Changed formtastic:form generator to generate a partial by default (i…
authored
7 * Changed formtastic:form generator to generate a partial by default (instead of copying to clipboard, which can be done with --copy)
8 * Removed formtastic_stylesheet_link_tag
5f73ed0 @justinfrench changelog catch up for v2 branch
authored
9 * Improved some documentation, much more to come
10 * Tagged many modules as @private to remove from YARD documentation
11 * Added YARD as development dependency for a massive documentation effort
12 * Renamed Formtastic::SemanticFormHelper to Formtastic::Helpers::FormHelper (SemanticFormHelper still exists as a module which includes the new module, need to handle deprecation notices somehow)
13 * Renamed Formtastic::SemanticFormBuilder to Formtastic::FormBuilder (SemanticFormBuilder still exists as a subclass, need to handle deprecation notices somehow)
14 * Massive refactoring of formtastic.rb into around 30 files and modules like StringInput and ButtonsHelper
15 * Removed chunks of Rails 2 specific code, tests and documentation
368d878 @justinfrench changelog catch-up
authored
16 * Added support for HTML5 required attribute on input, select and textarea tags
d6e6265 @justinfrench NumericInput now provides default min, max and step attributes by ref…
authored
17 * Added support for HTML5 min/max/step attributes on NumericInput
13164f7 @justinfrench Allow HTML5 placeholder attributes to be set on String-ish inputs (st…
authored
18 * Added support for HTML5 placeholder attributes on Stringish inputs (string, email, phone, url, search, number, password)
226e6c0 @justinfrench changelog catch-up
authored
19 * Added support for HTML5 autofocus attributes
925f42e @justinfrench Automatically wrap nested inputs() in an <li> tag to preserve HTML va…
authored
20 * Changed nested inputs() blocks to be automatically wrapped in an `<li>` tag to preserve HTML validity
a1280e6 @justinfrench changelog catch-up
authored
21 * Changed quick forms to skip polymorphic associations (they didn't work)
22 * Changed short hand forms to raise an error when trying to render an input for a polymorphic association (it didn't work, need a collection)
23 * Changed input() to raise an error when a :collection is not provided for a polymorphic association (we can't guess which class to use)
38fae41 @justinfrench removed semantic_remote_form_for and aliases, because the methods the…
authored
24 * Removed semantic_remote_form_for etc, the remote_form_for helpers don't exist in Rails 3
62cadee @justinfrench CHANGELOG
authored
25 * Changed :label_method option to :member_label (with backwards compat and deprecation warnings)
26 * Changed :value_method option to :member_value (with backwards compat and deprecation warnings)
27 * Changed :grouped_label_method option to :grouped_label (with backwards compat and deprecation warnings)
28 * Added support for a Method objects to :member_label/:member_value (aka :label_method/:value_method)
29 * Improved support for Mongoid
30 * Changed Rails dependency from ~> 3.0.0 to ~> 3.0 to allow experimentation with Rails 3.1 betas
226e6c0 @justinfrench changelog catch-up
authored
31 * Removed some overly eager CSS resets on form elements that made Opera and FF inputs look pretty ugly
32 * Removed specificity and duplication in CSS
33 * Added many new classes to DOM elements to enable more efficient and descriptive CSS
34 * Improved visual/spacing consistency in checkboxes
35 * Added non-standard zoom:1; to clearfixes to support IE better
36 * Changed CSS coding style to multi-line so we can annotate the styles better
37 * Fixed that overly specific CSS rules weren't applied to nested form elements properly
6d9cae1 @sobrinho Removed formtastic:form generator and changed formtastic:install gene…
sobrinho authored
38 * Removed formtastic:form generator and changed formtastic:install generator
39 to override scaffold generator
ba93de2 @justinfrench CHANGELOG catch-up
authored
40 * Refactored and consolidated CSS by adding extra class names into the mark-up, preferring to style by class instead of element wherever possible
41 * Added IE6 and IE7 stylesheets for specific fixes if needed (uncomplicates formtastic.css)
42 * Added support for Rails 3.1 asset pipeline as well as previous generated CSS for Rails < 3.1
43 * Made many subtle visual improvements to CSS, especially in IE
5f73ed0 @justinfrench changelog catch up for v2 branch
authored
44
af484b3 @justinfrench sync changelog with 1.2-stable/master branches
authored
45 1.2.4.beta (unreleased)
46
47 * Changed :boolean inputs to use Rails' check_box_checked? instead of our own logic
48 * Changed developer instructions in README
49 * Fixed :boolean inputs to disable the included hidden input when disabling the actual checkbox
4347a85 @sobrinho Strip whitespaces
sobrinho authored
50 * Fixed that Formtastic was making changes to the options hash directly instead of on a duplicate, causing problems for those trying to reuse options on multiple inputs in the view
51 * Fixed that tiny scroll bars were appearing on legends in date/time/radio/cbheckboxes fielsets (GH-477)
af484b3 @justinfrench sync changelog with 1.2-stable/master branches
authored
52 * Fixed an issue when formtastic fails to determine if a checkbox is checked with custom checked and unchecked values (thanks to Eugene Bolshakov)
53 * Fixed that the hidden input rendered with a boolean checkbox did nt use the custom :name from :input_html options hash
54
3b4080f @justinfrench CHANGELOG catch-up
authored
55 1.2.3
7f06da5 @justinfrench changelog catch-up
authored
56
3b4080f @justinfrench CHANGELOG catch-up
authored
57 * Removed deprecated methods input_field_set, button_field_set, boolean_select_input, boolean_radio_input and boolean_radio_input
58 * Removed deprecated :class option on commit_button (use :input_html instead)
59 * Fixed that stylesheets and initializers directories would be removed on uninstalling
60 * Fixed some documentation and formatting
61 * Fixed test coverage issues under Ruby 192 and Rails 2
62 * Fixed that input_html options were not being passed down to checkbox tags
f7decee @justinfrench CHANGELOG catch-up
authored
63 * Changed internal duplication of the options hash so that the same options hash can be re-used over multiple inputs without being altered
64 * Changed internal configuration to use class_attribute when available (Rails 3) to avoid deprecation warnings
3b4080f @justinfrench CHANGELOG catch-up
authored
65 * Added Rails 3 compatible form generator templates in addition to existing Rails 2 support
66 * Added reflection on allow_blank option when determining the 'required' status of an input
67
68
69 1.2.2
70
71 * Removed deprecated aliased input names (:as => :boolean_select, :as => :boolean_radio_input
72 * Removed deprecated aliased method names (input_field_set, button_field_set)
73 * Removed deprecated :class => 'whatever' on commit_button
7f06da5 @justinfrench changelog catch-up
authored
74 * Fixed that classes in :button_html were being merged into :wrapper_html
4347a85 @sobrinho Strip whitespaces
sobrinho authored
75 * Fixed that :include_blank was being ignored (always false) for multi selects
3b4080f @justinfrench CHANGELOG catch-up
authored
76 * Fixed that we should reflect on allow_blank option to determine required status with validates_inclusion_of
77 * Added the ability to pass :input_html options be passed to the checkbox on a boolean input
78 * Developers: Added bundler support to for developer/contribution
79 * Developers: Fixed spec coverage under Rails 2 and Ruby 1.9.2
7f06da5 @justinfrench changelog catch-up
authored
80
a5f9cb6 @justinfrench changelog updates
authored
81 1.2.1
82
83 * test suite compatibilities with Rails 3.0.3
84
6768c12 @justinfrench changelog
authored
85 1.2.1.beta3
86
87 * Fixed bad merge related to :boolean inputs in 1.2.1.beta
88
3eb1db1 @justinfrench changelog
authored
89 1.2.1.beta2
90
91 * Fixed typos in gemspec post-install message
92
84e196c @justinfrench changelog update
authored
93 1.2.1.beta
1e80a65 @justinfrench changelog catch-up
authored
94
95 * Fixed that unchecking :boolean inputs would not send the correct params (and not persist the change the the DB)
96 * Fixed that :boolean inputs checked state was not reflecting the database/model value
84e196c @justinfrench changelog update
authored
97 * Fixed that init.rb and rails/init.rb were not included in the gem (affecting Rails 2)
1e80a65 @justinfrench changelog catch-up
authored
98
b5e9ada @justinfrench CHANGELOG update
authored
99 1.2.0
100
101 * Changed default_text_area_width to nil, overlooked in recent CSS/width changes
102 * Improved documentation
103
6642d5a @justinfrench CHANGLEOG catch-up
authored
104 1.2.0.beta2
105
106 * Added :wrapper_html functionality to commit_button() to match what input() does
107 * Deprecated the :class option on commit_button(), use :wrapper_html instead
108 * Added hpricot as missing development dependency
109 * Improved documentation
110
a3dde48 @justinfrench CHANGELOG catch-up in preparation for 1.2.0.beta
authored
111 1.2.0.beta
f066e35 Added the ability to customize the order for specific types of inputs…
Disha Al Baqui authored
112
a3dde48 @justinfrench CHANGELOG catch-up in preparation for 1.2.0.beta
authored
113 * New Stuff
114
115 * Added support for Paperclip's questionable use of multiple error keys on a single attribute, so errors on Paperclip :file inputs Just Work
116 * Added ability for the error and hint class to be overridden with :hint_class and :error_class, and configurable defaults app-wide
117 * Added basic support for multiple forms in the same document by allowing the element ids to be prefixed with the :namespace option on semantic_form_for
118 * Added a fallback to Rails' helpers.label key if Formtastic label translation are not found
119 * Added support for default_text_area_width
120 * Added support for #persisted? over #new_record? (ActiveModel)
4347a85 @sobrinho Strip whitespaces
sobrinho authored
121 * Added the 'required' logic to attributes with validates_inclusion_of validation, in addition to validates_presence_of
a3dde48 @justinfrench CHANGELOG catch-up in preparation for 1.2.0.beta
authored
122 * Added new HTML5 :as => :email input (Rails 3)
123 * Added new HTML5 :as => :phone input (Rails 3)
124 * Added new HTML5 :as => :search input (Rails 3)
125 * Added new HTML5 :as => :url input (Rails 3)
126 * Added the ability for the :collection option to accept a string of HTML (like the output from grouped_options_for_select), rather than just Arrays, Hashes, collections, etc.
127 * Added the ability to set your own form class, instead of 'formtastic'
128 * Added maxlength attributes to inputs if it can be determined via the ValidationReflection plugin or ActiveModel validation reflections
129 * Added the ability to override the form class (Post => "post") through an :as option on semantic_form_for option
130 * Added the ability to customize the order for specific types of inputs. This is configured on a type basis and if a type is not found it willfall back to the default order as defined by @@inline_order
131 * Added :first as a new rendering choice for the errors on each input
132 * Added custom_inline_order to allow inline ordering per input type
9fde5ca @justinfrench CHANGELOG catch-up
authored
133 * Added the ability to override the generator templates in Rails 3
a3dde48 @justinfrench CHANGELOG catch-up in preparation for 1.2.0.beta
authored
134
4347a85 @sobrinho Strip whitespaces
sobrinho authored
135 * Fixes
a3dde48 @justinfrench CHANGELOG catch-up in preparation for 1.2.0.beta
authored
136
137 * Fixed invalid HTML generated by Rails' hidden inputs on checkboxes (by rendering our own hidden tag in a more deliberate place)
138 * Fixed a bunch of invalid i18n key defaults
139 * Fixed that 'required' classes and logic were not being applied to :check_boxes and :radio inputs
140 * Fixed CSS bugs around Firefox's quirks with form elements that resulted in overflow/scroll bar issues
c063c7c @justinfrench CHANGELOG tweak
authored
141 * Fixed that errors on fields with association were not marking the wrapping tag with the error class
9fde5ca @justinfrench CHANGELOG catch-up
authored
142 * Fixed CSS where FF was displaying extra scroll bars on .check_boxes and .radio inputs (and the choices within them)
4347a85 @sobrinho Strip whitespaces
sobrinho authored
143
a3dde48 @justinfrench CHANGELOG catch-up in preparation for 1.2.0.beta
authored
144 * Changes
145
146 * Changed that we were defaulting to a :select input for columns ending in _id, instead of columns with an appropriate associations
147 * Deprecated a bunch of aliased method names that should no longer be used
148 * Removed deprecated :selected, :checked and :default options
149 * Changed the width styling for string, numeric, password and other basic inputs, defaults to 75% unless the size attribute is present
150 * Changed string, numeric, password and other basic inputs' default text field size config to nil instead of 50, meaning the size attribute will be ommitted from most inputs, makeing styling easier, and custom sizes with the size attribute more deliberate
151 * Changed string, numeric, password and other basic inputs to no longer add the size attribute based on column information (the default config is applied, unless it's nil)
152 * Changed text input css behaviour updated to be similar to string etc
153 * Changed text inputs to no longer include a default cols attribute, specify it with :input_html if you need it, but the value we were using was useless... also beefed up spec coverage
154 * Removed :label calls from the generated ERB in the form generator (i18n is preferred)
155 * Changed that :select inputs for HABTM associations would ignore the :include_blank option
156 * Changed the default method on collections from Model.find(:all) to Model.all
157 * Removed the deprecated formtastic_stylesheets generator
158 * Changed the minimum Rails version to 2.3.7, which the earliest version which the specs pass with
159 * Changed :password inputs to be sized by percentage (like other string-ish inputs), rather then em-based
f066e35 Added the ability to customize the order for specific types of inputs…
Disha Al Baqui authored
160
a458c2b @justinfrench changelog catch-up
authored
161 1.1.0
162
163 * documentation changes only
164
3459aad @justinfrench changelog catch-up
authored
165 1.1.0.beta [Specs passed against Rails 2.3.8, 3.0.0.rc & 3.0.0]
166
1aa0176 @yabawock Cleanup Changelog
yabawock authored
167 * Changed semantic_remote_form_for to allow for unobstrusive javascript / :remote option (rails3)
aea2b6f @yabawock Merge branch 'master' into rails3
yabawock authored
168 * Changed spec_helper to support Rails 2 with RSpec or Rails 3 with RSpec 2 environments
1aa0176 @yabawock Cleanup Changelog
yabawock authored
169 * Changed Rakefile to initalize the correct testing framework for the enviroment
e5c42d0 @yabawock Merge branch 'master' into rails3
yabawock authored
170 * Changed i18n dependency to >= 0.4
a722680 @yabawock Use model_name.human if available, otherwise use our human_name worka…
yabawock authored
171 * Fixed use of model_name.human instead of model_name.human_name (rails3)
39c22b1 @yabawock Fix use of deprecated Errors#on_base (#242)
yabawock authored
172 * Fixed use of deprecated Errors#on_base
e5c42d0 @yabawock Merge branch 'master' into rails3
yabawock authored
173 * Fixed use of ActionController::RecordIdentifier#singular_class_name (rails3)
aea2b6f @yabawock Merge branch 'master' into rails3
yabawock authored
174 * Added railtie to perform initialization tasks after the rails framework is available (rails3)
aefd9c8 @yabawock Updated Changelog
yabawock authored
175 * Added compatible install and form helpers (rails3)
4088d3f @yabawock Updated Changelog
yabawock authored
176 * Added support for ActiveModel Validations, thanks to Guillaume Belleguic (rails3)
f7ec01e @yabawock Add railtie to perform initialization when running under rails3
yabawock authored
177
b288b10 @justinfrench CHANGELOG update
authored
178 1.0.1
179
180 * fixed "already initialised constant" warnings on boot
181
7f0bc84 @justinfrench CHANGELOG catch-up
authored
182 1.0.0
183
184 * nothing changed from rc2
185
729a1d9 @justinfrench catch-up changelong
authored
186 1.0.0.rc2
187
188 * Fixed that :label=>false didn't disable the label on checkboxes/radiobuttons (#331)
189 * Added full support of :input_html options for hidden fields
190
191 1.0.0.rc
192
4347a85 @sobrinho Strip whitespaces
sobrinho authored
193 * Fixed that :checked_value and :unchecked_value options were being passed down into the HTML tags as attributes
729a1d9 @justinfrench catch-up changelong
authored
194
19257b2 @justinfrench CHANGELOG catch-up
authored
195 1.0.0.beta4
196
197 * ensure i18n < 0.4 is listed as a dependency in the gemspec
198
bb149a9 @justinfrench CHANGELOG CATCH-UP
authored
199 1.0.0.beta3
200
201 * Added :ignore_date option to time inputs (#308)
202 * Fixed inputs_for_nested_attributes returning out of the proc on has_many associated nested models.
203 * Fixed with_custom_field_error_proc to use ensure for restoring default field_error_proc and to store it in a local variable instead of in a class variable (nested calls were problematic due to the globalness of class variables)
204
205 1.0.0.beta2
69eb5eb @justinfrench CHANGELOG catch-up
authored
206
d1df80b @yabawock Changelog updates
yabawock authored
207 * Added default escaping of html entities in labels and hints (#292, #299)
69eb5eb @justinfrench CHANGELOG catch-up
authored
208 * Added/Fixed that :value_method and :label_method were not being used for simple collections (like Arrays)
209 * Added some more compatibility for Mongooid and other ORMs by checking for reflection information before calling it
210 * Fixed deprecation warnings in Rails 2.3.6 and newer
211 * Fixed a bug where :check_boxes and :radio were using method instead of :label option
212 * Fixed a conflict where i18n lookups were failing when an attribute and model have the same name
213 * Fixed some html that was not marked as safe
d1df80b @yabawock Changelog updates
yabawock authored
214
fcdf14d @justinfrench CHANGELOG catch-up
authored
215 1.0.0.beta
216
217 * Fixed :radio and :check_boxes inputs so that the legend no longer includes a <label> with a `for` attribute pointing to an input that doesn't exist (#253)
218 * Fixed that some inputs had invalid 'find_options' attribute (#262)
219 * Fixed that we were calling html_safe! when it was not always available
220 * Added the ability for :input_html to now accept an option of :size => nil, to exclude the :size attribute altogether (#267)
221
a406694 @justinfrench updated CHANGELOG
authored
222 0.9.10
7ea72eb @justinfrench mark 0.9.9 as released in CHANGELOG
authored
223
a406694 @justinfrench updated CHANGELOG
authored
224 * Fixed i18n incompatibility with Rails 2.3.8 by reverting two i18n patches pulled in from the rails3 branch
7ea72eb @justinfrench mark 0.9.9 as released in CHANGELOG
authored
225
226 0.9.9
f0d57ed @justinfrench CHANGELOG catchup
authored
227
228 * Changed date/time inputs to default to nil instead of Time.now when the object has no value (due to deprecation warning, #240)
229 * Changed the behaviour of associations with a :class_name option to be more consistent with what Rails expects
48d943f @justinfrench typo in CHANGELOG
authored
230 * Fixed issues relating to Rails 2.3.6 automatically escaping ERB
f0d57ed @justinfrench CHANGELOG catchup
authored
231 * Fixed issues with Ruby 1.9.1 and Haml
fa003bc @yabawock Changelog catchup
yabawock authored
232 * Fixed use of deprecated {{key}} syntax in i18n interpolation (thanks to Hans Petter Wilhelmsen)
9a33bfe @justinfrench Tweaked CHANGELOG to reflect only user-facing changes/fixes/additions…
authored
233 * Added the :disabled option to check_boxes input
fa003bc @yabawock Changelog catchup
yabawock authored
234 * Added translation support for nested models (thanks to Toni Tuominen)
f0d57ed @justinfrench CHANGELOG catchup
authored
235
16c1e40 @justinfrench added a CHANGELOG file
authored
236 0.9.8
237
238 * Deprecated :selected/:checked options, see http://wiki.github.com/justinfrench/formtastic/deprecation-of-selected-option
239 * Changed CSS rules for fieldset lists to be more specific
240 * Changed that radio and checkbox inputs used to associate the legend label with the first choice's input (#101)
241 * Changed the generators to use |f| rather than |form| (#151)
242 * Changed the behaviour of :selected/:checked options to address several bugs and inconsistencies (#152)
243 * Changed CSS for input width property to max-width, allowing a size attribute to still be set
244 * Fixed an issue where label_str_method not honoured if the object is an ActiveRecord object
245 * Fixed incorrect html class for namespaced objects ("/" replaced with "_")
246 * Fixed compatibility issue with SearchLogic (#155)
247 * Fixed an issue where label_str_method was not being overridden with i18n
248 * Fixed a button text issue with Rails 2.x in which human_name on multi-word models returned one word (eg Ticketrequest) (#153)
249 * Fixed the behaviour of select inputs when the belongs_to or has_many association has a special :class_name option
250 * Fixed line numbers from eval'd code, to help when debugging
251 * Fixed CSS issue that hidden fields were not always hidden (Chrome for example) (#209)
252 * Fixed and improved CSS with nested fieldsets and legends
253 * Fixed date/time inputs where :include_seconds => true
254 * Fixed that inline hints were still being rendered on hidden inputs
255 * Fixed broken CSS declaration missing a colon
256 * Added configuration preferences for row and column attributes on textareas
257 * Added semantic_errors helper and CSS (for all errors on an object)
258 * Added :filename to the list of @@file_methods, to support carrierwave plugin (#156)
259 * Added a Formtastic::LayoutHelper with formtastic_stylesheets helper method for linking to all Formtastic CSS files
260 * Added labels option to date/time/datetime fields to customise the label of each part of the set (year, month, etc)
261 * Added many improvements to the README and docs
Something went wrong with that request. Please try again.