diff --git a/CHANGELOG.md b/CHANGELOG.md
index 637a298f..adb2986e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,15 @@
## [Unreleased]
+
+## [0.8.12] - 2022-10-13
+### bug fixes
+- **x509.\*:** fix set_extension will fail when a extension with same NID is not exist yet ([#75](https://github.com/fffonion/lua-resty-openssl/issues/75)) [b2f57b8](https://github.com/fffonion/lua-resty-openssl/commit/b2f57b860509a371ab1df71bbbc9e176e5a4d004)
+
+### features
+- **x509.altname:** support set and get IP addresses ([#74](https://github.com/fffonion/lua-resty-openssl/issues/74)) [363c80d](https://github.com/fffonion/lua-resty-openssl/commit/363c80d1f2c7ba29dce268e213a9a16c9eae2953)
+
+
## [0.8.11] - 2022-10-12
### performance improvements
@@ -342,8 +351,8 @@
- **autogen:** generate tests for x509, csr and crl [1392428](https://github.com/fffonion/lua-resty-openssl/commit/1392428352164d2a1a6e0c03075ff65b55aecdee)
- **objects:** add helper function for ASN1_OBJECT [d037706](https://github.com/fffonion/lua-resty-openssl/commit/d037706c11d716afe3616bdaf4658afc1763081d)
- **pkey:** asymmetric encryption and decryption [6d60451](https://github.com/fffonion/lua-resty-openssl/commit/6d60451157edbf9cefb634f888dfa3e6d9be302f)
-- **x509:** getter/setters for extensions [243f40d](https://github.com/fffonion/lua-resty-openssl/commit/243f40d35562a516f404188a5c7eb8f5134d9b30)
- **x509:** add get_ocsp_url and get_crl_url [6141b6f](https://github.com/fffonion/lua-resty-openssl/commit/6141b6f5aed38706b477a71d8c4383bf55da7eee)
+- **x509:** getter/setters for extensions [243f40d](https://github.com/fffonion/lua-resty-openssl/commit/243f40d35562a516f404188a5c7eb8f5134d9b30)
- **x509.altname:** support iterate and decode over the stack [083a201](https://github.com/fffonion/lua-resty-openssl/commit/083a201746e02d51f6c5c640ad9bf8c6730ebe0b)
- **x509.crl:** add crl module [242f8cb](https://github.com/fffonion/lua-resty-openssl/commit/242f8cb45d6c2df5918f26540c92a430d42feb5d)
- **x509.csr:** autogen some csr functions as well [9800e36](https://github.com/fffonion/lua-resty-openssl/commit/9800e36c2ff8a299b88f24091cc722940a8652bb)
@@ -431,7 +440,8 @@
- **x509:** export pubkey [ede4f81](https://github.com/fffonion/lua-resty-openssl/commit/ede4f817cb0fe092ad6f9ab5d6ecdcde864a9fd8)
-[Unreleased]: https://github.com/fffonion/lua-resty-openssl/compare/0.8.11...HEAD
+[Unreleased]: https://github.com/fffonion/lua-resty-openssl/compare/0.8.12...HEAD
+[0.8.12]: https://github.com/fffonion/lua-resty-openssl/compare/0.8.11...0.8.12
[0.8.11]: https://github.com/fffonion/lua-resty-openssl/compare/0.8.10...0.8.11
[0.8.10]: https://github.com/fffonion/lua-resty-openssl/compare/0.8.9...0.8.10
[0.8.9]: https://github.com/fffonion/lua-resty-openssl/compare/0.8.8...0.8.9
diff --git a/lib/resty/openssl.lua b/lib/resty/openssl.lua
index c4fe4316..e4de6fc3 100644
--- a/lib/resty/openssl.lua
+++ b/lib/resty/openssl.lua
@@ -25,7 +25,7 @@ try_require_modules()
local _M = {
- _VERSION = '0.8.11',
+ _VERSION = '0.8.12',
}
local libcrypto_name
diff --git a/lua-resty-openssl-0.8.11-1.rockspec b/lua-resty-openssl-0.8.12-1.rockspec
similarity index 99%
rename from lua-resty-openssl-0.8.11-1.rockspec
rename to lua-resty-openssl-0.8.12-1.rockspec
index bd948fb5..a1a50e1a 100644
--- a/lua-resty-openssl-0.8.11-1.rockspec
+++ b/lua-resty-openssl-0.8.12-1.rockspec
@@ -1,8 +1,8 @@
package = "lua-resty-openssl"
-version = "0.8.11-1"
+version = "0.8.12-1"
source = {
url = "git+https://github.com/fffonion/lua-resty-openssl.git",
- tag = "0.8.11"
+ tag = "0.8.12"
}
description = {
detailed = "FFI-based OpenSSL binding for LuaJIT.",