From d976ca89057bc0194cf040ede4c9a5d844a9b037 Mon Sep 17 00:00:00 2001 From: rongxin Date: Wed, 31 Dec 2025 13:29:26 +0800 Subject: [PATCH] feat: release v7.1.0 --- .github/workflows/release.yml | 2 +- README.md | 11 ++++-- ...api7-lua-resty-dns-client-7.1.0-0.rockspec | 39 +++++++++++++++++++ 3 files changed, 48 insertions(+), 4 deletions(-) create mode 100644 rockspec/api7-lua-resty-dns-client-7.1.0-0.rockspec diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c3fdc98..836024a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Lua uses: leafo/gh-actions-lua@v8 diff --git a/README.md b/README.md index daf0dbb..f710dcb 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,6 @@ License: [Apache 2.0](https://opensource.org/licenses/Apache-2.0) Revision history: -### 7.0.1 (08-Dec-2022) - -- Feat: support run in stream subsystem. [PR 1](https://github.com/api7/lua-resty-dns-client/pull/1) Testing ======= @@ -56,6 +53,14 @@ Release process: 4. commit and tag the release 5. upload rock to LuaRocks +### 7.1.0 (31-dec-2025) + +* feat: only cache final target record when dns sever response. [PR 7](https://github.com/api7/lua-resty-dns-client/pull/7) + +### 7.0.1 (08-Dec-2022) + +- Feat: support run in stream subsystem. [PR 1](https://github.com/api7/lua-resty-dns-client/pull/1) + ### 6.0.2 (05-Jul-2021) - Fix: `validTtl` should not be used for host-file entries. diff --git a/rockspec/api7-lua-resty-dns-client-7.1.0-0.rockspec b/rockspec/api7-lua-resty-dns-client-7.1.0-0.rockspec new file mode 100644 index 0000000..a5c726b --- /dev/null +++ b/rockspec/api7-lua-resty-dns-client-7.1.0-0.rockspec @@ -0,0 +1,39 @@ +package = "api7-lua-resty-dns-client" +version = "7.1.0-0" +source = { + url = "git://github.com/api7/lua-resty-dns-client", + tag = "v7.1.0", +} + +description = { + summary = "DNS library", + detailed = [[ + DNS client library. Including utilities to parse configuration files and + a load balancers for round-robin, consistent-hashing, and least- + connections approaches. + ]], + homepage = "https://github.com/api7/lua-resty-dns-client", + license = "Apache 2.0" +} + +dependencies = { + "lua >= 5.1, < 5.4", + "penlight ~> 1", + "lrandom", + "lua-resty-timer ~> 1", + "binaryheap >= 0.4", + "luaxxhash >= 1.0", +} + +build = { + type = "builtin", + modules = { + ["resty.dns.utils"] = "src/resty/dns/utils.lua", + ["resty.dns.client"] = "src/resty/dns/client.lua", + ["resty.dns.balancer.base"] = "src/resty/dns/balancer/base.lua", + ["resty.dns.balancer.consistent_hashing"] = "src/resty/dns/balancer/consistent_hashing.lua", + ["resty.dns.balancer.least_connections"] = "src/resty/dns/balancer/least_connections.lua", + ["resty.dns.balancer.handle"] = "src/resty/dns/balancer/handle.lua", + ["resty.dns.balancer.round_robin"] = "src/resty/dns/balancer/round_robin.lua", + }, +}