Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
=======
Expand All @@ -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.
Expand Down
39 changes: 39 additions & 0 deletions rockspec/api7-lua-resty-dns-client-7.1.0-0.rockspec
Original file line number Diff line number Diff line change
@@ -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",
},
}