Skip to content

Commit

Permalink
chore(deps): bump penlight to 1.14.0 (#12862)
Browse files Browse the repository at this point in the history
* chore(deps): bump penlight to 1.14.0

* tests(request-transformer): now penlight template compile will preserve line number
  • Loading branch information
windmgc authored Apr 16, 2024
1 parent 0db4b62 commit f265d52
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelog/unreleased/kong/bump-penlight.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
message: "Bumped penlight to 1.14.0"
type: dependency
scope: Core
2 changes: 1 addition & 1 deletion kong-3.7.0-0.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies = {
"inspect == 3.1.3",
"luasec == 1.3.2",
"luasocket == 3.0-rc1",
"penlight == 1.13.1",
"penlight == 1.14.0",
"lua-resty-http == 0.17.1",
"lua-resty-jit-uuid == 0.0.7",
"lua-ffi-zlib == 0.6",
Expand Down
2 changes: 1 addition & 1 deletion spec/03-plugins/36-request-transformer/02-access_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2127,7 +2127,7 @@ describe("Plugin: request-transformer(access) [#" .. strategy .. "]", function()
assert.response(r).has.status(500)
end)
it("rendering error (header) is correctly propagated in error.log, issue #25", function()
local pattern = [[error:%[string "TMP"%]:4: attempt to call global 'foo' %(a nil value%)]]
local pattern = [[error:%[string "TMP"%]:1: attempt to call global 'foo' %(a nil value%)]]
local start_count = count_log_lines(pattern)

local r = assert(client:send {
Expand Down

1 comment on commit f265d52

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:f265d5290ff76ed7b85cf512e59652b2a768554c
Artifacts available https://github.com/Kong/kong/actions/runs/8700023165

Please sign in to comment.