Skip to content

Commit 02db81b

Browse files
committed
Merge branch 'develop'
2 parents 5324c14 + 720eb9d commit 02db81b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+2266
-1423
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
!phpunit.xml
2-
tests/logs
1+
tests/coverage
32
vendor

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
## CHANGELOG
22

3+
3.3.0 (stable)
4+
-----
5+
6+
- [add] Add ability to pass attributes to a select's options
7+
- [add] Add support for PATCH method
8+
- [add] Add ability to create range number fields (`Former::number('foo')->range(1, 5)` sets the `min` to 1 and `max` to 5)
9+
- [add] Added Form->route and Form->controller to set a form's action to a route/controller path, and the corresponding method
10+
- [add] Allow switching to alternate icon fonts
11+
- [mod] Form classes are now framework-dependant
12+
- [mod] More work on the Bootstrap 3 integration
13+
- [fix] Prevent custom groups from responding to errors from non-grouped fields
14+
- [fix] Fix bug in selection false values in Selects
15+
- [fix] Fix bug where selects with optgroups weren't populated correctly
16+
17+
3.2.0
18+
-----
19+
20+
- **[mod] Updated TwitterBootstrap3 to the latest release**
21+
- **[mod] Former now handles camelCase attributes (ie. `dataPlaceholder` for `data-placeholder`)**
22+
- [mod] `$group->getErrors()` is now public
23+
324
3.1.0
425
-----
526

CONTRIBUTING.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22

33
Before reporting any issue, please put in the name of your issue a tag specifying the environment you're using Former in :
44

5-
[L3] Problem with X
6-
[L4] Added X yo Y
7-
[Agnostic] etc.
5+
```
6+
[L3] Problem with X
7+
[L4] Added X yo Y
8+
[Agnostic] etc.
9+
```
810

9-
If you have a code suggestion, do a pull request against the `develop` branch — not **master**.
10-
Don't forget to add a test in the `tests` folder :
11+
If you have a code suggestion, do a pull request against the **develop** branch — not **master**.
12+
13+
Don't forget to add a test in the `tests` folder :
1114
- If it's a feature you're adding, add a test proving it works.
12-
- If it's a bug you're fixing, write a bug proving it doesn't occur anymore.
15+
- If it's a bug you're fixing, write a test proving it doesn't occur anymore.
1316

1417
Thanks for you input and thanks for using Former !

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ Now of course in case you want to set an attribute that actually contains an und
4343

4444
This is the core of it, but Former offers a lot more. I invite you to consult the wiki to see the extend of what Former does.
4545

46+
Former is developed by [Maxime Fabre][] and [Peter Coles][].
47+
4648
-----
4749

4850
### Table of contents
@@ -51,6 +53,8 @@ This is the core of it, but Former offers a lot more. I invite you to consult th
5153
- [Features][]
5254
- [Anatomy][]
5355

56+
[Peter Coles]: http://petercoles.com
57+
[Maxime Fabre]: http://autopergamene.eu
5458
[Anatomy]: https://github.com/Anahkiasen/former/wiki/Anatomy
5559
[Features]: https://github.com/Anahkiasen/former/wiki/Features
5660
[Getting started]: https://github.com/Anahkiasen/former/wiki/Getting-started

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
"illuminate/translation" :"~4"
2727
},
2828
"require-dev": {
29-
"mockery/mockery": "dev-master"
29+
"mockery/mockery": "dev-master",
30+
"illuminate/database": "~4"
3031
},
3132
"autoload": {
3233
"psr-0": {
3334
"Former": "src",
3435
"Laravel": "src"
3536
}
3637
},
37-
"minimum-stability": "dev",
3838
"extra": {
3939
"branch-alias": {
4040
"dev-agnostic": "3.x.x-dev"

0 commit comments

Comments
 (0)