Skip to content

Commit

Permalink
release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
achempion committed Feb 4, 2020
1 parent 940d5b7 commit 8dcaede
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 6 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Changelog

## v1.0.0 (2020-02-04)
* remove poison and update dependencies (#30)
* define remote url as an attribute #29
* respect spaces in remote filenames (#28)

### Upgrade instructions
`ExAws` dependency was upgraded to the current version. Since most of
community packages are migrating to `Jason` as a default library to
work with JSON, we've decided to migrate `Waffle` as well. You can
still use `Poison` as your JSON adapter, in such case just add it as a
dependency.

#### Before
```
config :ex_aws,
...
```
#### After
```
config :ex_aws,
json_codec: Jason
```

## v0.0.4 (2019-12-16)
* Fixes link to waffle_ecto (#16)
* add credo to project (#17)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Add the latest stable release to your `mix.exs` file, along with the required de
```elixir
defp deps do
[
{:waffle, "~> 0.0.4"},
{:waffle, "~> 1.0.0"},

# If using S3:
{:ex_aws, "~> 2.1"},
Expand All @@ -45,7 +45,7 @@ Waffle expects certain properties to be configured at the application level:
```elixir
config :waffle,
storage: Waffle.Storage.S3, # or Waffle.Storage.Local
bucket: {:system, "AWS_S3_BUCKET"}, # if using Amazon s3
bucket: {:system, "AWS_S3_BUCKET"}, # if using S3
asset_host: "http://static.example.com" # or {:system, "ASSET_HOST"}

# If using S3:
Expand Down
10 changes: 7 additions & 3 deletions lib/waffle.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ defmodule Waffle do
defp deps do
[
{:waffle, "~> 0.0.4"},
{:waffle, "~> 1.0.0"},
# If using Amazon S3:
# If using S3:
{:ex_aws, "~> 2.1"},
{:ex_aws_s3, "~> 2.0"},
{:hackney, "~> 1.9"},
Expand All @@ -27,9 +27,13 @@ defmodule Waffle do
config :waffle,
storage: Waffle.Storage.S3, # or Waffle.Storage.Local
bucket: {:system, "AWS_S3_BUCKET"}, # if using Amazon s3
bucket: {:system, "AWS_S3_BUCKET"}, # if using S3
asset_host: "http://static.example.com" # or {:system, "ASSET_HOST"}
# If using S3:
config :ex_aws,
json_codec: Jason
Along with any configuration necessary for ExAws.
## Storage Providers
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 Waffle.Mixfile do
use Mix.Project

@version "0.0.4"
@version "1.0.0"

def project do
[app: :waffle,
Expand Down

0 comments on commit 8dcaede

Please sign in to comment.