Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 149 lines (116 sloc) 9.305 kb
a3dde48 @justinfrench CHANGELOG catch-up in preparation for 1.2.0.beta
authored
1 1.2.0.beta
f066e35 Added the ability to customize the order for specific types of inputs…
Disha Al Baqui authored
2
a3dde48 @justinfrench CHANGELOG catch-up in preparation for 1.2.0.beta
authored
3 * New Stuff
4
5 * Added support for Paperclip's questionable use of multiple error keys on a single attribute, so errors on Paperclip :file inputs Just Work
6 * Added ability for the error and hint class to be overridden with :hint_class and :error_class, and configurable defaults app-wide
7 * 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
8 * Added a fallback to Rails' helpers.label key if Formtastic label translation are not found
9 * Added support for default_text_area_width
10 * Added support for #persisted? over #new_record? (ActiveModel)
11 * Added the 'required' logic to attributes with validates_inclusion_of validation, in addition to validates_presence_of
12 * Added new HTML5 :as => :email input (Rails 3)
13 * Added new HTML5 :as => :phone input (Rails 3)
14 * Added new HTML5 :as => :search input (Rails 3)
15 * Added new HTML5 :as => :url input (Rails 3)
16 * 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.
17 * Added the ability to set your own form class, instead of 'formtastic'
18 * Added maxlength attributes to inputs if it can be determined via the ValidationReflection plugin or ActiveModel validation reflections
19 * Added the ability to override the form class (Post => "post") through an :as option on semantic_form_for option
20 * 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
21 * Added :first as a new rendering choice for the errors on each input
22 * Added custom_inline_order to allow inline ordering per input type
23
24 * Fixes
25
26 * Fixed invalid HTML generated by Rails' hidden inputs on checkboxes (by rendering our own hidden tag in a more deliberate place)
27 * Fixed a bunch of invalid i18n key defaults
28 * Fixed that 'required' classes and logic were not being applied to :check_boxes and :radio inputs
29 * Fixed CSS bugs around Firefox's quirks with form elements that resulted in overflow/scroll bar issues
30
31 * Changes
32
33 * Changed that we were defaulting to a :select input for columns ending in _id, instead of columns with an appropriate associations
34 * Deprecated a bunch of aliased method names that should no longer be used
35 * Removed deprecated :selected, :checked and :default options
36 * Changed the width styling for string, numeric, password and other basic inputs, defaults to 75% unless the size attribute is present
37 * 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
38 * 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)
39 * Changed text input css behaviour updated to be similar to string etc
40 * 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
41 * Removed :label calls from the generated ERB in the form generator (i18n is preferred)
42 * Changed that :select inputs for HABTM associations would ignore the :include_blank option
43 * Changed the default method on collections from Model.find(:all) to Model.all
44 * Removed the deprecated formtastic_stylesheets generator
45 * Changed the minimum Rails version to 2.3.7, which the earliest version which the specs pass with
46 * 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
47
a458c2b @justinfrench changelog catch-up
authored
48 1.1.0
49
50 * documentation changes only
51
3459aad @justinfrench changelog catch-up
authored
52 1.1.0.beta [Specs passed against Rails 2.3.8, 3.0.0.rc & 3.0.0]
53
1aa0176 @yabawock Cleanup Changelog
yabawock authored
54 * Changed semantic_remote_form_for to allow for unobstrusive javascript / :remote option (rails3)
aea2b6f @yabawock Merge branch 'master' into rails3
yabawock authored
55 * Changed spec_helper to support Rails 2 with RSpec or Rails 3 with RSpec 2 environments
1aa0176 @yabawock Cleanup Changelog
yabawock authored
56 * Changed Rakefile to initalize the correct testing framework for the enviroment
e5c42d0 @yabawock Merge branch 'master' into rails3
yabawock authored
57 * Changed i18n dependency to >= 0.4
a722680 @yabawock Use model_name.human if available, otherwise use our human_name worka…
yabawock authored
58 * 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
59 * Fixed use of deprecated Errors#on_base
e5c42d0 @yabawock Merge branch 'master' into rails3
yabawock authored
60 * Fixed use of ActionController::RecordIdentifier#singular_class_name (rails3)
aea2b6f @yabawock Merge branch 'master' into rails3
yabawock authored
61 * Added railtie to perform initialization tasks after the rails framework is available (rails3)
aefd9c8 @yabawock Updated Changelog
yabawock authored
62 * Added compatible install and form helpers (rails3)
4088d3f @yabawock Updated Changelog
yabawock authored
63 * Added support for ActiveModel Validations, thanks to Guillaume Belleguic (rails3)
f7ec01e @yabawock Add railtie to perform initialization when running under rails3
yabawock authored
64
b288b10 @justinfrench CHANGELOG update
authored
65 1.0.1
66
67 * fixed "already initialised constant" warnings on boot
68
7f0bc84 @justinfrench CHANGELOG catch-up
authored
69 1.0.0
70
71 * nothing changed from rc2
72
729a1d9 @justinfrench catch-up changelong
authored
73 1.0.0.rc2
74
75 * Fixed that :label=>false didn't disable the label on checkboxes/radiobuttons (#331)
76 * Added full support of :input_html options for hidden fields
77
78 1.0.0.rc
79
80 * Fixed that :checked_value and :unchecked_value options were being passed down into the HTML tags as attributes
81
19257b2 @justinfrench CHANGELOG catch-up
authored
82 1.0.0.beta4
83
84 * ensure i18n < 0.4 is listed as a dependency in the gemspec
85
bb149a9 @justinfrench CHANGELOG CATCH-UP
authored
86 1.0.0.beta3
87
88 * Added :ignore_date option to time inputs (#308)
89 * Fixed inputs_for_nested_attributes returning out of the proc on has_many associated nested models.
90 * 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)
91
92 1.0.0.beta2
69eb5eb @justinfrench CHANGELOG catch-up
authored
93
d1df80b @yabawock Changelog updates
yabawock authored
94 * Added default escaping of html entities in labels and hints (#292, #299)
69eb5eb @justinfrench CHANGELOG catch-up
authored
95 * Added/Fixed that :value_method and :label_method were not being used for simple collections (like Arrays)
96 * Added some more compatibility for Mongooid and other ORMs by checking for reflection information before calling it
97 * Fixed deprecation warnings in Rails 2.3.6 and newer
98 * Fixed a bug where :check_boxes and :radio were using method instead of :label option
99 * Fixed a conflict where i18n lookups were failing when an attribute and model have the same name
100 * Fixed some html that was not marked as safe
d1df80b @yabawock Changelog updates
yabawock authored
101
fcdf14d @justinfrench CHANGELOG catch-up
authored
102 1.0.0.beta
103
104 * 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)
105 * Fixed that some inputs had invalid 'find_options' attribute (#262)
106 * Fixed that we were calling html_safe! when it was not always available
107 * Added the ability for :input_html to now accept an option of :size => nil, to exclude the :size attribute altogether (#267)
108
a406694 @justinfrench updated CHANGELOG
authored
109 0.9.10
7ea72eb @justinfrench mark 0.9.9 as released in CHANGELOG
authored
110
a406694 @justinfrench updated CHANGELOG
authored
111 * 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
112
113 0.9.9
f0d57ed @justinfrench CHANGELOG catchup
authored
114
115 * Changed date/time inputs to default to nil instead of Time.now when the object has no value (due to deprecation warning, #240)
116 * Changed the behaviour of associations with a :class_name option to be more consistent with what Rails expects
48d943f @justinfrench typo in CHANGELOG
authored
117 * Fixed issues relating to Rails 2.3.6 automatically escaping ERB
f0d57ed @justinfrench CHANGELOG catchup
authored
118 * Fixed issues with Ruby 1.9.1 and Haml
fa003bc @yabawock Changelog catchup
yabawock authored
119 * 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
120 * Added the :disabled option to check_boxes input
fa003bc @yabawock Changelog catchup
yabawock authored
121 * Added translation support for nested models (thanks to Toni Tuominen)
f0d57ed @justinfrench CHANGELOG catchup
authored
122
16c1e40 @justinfrench added a CHANGELOG file
authored
123 0.9.8
124
125 * Deprecated :selected/:checked options, see http://wiki.github.com/justinfrench/formtastic/deprecation-of-selected-option
126 * Changed CSS rules for fieldset lists to be more specific
127 * Changed that radio and checkbox inputs used to associate the legend label with the first choice's input (#101)
128 * Changed the generators to use |f| rather than |form| (#151)
129 * Changed the behaviour of :selected/:checked options to address several bugs and inconsistencies (#152)
130 * Changed CSS for input width property to max-width, allowing a size attribute to still be set
131 * Fixed an issue where label_str_method not honoured if the object is an ActiveRecord object
132 * Fixed incorrect html class for namespaced objects ("/" replaced with "_")
133 * Fixed compatibility issue with SearchLogic (#155)
134 * Fixed an issue where label_str_method was not being overridden with i18n
135 * Fixed a button text issue with Rails 2.x in which human_name on multi-word models returned one word (eg Ticketrequest) (#153)
136 * Fixed the behaviour of select inputs when the belongs_to or has_many association has a special :class_name option
137 * Fixed line numbers from eval'd code, to help when debugging
138 * Fixed CSS issue that hidden fields were not always hidden (Chrome for example) (#209)
139 * Fixed and improved CSS with nested fieldsets and legends
140 * Fixed date/time inputs where :include_seconds => true
141 * Fixed that inline hints were still being rendered on hidden inputs
142 * Fixed broken CSS declaration missing a colon
143 * Added configuration preferences for row and column attributes on textareas
144 * Added semantic_errors helper and CSS (for all errors on an object)
145 * Added :filename to the list of @@file_methods, to support carrierwave plugin (#156)
146 * Added a Formtastic::LayoutHelper with formtastic_stylesheets helper method for linking to all Formtastic CSS files
147 * Added labels option to date/time/datetime fields to customise the label of each part of the set (year, month, etc)
148 * Added many improvements to the README and docs
Something went wrong with that request. Please try again.