Fetching contributors…
Cannot retrieve contributors at this time
252 lines (126 sloc) 11 KB
=== master
* Use milliseconds instead of microseconds for serializing Time and DateTime values, since that's what datetime-local inputs support (jeremyevans)
=== 1.6.0 (2017-05-03)
* Use thead/tbody tags for table inputs_wrapper transformer and Sequel plugin subform :grid option (jeremyevans)
* Do not create a hidden input for checkboxes when using disabled/readonly formatters (jeremyevans)
* Add support for overriding forme_namespace on the Sequel::Model instance to change forme's namespacing (mwpastore, jeremyevans) (#17)
* Allow :label_attr for checkboxset and radioset to set attributes for individual labels in the set (jeremyevans)
=== 1.5.0 (2016-08-09)
* Add forme_set Sequel plugin, for handling the intake of submitted params based on form fields (jeremyevans)
* Only add csrf tag in forme/erb support if there is a current session in the environment (jeremyevans)
* Fix frozen string literal issue in explicit labeler (jeremyevans)
* Add forme_i18n Sequel plugin, for internalization support (badosu) (#15)
=== 1.4.0 (2016-02-01)
* Ignore submit buttons when using the :readonly formatter (jeremyevans)
* Respect :formatter option for radioset and checkboxset inputs (jeremyevans)
* Add support for running with --enable-frozen-string-literal on ruby 2.3 (jeremyevans)
* Integrate with the Sequel association_pks plugin in the Sequel plugin (jeremyevans)
* Do not add required * to label if :label=>nil in the Sequel plugin (jeremyevans)
* Add forme/bs3 library for Bootstrap 3 support (kematzy, jeremyevans) (#12, #14)
* Support an :html option in the default formatter to override the HTML created (jeremyevans)
=== 1.3.0 (2015-04-17)
* Support option groups in select, checkboxset, and radioset inputs via :optgroups option (jeremyevans)
* Support :select_options option for date/datetime :as=>:select, for setting specific options in each select field (jeremyevans)
* The id for first select input for date/datetime :as=>:select is now the same as the :id option/attribute (jeremyevans)
* Support :order option for date/datetime :as=>:select inputs, so you can order select boxes day/month/year or month/day/year (jeremyevans)
* Add helper transformer type, for adding help text next to fields (jeremyevans)
* Support :skip_primary_key option to not add hidden primary key fields for existing associated objects in subform in the Sequel plugin (jeremyevans)
* Support :blank_attr option for select/radioset/checkboxset inputs (jeremyevans)
* Support :blank_position=>:after option for select/radioset/checkboxset inputs (jeremyevans)
* Respect existing :add_blank option when using select tags for boolean fields in the Sequel plugin (jeremyevans)
* Use type=datetime-local for datetime types (jeremyevans)
* Handle error messages on the underlying column in pg_array_to_many associations (jeremyevans)
=== 1.2.0 (2014-11-06)
* Support pg_array_to_many associations in the Sequel plugin, treating them similarly to other *_to_many associations (jeremyevans)
* When using :grid option to subform in the Sequel plugin, :inputs_opts can be used to pass options to the InputsWrapper (jeremyevans)
* Support :error_attr option for inputs, for setting attributes to use for error message span (jeremyevans)
* Make explicit labeler use label-before and label-after classes specifying the label position (jeremyevans)
* Support :size option for select inputs (jeremyevans)
=== 1.1.0 (2014-09-07)
* Make form without a block in the ERB integration still use hidden tags if method is post (jeremyevans)
* Add Forme::RawString class, Forme.raw, and Form#raw for creating raw strings, so you don't need to use extend(Forme::Raw) (jeremyevans)
* Allow using nil as explicit transformer value when creating a Form, to disable default transformer (jeremyevans)
=== 1.0.0 (2014-07-30)
* Add roda plugin for forme (jeremyevans)
* Move forme/sinatra to forme/erb, since it is ERB and not Sinatra specific (jeremyevans)
* Do not extend objects at runtime when using the Sequel support (jeremyevans)
=== 0.10.0 (2014-07-01)
* Use #[] instead of #send to get input value for object forms if object is a hash (jeremyevans)
* Add Form#each_obj, for iterating over an Enumerable of objects, using with_obj for each object (jeremyevans)
* Add Form#with_obj, for changing a Form's object and namespace temporarily (jeremyevans)
* Support changing the namespace for a Form temporarily using with_opts(:namespace=>['ns1', 'ns2']) (jeremyevans)
* Use current namespace for form object inputs if :id/:name/:key is not specified (jeremyevans)
* Remove SequelForm#nested_associations accessor methods, no longer necessary (jeremyevans)
* Support changing the object for a Form temporarily using with_opts(:obj=>new_obj) (jeremyevans)
* Add :table, :tr, :ol, and :fieldset_ol wrappers, which automatically set wrapper and inputs_wrapper appropriately (jeremyevans)
* Add subform :grid option in Sequel plugin, for more compact editing of nested *_to_many associations (jeremyevans)
* Make table inputs_wrapper accept a :labels option and automatically set up th tags with the labels for each column (jeremyevans)
* Form#inputs now accepts a :nested_inputs_wrapper option to set default inputs_wrapper transformer inside the block (jeremyevans)
* Add tr inputs_wrapper and td wrapper, for horizontal layout of inputs inside a table (jeremyevans)
* Form#inputs now accepts transformer options (e.g :wrapper) and automatically calls with_opts (jeremyevans)
* Remove Form#format and Form#serialize (jeremyevans)
* Remove Form#{formatter,labeler,error_handler,wrapper,inputs_wrapper} accessors (jeremyevans)
* Add Form.with_opts method to override opts for the given block (jeremyevans)
* Remove Form#use_serializer and Serializer module (jeremyevans)
* table inputs_wrapper now respects the :legend and :legend_attr options, using a caption (jeremyevans)
* ol, div, and table inputs_wrappers now respect the :attr option (jeremyevans)
* Make subform always use the inputs_wrapper, even if :inputs is not given (jeremyevans)
* Allow input_defaults to work with symbol keys for inputs that use symbol types (jeremyevans)
* Support Form :values option, for automatically setting value attributes for inputs from submitted params (jeremyevans)
* Support :autofocus option for setting autofocus attribute, similar to :required and :disabled (jeremyevans)
* Add Forme.default_add_blank_prompt for setting default prompt used for :add_blank option (jeremyevans)
* Support radioset and checkboxset Input types (jeremyevans)
* Support :key and :key_id options for Inputs, for automatically setting name/id attributes based on current namespace (jeremyevans)
* Move namespace handling from Sequel plugin into the core (jeremyevans)
=== 0.9.2 (2014-04-10)
* Make association_select_options compatible with Sequel 4.10+ (jeremyevans)
=== 0.9.1 (2013-12-18)
* Use a tri-valued select box by default for boolean inputs with :required=>false option (jeremyevans)
=== 0.9.0 (2013-12-13)
* Support :input_defaults Form option for setting defaults for inputs by type (jeremyevans)
* Make html_usa serializer convert date/datetime inputs to text for better compatibility (jeremyevans)
* Format BigDecimal in standard notation instead of default scientific notation (jeremyevans)
* Make trtd wrapper always have labels on left side (jeremyevans)
* Make trtd wrapper always use 2 cells (jeremyevans)
* Use regular (not-multiple) select box for *_to_many associations for :multiple=>false option (jeremyevans)
* Associtions in the Sequel plugin now support a :dataset option to specify dataset to use for options (jeremyevans)
* The :name_method option used for associations in the Sequel plugin now allows for arbitrary callables (jeremyevans)
=== 0.8.0 (2013-10-30)
* form calls without block or :inputs or :button options are now handled correctly in the Sinatra integration (jeremyevans)
* CSRF token tags are now automatically added to forms in Rails and Sinatra if using rack_csrf (jeremyevans) (#5)
* Form objects now support a :hidden_tags option for automatically adding hidden tags (jeremyevans)
* Sequel many_to_one associations with existing and required values no longer have a blank option added by default (jeremyevans)
* ActiveSupport::SafeBuffer objects are now automatically treated as raw in the Rails integration (jeremyevans)
=== 0.7.0 (2012-05-02)
* Support :label_position option in both of the labelers, can be set to :before or :after to override the default (jeremyevans)
* Add Rails integration (jeremyevans)
* Make explicit labeler put label after checkboxes and radio buttons instead of before (jeremyevans)
* Make implicit labeler not include hidden checkbox inside label (jeremyevans)
* Recognize :cols and :rows options as attributes for textarea inputs in the default formatter (jeremyevans)
* Recognize :size and :maxlength options as attributes for text inputs in the default formatter (jeremyevans)
* Recognize :style option as attributes in the default formatter (jeremyevans)
* Join attribute values specified as arrays with spaces instead of the empty string (jeremyevans)
* Make Sinatra ERB integration work with partials (jeremyevans)
* Add id attributes for association :as=>:radio or :as=>:checkbox fields (jeremyevans)
* Add an html class attribute for radio/checkbox labels in :as=>:radio or :as=>:checkbox fields (jeremyevans)
* Wrap text acting as a label in a span with class label for :as=>:radio or :as=>:checkbox fields (jeremyevans)
* Support overriding the true/false label and values for select boolean fields in the Sequel plugin (jeremyevans)
=== 0.6.0 (2011-08-01)
* Fix wrapping for :as=>:radio boolean fields to handle them like association :as=>:radio fields (jeremyevans)
* Fix handling of Raw :label option in for association fields with :as=>:radio and :as=>:checkbox in the Sequel plugin (jeremyevans)
* Use label text for :as=>:radio boolean fields in the Sequel plugin (jeremyevans)
* Support overriding the true/false label and values for :as=>:radio boolean fields in the Sequel plugin (jeremyevans)
* Allow overriding the type of input for schema columns and associations in the Sequel plugin (jeremyevans)
* Add the label before the error option, so the error always comes after the label (jeremyevans)
* Always add error class to formatted input tag, regardless of error_handler (jeremyevans)
* Add labels to inputs for fields that the object doesn't respond to in the Sequel plugin (jeremyevans)
* Allow customization for non-schema columns that the object responds to in the Sequel plugin (jeremyevans)
* Handle errors on all inputs in the Sequel plugin, not just those backed by columns (jeremyevans)
* Fix default error_handler if input yields an area of tags (jeremyevans)
* Support :as=>:radio option for boolean fields in the Sequel plugin (jeremyevans)
* Allow specifying label attributes with :label_attr in labelers (jeremyevans)
* Allow Form#inputs to be called with a single options hash argument (jeremyevans)
* Handle unrecognized fields in the Sequel plugin if a :type option is given (jeremyevans)
* Add required * to label even if :label is already specified in the Sequel plugin (jeremyevans)
=== 0.5.0 (2011-07-01)
* Initial Release