Skip to content

Commit

Permalink
Add support for FormGenerator 3.0.0 and 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Jan 25, 2019
1 parent dbac7a4 commit ef6eb3b
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 12 deletions.
35 changes: 25 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,51 @@
# Change Log

## 2.0.9
## [2.1.0]
- Add support for FormGenerator v3.0.0

## [2.0.9]
- Fix rollback migrations.

## 2.0.8
## [2.0.8]
- Fix migrations dependencies for future UF Version.

## 2.0.7
## [2.0.7]
- Fix migrations.

## 2.0.6
## [2.0.6]
- New `forProfileFieldsValue` scope (Usage :: `$groups = Group::forProfileFieldsValue($slug, $value);`) and `getProfileFieldsForSlug` custom mutator (Usage :: `$fieldValue = Group::getProfileFieldsForSlug($slug);`) both User and Group custom Models.

## 2.0.5
## [2.0.5]
- Update controller from core one

## 2.0.4
## [2.0.4]
- Fix db issue with group profile (Need to run new migration)

## 2.0.3
## [2.0.3]
- Updated Readme
- Fix issue with cache

## 2.0.2
## [2.0.2]
- Fix issue where field value wound't display in user and group profile

## 2.0.1
## [2.0.1]
- Updated FormGenerator dependencies

## 2.0.0
## [2.0.0]
- First official release
- Updated for UserFrosting v4.1.x

## 0.0.1
- Initial beta release

[2.1.0]: https://github.com/lcharette/UF_UserProfile/compare/2.0.9...2.1.0
[2.0.9]: https://github.com/lcharette/UF_UserProfile/compare/2.0.8...2.0.9
[2.0.8]: https://github.com/lcharette/UF_UserProfile/compare/2.0.7...2.0.8
[2.0.7]: https://github.com/lcharette/UF_UserProfile/compare/2.0.6...2.0.7
[2.0.6]: https://github.com/lcharette/UF_UserProfile/compare/2.0.5...2.0.6
[2.0.5]: https://github.com/lcharette/UF_UserProfile/compare/2.0.4...2.0.5
[2.0.4]: https://github.com/lcharette/UF_UserProfile/compare/2.0.3...2.0.4
[2.0.3]: https://github.com/lcharette/UF_UserProfile/compare/2.0.2...2.0.3
[2.0.2]: https://github.com/lcharette/UF_UserProfile/compare/2.0.1...2.0.2
[2.0.1]: https://github.com/lcharette/UF_UserProfile/compare/2.0.0...2.0.1
[2.0.0]: https://github.com/lcharette/UF_UserProfile/compare/0.0.1...2.0.0
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Custom User Profile Field Sprinkle for [UserFrosting 4](https://www.userfrosting.com)

[![UserFrosting Version](https://img.shields.io/badge/UserFrosting->=%204.2-brightgreen.svg)](https://github.com/userfrosting/UserFrosting) [![Donate](https://img.shields.io/badge/Donate-Buy%20Me%20a%20Coffee-brightgreen.svg)](https://ko-fi.com/A7052ICP)
[![Latest Version](https://img.shields.io/github/release/lcharette/UF_UserProfile.svg)](https://github.com/lcharette/UF_UserProfile/releases)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)
[![UserFrosting Version](https://img.shields.io/badge/UserFrosting->=%204.1-brightgreen.svg)](https://github.com/userfrosting/UserFrosting)
[![StyleCI](https://github.styleci.io/repos/83981830/shield?branch=master&style=flat)](https://github.styleci.io/repos/83981830)
[![Donate](https://img.shields.io/badge/Donate-Buy%20Me%20a%20Coffee-blue.svg)](https://ko-fi.com/A7052ICP)

This Sprinkle makes it easy to add any custom fields to the user or group model. Simply create a new schema in you own sprinkle and you're done. Your new profile fields will be automatically integrated in the default UserFrosting interface.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"require": {
"php": ">=5.6",
"lcharette/uf_formgenerator": "^3.0.0-beta"
"lcharette/uf_formgenerator": "^2.1.0 || ^3.0.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit ef6eb3b

Please sign in to comment.