Current section
24 Versions
Jump to
Current section
24 Versions
Compare versions
4
files changed
+17
additions
-10
deletions
| @@ -1,5 +1,12 @@ | |
| 1 1 | # Changelog |
| 2 2 | |
| 3 | + ## v2.0.1 (2022-07-01) |
| 4 | + |
| 5 | + ### Tests |
| 6 | + |
| 7 | + - Added test for 100% coverage. |
| 8 | + |
| 9 | + |
| 3 10 | ## v2.0.0 (2022-06-30) |
| 4 11 | |
| 5 12 | ### Added |
| @@ -27,18 +34,18 @@ | |
| 27 34 | |
| 28 35 | ### Breaking Changes |
| 29 36 | |
| 30 | - - Reverse argument order for `Puid.Entropy` helper functions |
| 37 | + - Removed `charset` option for pre-defined characters |
| 38 | + - Use the `chars` option instead |
| 39 | + - Removed pre-defined `printable_ascii` |
| 40 | + - Replaced by `safe_ascii` (no backslash, backtick, single-quote or double-quote) |
| 41 | + - Reverse argument order for `Puid.Entropy` utility functions |
| 31 42 | - Allows idiomatic Elixir use. Note these functions are rarely used directly. |
| 32 43 | |
| 33 | - ### Removed |
| 44 | + ### Deprecated |
| 34 45 | |
| 35 | - - Deprecated functions |
| 46 | + - Removed deprecated functions |
| 36 47 | - `Puid.Entropy.bits_for_length/2` |
| 37 48 | - `Puid.Entropy.bits_for_length!/2` |
| 38 | - - `charset` option for pre-defined characters |
| 39 | - - Use the `chars` option instead |
| 40 | - - Pre-defined `printable_ascii` |
| 41 | - - Replaced by `safe_ascii` (no backslash, backtick, single-quote or double-quote) |
| 42 49 | |
| 43 50 | ## v1.1.2 (2021-09-15) |
| @@ -17,4 +17,4 @@ | |
| 17 17 | {<<"README">>,<<"https://puid.github.io/Elixir/">>}]}. |
| 18 18 | {<<"name">>,<<"puid">>}. |
| 19 19 | {<<"requirements">>,[]}. |
| 20 | - {<<"version">>,<<"2.0.0">>}. |
| 20 | + {<<"version">>,<<"2.0.1">>}. |
| @@ -262,7 +262,7 @@ defmodule Puid.Chars do | |
| 262 262 | end |
| 263 263 | |
| 264 264 | # |
| 265 | - # Non-escaped chars are ?! thru ?~, omitting backslash and single/double-quotes |
| 265 | + # Safa ascii chars are ?! thru ?~, omitting backslash, backtick and single/double-quotes |
| 266 266 | # |
| 267 267 | defp safe_ascii?(?!), do: true |
| 268 268 | defp safe_ascii?(c) when c < ?#, do: false |
| @@ -4,7 +4,7 @@ defmodule Puid.Mixfile do | |
| 4 4 | def project do |
| 5 5 | [ |
| 6 6 | app: :puid, |
| 7 | - version: "2.0.0", |
| 7 | + version: "2.0.1", |
| 8 8 | elixir: "~> 1.8", |
| 9 9 | description: description(), |
| 10 10 | package: package(), |