Skip to content

Commit 6d21323

Browse files
committed
Release v2.0.0 🚀
1 parent 3a28cd6 commit 6d21323

File tree

6 files changed

+67
-29
lines changed

6 files changed

+67
-29
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ jobs:
6464
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-build-${{
6565
hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
6666
restore-keys: |
67-
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-build-
67+
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-build-${{
68+
hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
6869
6970
- name: Install Dependencies
7071
run: |

CHANGELOG.md

Lines changed: 55 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,49 @@
11
# Changelog
22

3+
## [v2.0.0](https://github.com/cabol/nebulex_redis_adapter/tree/v2.0.0) (2021-02-20)
4+
5+
[Full Changelog](https://github.com/cabol/nebulex_redis_adapter/compare/v2.0.0-rc.1...v2.0.0)
6+
7+
**Added features:**
8+
9+
- Added support for Nebulex v2.0.0
10+
11+
**Closed issues:**
12+
13+
- Nebulex v2.0.0 support
14+
[#25](https://github.com/cabol/nebulex_redis_adapter/issues/25)
15+
316
## [v2.0.0-rc.1](https://github.com/cabol/nebulex_redis_adapter/tree/v2.0.0-rc.1) (2020-11-29)
417

518
[Full Changelog](https://github.com/cabol/nebulex_redis_adapter/compare/v1.1.1...v2.0.0-rc.1)
619

20+
**Implemented enhancements:**
21+
22+
- Allow storing raw strings, not the whole `Nebulex.Object.t()`
23+
[#15](https://github.com/cabol/nebulex_redis_adapter/issues/15)
24+
725
**Closed issues:**
826

9-
- Compatiblity with nebulex v2.0.0 [#21](https://github.com/cabol/nebulex_redis_adapter/issues/21)
10-
- Update redix dependency version to `~> 0.11` [#19](https://github.com/cabol/nebulex_redis_adapter/issues/19)
11-
- Change redis address is invalid [#14](https://github.com/cabol/nebulex_redis_adapter/issues/14)
27+
- Compatiblity with nebulex v2.0.0-rc.0?
28+
[#21](https://github.com/cabol/nebulex_redis_adapter/issues/21)
29+
- Update redix dependency version to ~> 0.11
30+
[#19](https://github.com/cabol/nebulex_redis_adapter/issues/19)
31+
- change redis address is invalid
32+
[#14](https://github.com/cabol/nebulex_redis_adapter/issues/14)
1233

1334
**Merged pull requests:**
1435

15-
- Overall fixes and enhancements [#24](https://github.com/cabol/nebulex_redis_adapter/pull/24)
36+
- Overall fixes and enhancements
37+
[#24](https://github.com/cabol/nebulex_redis_adapter/pull/24)
1638
([cabol](https://github.com/cabol))
17-
- Migrate to Nebulex v2 [#23](https://github.com/cabol/nebulex_redis_adapter/pull/23)
39+
- Migrate to Nebulex v2
40+
[#23](https://github.com/cabol/nebulex_redis_adapter/pull/23)
1841
([cabol](https://github.com/cabol))
19-
- Fix a small typo in readme [#22](https://github.com/cabol/nebulex_redis_adapter/pull/22)
42+
- Fix a small typo in readme
43+
[#22](https://github.com/cabol/nebulex_redis_adapter/pull/22)
2044
([manusajith](https://github.com/manusajith))
21-
- [#19] redix `~> 0.11` [#20](https://github.com/cabol/nebulex_redis_adapter/pull/20)
45+
- #19 redix ~> 0.11
46+
[#20](https://github.com/cabol/nebulex_redis_adapter/pull/20)
2247
([diogommartins](https://github.com/diogommartins))
2348

2449
## [v1.1.1](https://github.com/cabol/nebulex_redis_adapter/tree/v1.1.1) (2020-01-25)
@@ -27,43 +52,55 @@
2752

2853
**Closed issues:**
2954

30-
- `jchash.start` undefined function [#13](https://github.com/cabol/nebulex_redis_adapter/issues/13)
31-
- Can you release? [#12](https://github.com/cabol/nebulex_redis_adapter/issues/12)
55+
- jchash.start undefined function
56+
[#13](https://github.com/cabol/nebulex_redis_adapter/issues/13)
57+
- Can you release?
58+
[#12](https://github.com/cabol/nebulex_redis_adapter/issues/12)
3259

3360
**Merged pull requests:**
3461

35-
- Compression of data in Redis [#18](https://github.com/cabol/nebulex_redis_adapter/pull/18)
62+
- Compression of data in Redis
63+
[#18](https://github.com/cabol/nebulex_redis_adapter/pull/18)
3664
([vovayartsev](https://github.com/vovayartsev))
37-
- Replaced the redis FLUSHALL command by FLUSHDB [#17](https://github.com/cabol/nebulex_redis_adapter/pull/17)
65+
- Replaced the redis FLUSHALL command by FLUSHDB
66+
[#17](https://github.com/cabol/nebulex_redis_adapter/pull/17)
3867
([Atlas42](https://github.com/Atlas42))
3968
- [#15] Allow storing raw strings, not the whole `Nebulex.Object.t()`
40-
[#16](https://github.com/cabol/nebulex_redis_adapter/pull/16) ([cabol](https://github.com/cabol))
69+
[#16](https://github.com/cabol/nebulex_redis_adapter/pull/16)
70+
([cabol](https://github.com/cabol))
4171

4272
## [v1.1.0](https://github.com/cabol/nebulex_redis_adapter/tree/v1.1.0) (2019-05-11)
4373

4474
[Full Changelog](https://github.com/cabol/nebulex_redis_adapter/compare/v1.0.0...v1.1.0)
4575

4676
**Implemented enhancements:**
4777

48-
- Default cluster support [#10](https://github.com/cabol/nebulex_redis_adapter/issues/10)
78+
- Default cluster support
79+
[#10](https://github.com/cabol/nebulex_redis_adapter/issues/10)
4980

5081
**Closed issues:**
5182

52-
- Redis Clustering on Redis 4+ without Sentinel [#8](https://github.com/cabol/nebulex_redis_adapter/issues/8)
83+
- Redis Clustering on Redis 4+ without Sentinel
84+
[#8](https://github.com/cabol/nebulex_redis_adapter/issues/8)
5385

5486
**Merged pull requests:**
5587

56-
- Cluster Support [#11](https://github.com/cabol/nebulex_redis_adapter/pull/11) ([cabol](https://github.com/cabol))
88+
- Cluster Support
89+
[#11](https://github.com/cabol/nebulex_redis_adapter/pull/11)
90+
([cabol](https://github.com/cabol))
5791

5892
## [v1.0.0](https://github.com/cabol/nebulex_redis_adapter/tree/v1.0.0) (2018-12-12)
5993

6094
[Full Changelog](https://github.com/cabol/nebulex_redis_adapter/compare/21160dbff1d8a6df333dc5c35fef46964649470b...v1.0.0)
6195

6296
**Implemented enhancements:**
6397

64-
- Add TravisCI support [#7](https://github.com/cabol/nebulex_redis_adapter/issues/7)
65-
- Implement `Nebulex.Adapter.Transaction` interface [#2](https://github.com/cabol/nebulex_redis_adapter/issues/2)
66-
- Implement `Nebulex.Adapter.Queryable` behaviour [#1](https://github.com/cabol/nebulex_redis_adapter/issues/1)
98+
- Add TravisCI support
99+
[#7](https://github.com/cabol/nebulex_redis_adapter/issues/7)
100+
- Implement `Nebulex.Adapter.Transaction` interface
101+
[#2](https://github.com/cabol/nebulex_redis_adapter/issues/2)
102+
- Implement `Nebulex.Adapter.Queryable` behaviour
103+
[#1](https://github.com/cabol/nebulex_redis_adapter/issues/1)
67104

68105

69106

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Add `nebulex_redis_adapter` to your list of dependencies in `mix.exs`:
2626
```elixir
2727
defp deps do
2828
[
29-
{:nebulex_redis_adapter, "~> 2.0.0-rc.1"},
29+
{:nebulex_redis_adapter, "~> 2.0.0"},
3030
{:crc, "~> 0.10"}, #=> Needed when using Redis Cluster
3131
{:jchash, "~> 0.1.2"} #=> Needed when using consistent-hashing
3232
]

lib/nebulex_redis_adapter.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ defmodule NebulexRedisAdapter do
244244
Therefore, the adapter injects two additional/extended functions to the
245245
defined cache: `command!/3` and `pipeline!/3`.
246246
247-
### `command!(key \\ nil, name \\ __MODULE__, command)
247+
### `command!(key \\ nil, name \\ __MODULE__, command)`
248248
249249
iex> MyCache.command!("mylist", ["LPUSH", "mylist", "world"])
250250
1
@@ -253,7 +253,7 @@ defmodule NebulexRedisAdapter do
253253
iex> MyCache.command!("mylist", ["LRANGE", "mylist", "0", "-1"])
254254
["hello", "world"]
255255
256-
### `pipeline!(key \\ nil, name \\ __MODULE__, commands)
256+
### `pipeline!(key \\ nil, name \\ __MODULE__, commands)`
257257
258258
iex> cache.pipeline!("mylist", [
259259
...> ["LPUSH", "mylist", "world"],

mix.exs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ defmodule NebulexRedisAdapter.MixProject do
22
use Mix.Project
33

44
@source_url "https://github.com/cabol/nebulex_redis_adapter"
5-
@version "2.0.0-rc.2"
6-
@nbx_vsn "2.0.0-rc.2"
5+
@version "2.0.0"
6+
@nbx_vsn "2.0.0"
77

88
def project do
99
[
@@ -69,16 +69,15 @@ defmodule NebulexRedisAdapter.MixProject do
6969
if path = System.get_env("NEBULEX_PATH") do
7070
{:nebulex, "~> #{@nbx_vsn}", path: path}
7171
else
72-
# {:nebulex, "~> #{@nbx_vsn}"}
73-
{:nebulex, github: "cabol/nebulex"}
72+
{:nebulex, "~> #{@nbx_vsn}"}
7473
end
7574
end
7675

7776
defp aliases do
7877
[
7978
"nbx.setup": [
8079
"cmd rm -rf nebulex",
81-
"cmd git clone --depth 1 --branch master https://github.com/cabol/nebulex"
80+
"cmd git clone --depth 1 --branch v2.0.0 https://github.com/cabol/nebulex"
8281
],
8382
check: [
8483
"compile --warnings-as-errors",

mix.lock

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
"crc": {:hex, :crc, "0.10.1", "87a0478e5a930926f1062397c9eb32d981f6b3abbc352d6d6fecf45a1725b249", [:mix, :rebar3], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "ed3a9a673d4726fd12d6f58811f014e33cb3926b28f9639b12456ccb241d0f9b"},
88
"credo": {:hex, :credo, "1.5.5", "e8f422026f553bc3bebb81c8e8bf1932f498ca03339856c7fec63d3faac8424b", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2.8", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "dd8623ab7091956a855dc9f3062486add9c52d310dfd62748779c4315d8247de"},
99
"deep_merge": {:hex, :deep_merge, "1.0.0", "b4aa1a0d1acac393bdf38b2291af38cb1d4a52806cf7a4906f718e1feb5ee961", [:mix], [], "hexpm", "ce708e5f094b9cd4e8f2be4f00d2f4250c4095be93f8cd6d018c753894885430"},
10-
"dialyxir": {:hex, :dialyxir, "1.0.0", "6a1fa629f7881a9f5aaf3a78f094b2a51a0357c843871b8bc98824e7342d00a5", [:mix], [{:erlex, ">= 0.2.6", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "aeb06588145fac14ca08d8061a142d52753dbc2cf7f0d00fc1013f53f8654654"},
10+
"dialyxir": {:hex, :dialyxir, "1.1.0", "c5aab0d6e71e5522e77beff7ba9e08f8e02bad90dfbeffae60eaf0cb47e29488", [:mix], [{:erlex, ">= 0.2.6", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "07ea8e49c45f15264ebe6d5b93799d4dd56a44036cf42d0ad9c960bc266c0b9a"},
1111
"earmark_parser": {:hex, :earmark_parser, "1.4.12", "b245e875ec0a311a342320da0551da407d9d2b65d98f7a9597ae078615af3449", [:mix], [], "hexpm", "711e2cc4d64abb7d566d43f54b78f7dc129308a63bc103fbd88550d2174b3160"},
1212
"elixir_make": {:hex, :elixir_make, "0.6.2", "7dffacd77dec4c37b39af867cedaabb0b59f6a871f89722c25b28fcd4bd70530", [:mix], [], "hexpm", "03e49eadda22526a7e5279d53321d1cced6552f344ba4e03e619063de75348d9"},
1313
"erlex": {:hex, :erlex, "0.2.6", "c7987d15e899c7a2f34f5420d2a2ea0d659682c06ac607572df55a43753aa12e", [:mix], [], "hexpm", "2ed2e25711feb44d52b17d2780eabf998452f6efda104877a3881c2f8c0c0c75"},
1414
"ex_doc": {:hex, :ex_doc, "0.23.0", "a069bc9b0bf8efe323ecde8c0d62afc13d308b1fa3d228b65bca5cf8703a529d", [:mix], [{:earmark_parser, "~> 1.4.0", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm", "f5e2c4702468b2fd11b10d39416ddadd2fcdd173ba2a0285ebd92c39827a5a16"},
15-
"excoveralls": {:hex, :excoveralls, "0.13.4", "7b0baee01fe150ef81153e6ffc0fc68214737f54570dc257b3ca4da8e419b812", [:mix], [{:hackney, "~> 1.16", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "faae00b3eee35cdf0342c10b669a7c91f942728217d2a7c7f644b24d391e6190"},
15+
"excoveralls": {:hex, :excoveralls, "0.14.0", "4b562d2acd87def01a3d1621e40037fdbf99f495ed3a8570dfcf1ab24e15f76d", [:mix], [{:hackney, "~> 1.16", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "94f17478b0cca020bcd85ce7eafea82d2856f7ed022be777734a2f864d36091a"},
1616
"file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"},
1717
"hackney": {:hex, :hackney, "1.17.0", "717ea195fd2f898d9fe9f1ce0afcc2621a41ecfe137fae57e7fe6e9484b9aa99", [:rebar3], [{:certifi, "~>2.5", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "~>6.1.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "~>1.0.0", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~>1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:parse_trans, "~>3.3", [hex: :parse_trans, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "~>1.1.0", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}, {:unicode_util_compat, "~>0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "64c22225f1ea8855f584720c0e5b3cd14095703af1c9fbc845ba042811dc671c"},
1818
"idna": {:hex, :idna, "6.1.1", "8a63070e9f7d0c62eb9d9fcb360a7de382448200fbbd1b106cc96d3d8099df8d", [:rebar3], [{:unicode_util_compat, "~>0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "92376eb7894412ed19ac475e4a86f7b413c1b9fbb5bd16dccd57934157944cea"},
@@ -22,6 +22,7 @@
2222
"makeup_elixir": {:hex, :makeup_elixir, "0.15.1", "b5888c880d17d1cc3e598f05cdb5b5a91b7b17ac4eaf5f297cb697663a1094dd", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.1", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "db68c173234b07ab2a07f645a5acdc117b9f99d69ebf521821d89690ae6c6ec8"},
2323
"metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], [], "hexpm", "69b09adddc4f74a40716ae54d140f93beb0fb8978d8636eaded0c31b6f099f16"},
2424
"mimerl": {:hex, :mimerl, "1.2.0", "67e2d3f571088d5cfd3e550c383094b47159f3eee8ffa08e64106cdf5e981be3", [:rebar3], [], "hexpm", "f278585650aa581986264638ebf698f8bb19df297f66ad91b18910dfc6e19323"},
25+
"nebulex": {:hex, :nebulex, "2.0.0", "d33dc5a2b96ba09e5eb1c90e53dd1d036b0c006f1bb379bcc5c10acd0b140d6d", [:mix], [{:decorator, "~> 1.3", [hex: :decorator, repo: "hexpm", optional: true]}, {:shards, "~> 1.0", [hex: :shards, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4", [hex: :telemetry, repo: "hexpm", optional: true]}], "hexpm", "411c707e455408ae79ae7bfe7ada125967d016b83ff2a4e9763fd7cc2dd9372d"},
2526
"nimble_parsec": {:hex, :nimble_parsec, "1.1.0", "3a6fca1550363552e54c216debb6a9e95bd8d32348938e13de5eda962c0d7f89", [:mix], [], "hexpm", "08eb32d66b706e913ff748f11694b17981c0b04a33ef470e33e11b3d3ac8f54b"},
2627
"parse_trans": {:hex, :parse_trans, "3.3.1", "16328ab840cc09919bd10dab29e431da3af9e9e7e7e6f0089dd5a2d2820011d8", [:rebar3], [], "hexpm", "07cd9577885f56362d414e8c4c4e6bdf10d43a8767abb92d24cbe8b24c54888b"},
2728
"redix": {:hex, :redix, "1.0.0", "4f310341744ffceab3031394450a4e603d4d1001a697c3f18ae57ae776cbd3fb", [:mix], [{:castore, "~> 0.1.0", [hex: :castore, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "8c8d9b33b5491737adcd5bb9e0f43b85212a384ac0042f64c156113518266ecb"},

0 commit comments

Comments
 (0)