-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd0460f
commit 59a0304
Showing
3 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
# Changelog | ||
|
||
## v0.5.0 (TBA) | ||
## v0.5.0 (2019-05-08) | ||
|
||
This is a full rewrite of the library, and areseveral breaking changes. You're encouraged to test your app well if you upgrade from 0.4. | ||
This is a full rewrite of the library, and are several breaking changes. You're encouraged to test your app well if you upgrade from 0.4. | ||
|
||
### Upgrading from 0.4 | ||
|
||
#### 1. Schema modules | ||
|
||
Schema modules are now generated when installing ExOauth2Provider. To upgrade please run `mix ex_oauth2_provider.install --no-config --no-migrations` to generate the schema files. | ||
Schema modules are now generated when installing ExOauth2Provider. To upgrade please run `mix ex_oauth2_provider.install --no-migrations` to generate the schema files. | ||
|
||
#### 2. Configuration | ||
|
||
Config now has the form `config :my_app, ExOauth2Provider`. You can still use the previous `config :ex_oauth2_provider` configuration, but are encouraged to switch over to the app specific configuration. | ||
Config now has the form `config :my_app, ExOauth2Provider`. You can still use the previous `config :ex_oauth2_provider, ExOauth2Provider` configuration, but you are encouraged to switch over to the app specific configuration. | ||
|
||
#### 3. Resource owner UUID configuration | ||
|
||
If your configuration has `:resource_owner` setting with a UUID, you should remove it and only use the module name for your user schema. UUID is now handled in the schema modules directly. | ||
If your configuration has `:resource_owner` setting with a UUID, you should remove it and only use the module name for your user schema. UUID is now handled in the schema modules directly. | ||
|
||
The schemas can be generated with `mix ex_oauth2_provider.install --no-migrations --binary-id`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters