Skip to content

Commit fce6790

Browse files
committed
Merge branch 'develop'
2 parents e399cd8 + 0a673a7 commit fce6790

20 files changed

+381
-181
lines changed

CHANGELOG.md

Lines changed: 26 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
1-
## CHANGELOG
1+
# CHANGELOG
22

3-
3.4.1
4-
-----
3+
## 3.4.2
4+
5+
- [add] Added the ability to specify multiple namespaces to look for fields in the MethodDispatcher
6+
- [mod] Appended buttons are now properly wrapped in input-group-btn in Bootstrap 3
7+
- [fix] Fixed a bug where wrong items would get selected in optgroups
8+
- [fix] Fixed some bug when fetching data from the request
9+
- [fix] Fixed spaces in validation rules causing errors
10+
11+
## 3.4.1
512

613
- [add] Added support for passing MessageBag instances to `withErrors`
714
- [mod] MethodDispatcher can now look for field classes in multiple namespaces
815
- [mod] Use objects' `toArray` instead of array casting when possible
916
- [fix] Fix framework classes overwriting classes predefined on Field classes
1017
- [fix] Fix stability problems that prevented Former form being installed
1118

12-
3.4.0
13-
-----
19+
## 3.4.0
1420

1521
- [add] Added `Former::rawOpen` to open a temporary no-framework/no-label form
1622
- [add] Added support for camelCase form openers (ie. `verticalOpen` and `vertical_open`)
@@ -19,8 +25,7 @@
1925
- [fix] Various bugfixes related to repopulation
2026
- [fix] Fix various memory and 4.1 compatibility issues
2127

22-
3.3.0
23-
-----
28+
## 3.3.0
2429

2530
- [add] Add ability to pass attributes to a select's options
2631
- [add] Add support for PATCH method
@@ -33,15 +38,13 @@
3338
- [fix] Fix bug in selection false values in Selects
3439
- [fix] Fix bug where selects with optgroups weren't populated correctly
3540

36-
3.2.0
37-
-----
41+
## 3.2.0
3842

3943
- **[mod] Updated TwitterBootstrap3 to the latest release**
4044
- **[mod] Former now handles camelCase attributes (ie. `dataPlaceholder` for `data-placeholder`)**
4145
- [mod] `$group->getErrors()` is now public
4246

43-
3.1.0
44-
-----
47+
## 3.1.0
4548

4649
- [add] **You can now configure which attributes are translated by default**
4750
- [add] **Added the `TwitterBootstrap3` framework**
@@ -50,8 +53,7 @@
5053
- [mod] All fields are now displayed as "raw" by default in custom groups
5154
- [fix] Fix some checkable bugs
5255

53-
3.0.0
54-
-----
56+
## 3.0.0
5557

5658
- **Refactor of Former – the project is now framework agnostic, see installation details**
5759
- [add] You can now chain methods to actions blocks `Former::actions('Hello', 'Mr Bond')->id('foo')->addClass('bar')`
@@ -70,66 +72,57 @@
7072
- [add] Former now automatically inserts a token in the form
7173
- [add] Support for select groups
7274

73-
2.6.0
74-
-----
75+
## 2.6.0
7576

7677
- **[add] 'required_text' to append a text to required fields's labels**
7778
- **[add] Former::open()->rules([]) as alias to Former::withRules**
7879
- [fix] Fix a bug where labels for radios would fail because of identical ids
7980
- [fix] Fixed a bug where ->populateField would fail if the form was populated with an object
8081

81-
2.5.0
82-
-----
82+
## 2.5.0
8383

8484
- **[add] Add basic button class that allow Bootstrappy submit/buttons**
8585
- **[add] ControlGroup->prependIcon and appendIcon methods**
8686
- [add] Ability to pass an array of classes to add to Field->addClass
8787
- [fix] Fix instantiated classes bug in PHP 5.3.2
8888
- [fix] Fix multiple buttons instances overwriting themselves
8989

90-
2.4.0
91-
-----
90+
## 2.4.0
9291

9392
- **[add] Form openers are now objects too and accept chained methods**
9493
- [add] Add `unchecked_value` option to decide what value unchecked checkboxes have in the POST array
9594
- [add] Allow booleans to be passed to Checkable->check() on single items
9695
- [mod] Disable `push_checkbox` option by default
9796
- [fix] Automatically fetch Lang objects passed to `->options`
9897

99-
2.3.0
100-
-----
98+
## 2.3.0
10199

102100
- **[add] Add `push_checkboxes` option which forces the submiting of unchecked fields to the POST array**
103101

104-
2.2.0
105-
-----
102+
## 2.2.0
106103

107104
- **[add] Add `Former::file()` and `Former::files()` with methods `->max` and `->accept`**
108105
- [add] Add ability to set a placeholder option for select fields
109106
- [add] Add ability to set attributes for a label
110107

111-
2.1.0
112-
-----
108+
## 2.1.0
113109

114110
- **[add] Add ability to populate field with a model's relationships**
115111
- [add] Added `->check()` method on radios and checkboxes
116112

117-
2.0.0
118-
-----
113+
## 2.0.0
119114

120115
- **[add] Former now uses Laravel's Config class to manage settings, letting the user create a `former.php` file in `application/config` to override default options**
121116
- [add] Add option to disable automatic labeling of fields
122117
- [fix] Fix translation of empty strings
123118

124-
1.2.1
125-
-----
119+
## 1.2.1
126120

127121
- **[add] Fetch automatically key and value from models through `get_key` and `__toString`**
128122
- [add] Add `Former::populateField` to populate a specific field
129123
- [fix] Fixed a bug preventing from using one Former call to output several times
130124

131-
1.2.0
132-
-----
125+
## 1.2.0
133126

134127
- **[add] Add suport for Zurb's Foundation framework**
135128
- **[add] Allow the passing of Query/Eloquent objects to text fields through `->useDatalist`**
@@ -139,14 +132,12 @@
139132
- [fix] Don't create a label tag around checkboxes if the label is empty
140133
- [fix] Fix custom arguments of `open()` not working as desired
141134

142-
1.1.0
143-
-----
135+
## 1.1.0
144136

145137
- **[add] Allow the passing of Query/Eloquent objets to select fields through `->fromQuery`**
146138
- [fix] Disable form population on password fields
147139
- [fix] Fix uneditable inputs outputing as text fields
148140

149-
1.0.0
150-
-----
141+
## 1.0.0
151142

152143
- Initial release of Former on [Laravel Bundles](http://bundles.laravel.com/bundle/former/)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"anahkiasen/html-object": "~1.2.0",
19+
"anahkiasen/html-object": "1.*",
2020
"illuminate/config": "~4",
2121
"illuminate/container": "~4",
2222
"illuminate/http": "~4",

0 commit comments

Comments
 (0)