File tree Expand file tree Collapse file tree 3 files changed +37
-6
lines changed Expand file tree Collapse file tree 3 files changed +37
-6
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+
4+ ## Version 0.3.0
5+
6+ ### Changes
7+
8+ - * breaking* Updates ` mix.exs ` with new dependencies, closes [ #14 ] ( https://github.com/sobolevn/ecto_autoslug_field/issues/14 )
9+ - * breaking* Drops ` elixir ` version 1.2 and ` otp ` version 17 support
10+
11+ ### Improvements
12+
13+ - Updates ` cast/4 ` functions to ` cast/3 ` functions (new Ecto)
14+ - Updates ` credo ` version and ` .credo.exs ` config
15+ - Updates ` .travis.yml ` with credo and new ` otp ` release
16+
17+ ### Bugs
18+
19+ - Fixes dialyxer issues, closes [ #10 ] ( https://github.com/sobolevn/ecto_autoslug_field/issues/10 )
20+
21+ ### Documentation
22+
23+ - Updates docs, fixes spelling
24+
25+
326## Version 0.2.1
427
528- Added ` credo ` support
629- Added ` elixir ` version 1.4 support
730
31+
832## Version 0.2.0
933
1034- Since this version only ` ecto ` 2 and above are supported
1135- Updated docs on how to use this package with older ` ecto `
1236- Credo is not working with this release, please see https://github.com/sobolevn/ecto_autoslug_field/issues/5
1337
38+
1439## Version 0.1.3
1540
1641- Now ` build_slug/1 ` is called only when needed, changed docs appropriately
1742- Replaced ` cond ` inside ` do_generate_slug/3 ` with more obvious ` if `
1843- Changed tests structure, reached 100% coverage
1944
45+
2046## Version 0.1.2
2147
2248- Moved ` get_sources/2 ` and ` build_slug/1 ` definitions into ` SlugBase `
2349- Added ` ## Options ` and ` ## Function ` section to the ` README.md `
2450- Added new tests
2551
52+
2653## Version 0.1.1
2754
2855- Since the docs inside ` __using__ ` were unreachable the design of application was changed
2956- Now ` opts ` keyword-list contains ` :slug_build ` parameter with a ` build_slug ` callback
3057- Also ` coverage ` information is updated, since more code is reachable now
3158
59+
3260## Version 0.1.0
3361
3462- Initial release
Original file line number Diff line number Diff line change @@ -12,14 +12,17 @@ You can find the full documentation online: [docs](https://hexdocs.pm/ecto_autos
1212
1313``` elixir
1414def deps do
15- # installation via hex (version 0.2 only supports Ecto >= 2.0 ):
16- [{:ecto_autoslug_field , " ~> 0.2 " }]
15+ # installation via hex (version 0.3 only supports `{:ecto, "~> 2.1"}` ):
16+ [{:ecto_autoslug_field , " ~> 0.3 " }]
1717
1818 # if you want to use github:
1919 # [{:ecto_autoslug_field, github: "sobolevn/ecto_autoslug_field"}]
2020
21+ # if you need support for `{:ecto, "~> 2.0"}`:
22+ # [{:ecto_autoslug_field, "~> 0.2"}]
23+
2124 # if you need support for older Ecto versions (< 2.0):
22- # [{:ecto_autoslug_field, "0.1.3"}]
25+ # [{:ecto_autoslug_field, "~> 0.1.3"}]
2326end
2427```
2528
@@ -33,8 +36,8 @@ Required:
3336
3437Optional:
3538
36- - ` :from ` - represents the source fields from which to build slug, if this option is not set you have to ovveride ` get_sources/2 ` function
37- - ` :always_change ` - if this option is set slug will be recreated from the givven sources each time ` maybe_generate_slug ` function is called
39+ - ` :from ` - represents the source fields from which to build slug, if this option is not set you have to override ` get_sources/2 ` function
40+ - ` :always_change ` - if this option is set slug will be recreated from the given sources each time ` maybe_generate_slug ` function is called
3841
3942## Functions
4043
Original file line number Diff line number Diff line change 11defmodule EctoAutoslugField.Mixfile do
22 use Mix.Project
33
4- @ version "0.2.1 "
4+ @ version "0.3.0 "
55 @ url "https://github.com/sobolevn/ecto_autoslug_field"
66
77 def project do
You can’t perform that action at this time.
0 commit comments