diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f4cee4..58461f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +# Changelog -- 0.1.3 + +- Fixed multiple compiler / linker errors +- Fixed a buffer overflow by using `NVDIALOG_MAXBUF` instead of a fixed 128 byte buffer. +- New function (Incomplete): `nvd_about_dialog_new`. This function shows a simple dialog similar to those found in some 'About' app menu items. It will be stabilized in 0.2. +- Added new example. +- Removed deprecated code, replaced with more modern and accurate alternatives. +- Partial `libadwaita` support complete. +- New assertion system. +- Remove fallback backend, replaced with raw runtime assertions. +- Headers are now installed inside the `nvdialog/` directory in the standard include directory. +- New logo (May change again) + +**WARNING: API breakage may occur. If you are worried, do not upgrade to this release.** + # Changelog -- 0.1.2 - Fixed multiple miscalleneous bugs from 0.1.1 and a few memory leaks. diff --git a/CMakeLists.txt b/CMakeLists.txt index c7723ae..86f1f90 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ # This file is part of libnvdialog and is released under the MIT license. cmake_minimum_required(VERSION 3.18) -project(libnvdialog LANGUAGES C VERSION 0.1.2 DESCRIPTION "A simple and minimal dialog library, with cross-platform support") +project(libnvdialog LANGUAGES C VERSION 0.1.3 DESCRIPTION "A simple and minimal dialog library, with cross-platform support") option(WIN32_TARGET "Build the library for Windows usage. Requires x86_64-w64-mingw32." OFF) option(NVD_USE_GTK4 "Instead of using the old Gtk3 backend, use Gtk4 and libadwaita for Linux. Experimental.") diff --git a/include/nvdialog.h b/include/nvdialog.h index 355f180..9e54048 100644 --- a/include/nvdialog.h +++ b/include/nvdialog.h @@ -33,7 +33,7 @@ extern "C" { #define NVDIALOG_VERSION_MAJOR 0 #define NVDIALOG_VERSION_MINOR 1 -#define NVDIALOG_VERSION_PATCH 1 +#define NVDIALOG_VERSION_PATCH 3 /** * @brief Returns the version of nvdialog currently linked with. diff --git a/src/nvdialog_version.c b/src/nvdialog_version.c index 7d4a182..e100d82 100644 --- a/src/nvdialog_version.c +++ b/src/nvdialog_version.c @@ -27,9 +27,9 @@ /* The versions of nvdialog are held as statics in the global scope. */ static short __vermajor = 0; static short __verminor = 1; -static short __verpatch = 2; +static short __verpatch = 3; NvdVersion nvd_get_version() { - NvdVersion version = {__vermajor, __verminor, __verpatch, "0.1.2"}; + NvdVersion version = {__vermajor, __verminor, __verpatch, "0.1.3"}; return version; }