Skip to content

Commit

Permalink
Roll version
Browse files Browse the repository at this point in the history
  • Loading branch information
danschultzer committed May 8, 2019
1 parent cd0460f commit 59a0304
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions CHANGELOG.md
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`.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Add ExOauth2Provider to your list of dependencies in `mix.exs`:
def deps do
[
# ...
{:ex_oauth2_provider, "~> 0.4.4"}
{:ex_oauth2_provider, "~> 0.5.0"}
# ...
]
end
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule ExOauth2Provider.Mixfile do
use Mix.Project

@version "0.4.4"
@version "0.5.0"

def project do
[app: :ex_oauth2_provider,
Expand Down

0 comments on commit 59a0304

Please sign in to comment.