diff --git a/.gitignore b/.gitignore
index 25a2a16..3685b96 100644
--- a/.gitignore
+++ b/.gitignore
@@ -55,3 +55,4 @@ test/*.trs
# Deliverables
cjose-*.tar.gz
dist/
+/configure~
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2e1ee15..9b07b83 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,13 @@
# Release Notes #
-
-## [0.6.2](https://github.com/zmartzone/cjose/tree/version-0.6.2.x) (2022-04-14)
+
+## [v0.6.2.1](https://github.com/zmartzone/cjose/compare/v0.6.2...v0.6.2.1) (2022-10-24)
+* preserve key order in cjose_header_get_raw as well (https://github.com/zmartzone/cjose/pull/16)
+* fix a memory leak in cjose_jws_import() for invalid JWS (https://github.com/zmartzone/cjose/pull/14)
+* don't use STACK_ALLOC in cjose_concatkdf_derive (https://github.com/zmartzone/cjose/pull/15)
+
+
+## [v0.6.2](https://github.com/zmartzone/cjose/compare/0.6.1...v0.6.2) (2022-04-14)
### Update
diff --git a/Makefile.in b/Makefile.in
index fa347f1..2be9092 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -188,7 +188,8 @@ am__define_uniq_tagged_files = \
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/cjose.pc.in \
$(top_srcdir)/include/cjose/version.h.in AUTHORS README.md \
- compile config.guess config.sub install-sh ltmain.sh missing
+ compile config.guess config.sub depcomp install-sh ltmain.sh \
+ missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
diff --git a/configure b/configure
index 80cf3a7..5ce0977 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for cjose 0.6.2.
+# Generated by GNU Autoconf 2.71 for cjose 0.6.2.1.
#
#
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
@@ -618,8 +618,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='cjose'
PACKAGE_TARNAME='cjose'
-PACKAGE_VERSION='0.6.2'
-PACKAGE_STRING='cjose 0.6.2'
+PACKAGE_VERSION='0.6.2.1'
+PACKAGE_STRING='cjose 0.6.2.1'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1417,7 +1417,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures cjose 0.6.2 to adapt to many kinds of systems.
+\`configure' configures cjose 0.6.2.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1488,7 +1488,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of cjose 0.6.2:";;
+ short | recursive ) echo "Configuration of cjose 0.6.2.1:";;
esac
cat <<\_ACEOF
@@ -1621,7 +1621,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-cjose configure 0.6.2
+cjose configure 0.6.2.1
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1839,7 +1839,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by cjose $as_me 0.6.2, which was
+It was created by cjose $as_me 0.6.2.1, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
@@ -3108,7 +3108,7 @@ fi
# Define the identity of the package.
PACKAGE='cjose'
- VERSION='0.6.2'
+ VERSION='0.6.2.1'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -16341,7 +16341,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by cjose $as_me 0.6.2, which was
+This file was extended by cjose $as_me 0.6.2.1, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -16400,7 +16400,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-cjose config.status 0.6.2
+cjose config.status 0.6.2.1
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
diff --git a/configure.ac b/configure.ac
index 727badc..2d8bb4a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@
#
### Prerequisites
-AC_INIT([cjose], [0.6.2])
+AC_INIT([cjose], [0.6.2.1])
AM_INIT_AUTOMAKE([foreign])
LT_PREREQ([2.2])
LT_INIT([dlopen])