Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release/v1.4.1 #175

Merged
merged 4 commits into from
Dec 12, 2023
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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.4.1](https://github.com/stone-payments/kong-plugin-template-transformer/compare/v1.4.0...v1.4.1) (2023-12-12)


### Bug Fixes

* Makes encoding always transform empty tables into arrays ([5be78f7](https://github.com/stone-payments/kong-plugin-template-transformer/commit/5be78f78ef0663d99e260a6fcc29c2b111af818f))

## [1.4.0](https://github.com/stone-payments/kong-plugin-template-transformer/compare/v1.3.0...v1.4.0) (2023-11-27)


Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DEV_ROCKS = "lua-cjson 2.1.0.10-1" "kong 3.0.2" "luacov 0.12.0" "busted 2.0.0-1" "luacov-cobertura 0.2-1" "luacheck 0.20.0" "lua-resty-template 1.9-1"
PROJECT_FOLDER = template-transformer
LUA_PROJECT = kong-plugin-template-transformer
VERSION = 1.4.0-0
VERSION = 1.4.1-0

rockspec:
cp rockspec.template kong-plugin-template-transformer-$(VERSION).rockspec
Expand Down
4 changes: 2 additions & 2 deletions rockspec.template
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package = "kong-plugin-template-transformer"
version = "1.4.0-0"
version = "1.4.1-0"
source = {
url = "git://github.com/stone-payments/kong-plugin-template-transformer",
branch = "master",
tag = "v1.4.0",
tag = "v1.4.1",
}
description = {
summary = "A Kong plugin that enables template transforming",
Expand Down
3 changes: 2 additions & 1 deletion template-transformer/handler.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local cjson = require('cjson.safe').new()
cjson.decode_array_with_array_mt(true)
cjson.encode_empty_table_as_object(false)
local cjson_decode = cjson.decode
local cjson_encode = cjson.encode

Expand All @@ -15,7 +16,7 @@ local gsub = string.gsub
local gmatch = string.gmatch
local TemplateTransformerHandler = {
PRIORITY = 801,
VERSION = "1.4.0"
VERSION = "1.4.1"
}

local template_transformer = require 'kong.plugins.kong-plugin-template-transformer.template_transformer'
Expand Down
Loading