Skip to content

Commit 04d8b8d

Browse files
authored
Merge pull request uriparser#288 from uriparser/prepare-release
Prepare release 1.0.0 (part of uriparser#286)
2 parents 4d308c8 + 81b5bdf commit 04d8b8d

5 files changed

Lines changed: 34 additions & 13 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ cmake_minimum_required(VERSION 3.15.0)
3838

3939
project(uriparser
4040
VERSION
41-
0.9.9
41+
1.0.0
4242
LANGUAGES
4343
C
4444
)
@@ -47,9 +47,9 @@ set(CMAKE_C_STANDARD_REQUIRED ON)
4747
set(CMAKE_C_EXTENSIONS OFF) # i.e. -std=c99 rather than default -std=gnu99
4848

4949
# See https://verbump.de/ for what these numbers do
50-
set(URIPARSER_SO_CURRENT 2)
50+
set(URIPARSER_SO_CURRENT 3)
5151
set(URIPARSER_SO_REVISION 0)
52-
set(URIPARSER_SO_AGE 1)
52+
set(URIPARSER_SO_AGE 2)
5353

5454
include(CheckCCompilerFlag)
5555
include(CheckFunctionExists)
@@ -529,7 +529,7 @@ configure_package_config_file(
529529
)
530530
write_basic_package_version_file(
531531
cmake/uriparser-config-version.cmake
532-
COMPATIBILITY SameMajorVersion # i.e. semver
532+
COMPATIBILITY AnyNewerVersion # i.e. declare 0.x.x and 1.x.x compatible
533533
)
534534
export(
535535
TARGETS

ChangeLog

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ NOTE: uriparser is looking for help with a few things:
22
https://github.com/uriparser/uriparser/labels/help%20wanted
33
If you can help, please get in touch. Thanks!
44

5-
????-??-?? -- 0.9.10
5+
2025-12-15 -- 1.0.0
66

77
>>>>>>>>>>>>> SECURITY >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
88
* Fixed: [CVE-2025-67899]
@@ -15,11 +15,13 @@ NOTE: uriparser is looking for help with a few things:
1515
to Andreas Gustafsson and for "dot_find_cycles.py" to Jason Antman!
1616
(GitHub #282, GitHub #284)
1717
>>>>>>>>>>>>> SECURITY >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
18+
* Changed: Start requiring a C99 compiler (GitHub #264, GitHub #273)
1819
* Changed: Require CMake >=3.15.0 (GitHub #270)
20+
* Changed: Stop building tests by default (GitHub #283)
1921
* Fixed: Normalization of URIs with leading dot segments
2022
produced ambiguous results in the sense that a reparse
2123
after normalization would have misinterpreted path parts
22-
as a host (GitHub #262, GitHub #265)
24+
as a host (GitHub #262, GitHub #263, GitHub #265)
2325
Examples of affected URIs:
2426
- "scheme:/.//path1/path2"
2527
- "/.//path1/path2"
@@ -30,6 +32,9 @@ NOTE: uriparser is looking for help with a few things:
3032
used in the implementation of function uriCompleteMemoryManager.
3133
(GitHub #261)
3234
Thanks to Matthew Fernandez and Rolf Eike Beer for the report and review!
35+
* Fixed: Do not set `absolutePath` for empty paths when removing host
36+
Thanks for the report and pull request to Tim Düsterhus!
37+
(GitHub #275, GitHub #276)
3338
* Fixed: Documentation of functions uriCompleteMemoryManager,
3439
uriEmulateCalloc, uriEmulateReallocarray and uriTestMemoryManager
3540
(GitHub #261)
@@ -39,16 +44,32 @@ NOTE: uriparser is looking for help with a few things:
3944
(GitHub #270)
4045
* Fixed: Documentation: Get CMake variables list back in sync and sorted
4146
in the readme (GitHub #270)
47+
* Fixed: Various typos found by Codespell
48+
(https://github.com/codespell-project/codespell) (GitHub #259)
4249
* Added: Add a new (and recommended to use) version of uriTestMemoryManager
4350
that can challenge pointer alignment (GitHub #261)
4451
New functions:
4552
uriTestMemoryManagerEx
53+
* Improved: Increase test coverage by mutation testing
54+
Thanks for the pull request to Tim Düsterhus! (GitHub #266)
55+
* Improved: Address compiler warning -Wunused-but-set-variable (GitHub #268)
56+
* Improved: Deduplicate internal char set macros (GitHub #280)
4657
* Infrastructure: Enable stack traces from UndefinedBehaviorSanitizer in CI
4758
via environment variable UBSAN_OPTIONS (GitHub #261)
4859
* Infrastructure: Bump GoogleTest to 1.12.0 in AppVeyor CI to fix the build
4960
with CMake >=3.5 (GitHub #261)
5061
* Infrastructure: Migrate Windows CI from AppVeyor to GitHub Actions
5162
(GitHub #270)
63+
* Infrastructure: Make GitHub Actions detect and reject known typos using
64+
Codespell (https://github.com/codespell-project/codespell) (GitHub #259)
65+
* Infrastructure: Update Clang from 20 to 21 (GitHub #267)
66+
* Infrastructure: Start specifying CXX and CXXFLAGS for fuzzing CI
67+
(GitHub #268)
68+
* Infrastructure: Make CI report on test coverage using LLVM, and offer
69+
these reports for download (GitHub #32, GitHub #269)
70+
* Infrastructure: Make CI enforce clang-format clean code (GitHub #272)
71+
* Soname: 3:0:2 — see https://verbump.de/ for what these numbers do
72+
(liburiparser.so.1.2.0)
5273

5374
2025-09-03 -- 0.9.9
5475

include/uriparser/Uri.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* 207ee4485d5a4690064bec14d369884451a49ae32e907b5bc6502c2bfa338ca1 (0.9.9+)
1+
/* 5abed1007be99942f49ffe603a894d277066b79b9cb824547af0f3b9481cb9ca (1.0.0+)
22
*
33
* uriparser - RFC 3986 URI parsing library
44
*

include/uriparser/UriBase.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@
5050
# define URI_ANSI_TO_UNICODE(x) URI_ANSI_TO_UNICODE_HELPER(x)
5151

5252
/* Version */
53-
# define URI_VER_MAJOR 0
54-
# define URI_VER_MINOR 9
55-
# define URI_VER_RELEASE 9
53+
# define URI_VER_MAJOR 1
54+
# define URI_VER_MINOR 0
55+
# define URI_VER_RELEASE 0
5656
# define URI_VER_SUFFIX_ANSI ""
5757
# define URI_VER_SUFFIX_UNICODE URI_ANSI_TO_UNICODE(URI_VER_SUFFIX_ANSI)
5858

@@ -394,7 +394,7 @@ URI_PUBLIC int uriTestMemoryManager(UriMemoryManager * memory);
394394
* @see uriEmulateReallocarray
395395
* @see UriMemoryManager
396396
* @see uriTestMemoryManager
397-
* @since 0.9.10
397+
* @since 1.0.0
398398
*/
399399
URI_PUBLIC int uriTestMemoryManagerEx(UriMemoryManager * memory,
400400
UriBool challengeAlignment);

test/VersionSuite.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ TEST(VersionSuite, EnsureVersionDefinesInSync) {
3636

3737
TEST(VersionSuite, EnsureRuntimeVersionAsExpected) {
3838
// NOTE: This needs a bump for every release
39-
EXPECT_STREQ(uriBaseRuntimeVersionA(), "0.9.9");
40-
EXPECT_STREQ(uriBaseRuntimeVersionW(), L"0.9.9");
39+
EXPECT_STREQ(uriBaseRuntimeVersionA(), "1.0.0");
40+
EXPECT_STREQ(uriBaseRuntimeVersionW(), L"1.0.0");
4141
}

0 commit comments

Comments
 (0)