From 4085a26090fae7731bbce31c878398713b52e614 Mon Sep 17 00:00:00 2001 From: Aapo Talvensaari Date: Tue, 3 Sep 2024 13:05:43 +0300 Subject: [PATCH] chore(*): release 1.1.0 ### Summary #### Added - `url:decode` method - `ada.decode` function - `search:decode` method - `search:decode_all` method - `ada.search_encode` function - `ada.search.encode` function - `ada.search_decode` function - `ada.search.decode` function - `ada.search_decode_all` function - `ada.search.decode_all` function #### Changed - The `set_port` to not allow negative or positive inf or NaN #### Updated - The CI is now executed against Ada 2.9.1 Signed-off-by: Aapo Talvensaari --- CHANGES.md | 17 ++++++++++++++++- lib/resty/ada.lua | 2 +- ...1.rockspec => lua-resty-ada-1.1.0-1.rockspec | 4 ++-- 3 files changed, 19 insertions(+), 4 deletions(-) rename lua-resty-ada-1.0.1-1.rockspec => lua-resty-ada-1.1.0-1.rockspec (95%) diff --git a/CHANGES.md b/CHANGES.md index fe4957a..9783eca 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,11 +2,26 @@ All notable changes to `lua-resty-ada` will be documented in this file. +## [1.1.0] - 2024-09-03 +### Added +- `url:decode` method +- `ada.decode` function +- `ada.search_encode` function +- `ada.search.encode` function +- `search:decode` method +- `search:decode_all` method +- `ada.search_decode` function +- `ada.search.decode` function +- `ada.search_decode_all` function +- `ada.search.decode_all` function +### Changed +- The `set_port` to not allow negative or positive inf or NaN +### Updated +- The CI is now executed against Ada 2.9.1 ## [1.0.1] - 2024-08-20 ### Removed - The unnecessary `:is_valid` was removed (the URL is validated when parsed) - ### Added - Explicitly free Ada URL object on invalid URLs diff --git a/lib/resty/ada.lua b/lib/resty/ada.lua index 14ee6d7..fea7b44 100644 --- a/lib/resty/ada.lua +++ b/lib/resty/ada.lua @@ -26,7 +26,7 @@ local setmetatable = setmetatable local _OMITTED = 0xffffffff -local _VERSION = "1.0.1" +local _VERSION = "1.1.0" local function parse_component(c, raw) diff --git a/lua-resty-ada-1.0.1-1.rockspec b/lua-resty-ada-1.1.0-1.rockspec similarity index 95% rename from lua-resty-ada-1.0.1-1.rockspec rename to lua-resty-ada-1.1.0-1.rockspec index 9f9cc5f..6b67c93 100644 --- a/lua-resty-ada-1.0.1-1.rockspec +++ b/lua-resty-ada-1.1.0-1.rockspec @@ -1,8 +1,8 @@ package = "lua-resty-ada" -version = "1.0.1-1" +version = "1.1.0-1" source = { url = "git+https://github.com/bungle/lua-resty-ada.git", - tag = "v1.0.1", + tag = "v1.1.0", } description = { summary = "LuaJIT FFI bindings to Ada — WHATWG-compliant and fast URL parser",