Skip to content

Commit e7ed748

Browse files
committed
Update library version to 1.15 and update docs
1 parent b299231 commit e7ed748

File tree

11 files changed

+93
-18
lines changed

11 files changed

+93
-18
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if(POLICY CMP0091)
55
cmake_policy(SET CMP0091 NEW) # Enables use of MSVC_RUNTIME_LIBRARY
66
endif()
77

8-
project(pugixml VERSION 1.14 LANGUAGES CXX)
8+
project(pugixml VERSION 1.15 LANGUAGES CXX)
99

1010
include(CMakePackageConfigHelpers)
1111
include(CMakeDependentOption)

docs/manual.adoc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2203,6 +2203,25 @@ Because of the differences in document object models, performance considerations
22032203

22042204
:!numbered:
22052205

2206+
[[v1.15]]
2207+
=== v1.15 ^2024-01-10^
2208+
2209+
Maintenance release. Changes:
2210+
2211+
* Improvements:
2212+
. Many `xml_attribute::` and `xml_node::` functions now transparently support `std::string_view` and `std::string` when C++17 support is detected.
2213+
2214+
* CMake improvements:
2215+
. Improve `pkg-config` file generation for NixOS
2216+
. `PUGIXML_BUILD_APPLE_FRAMEWORK` CMake option can be used to build pugixml as `.xcframework`
2217+
. `PUGIXML_INSTALL` CMake option can be used to disable installation targets
2218+
2219+
* Compatibility improvements:
2220+
. Fix clang/gcc warnings `-Wzero-as-null-pointer-constant`, `-Wuseless-cast`, `-Wshorten-64-to-32`
2221+
. Fix unreferenced function warnings in `PUGIXML_NO_STL` configuration
2222+
. Fix CMake 3.31 deprecation warnings
2223+
. Stop using deprecated `throw()` when `noexcept` is available
2224+
22062225
[[v1.14]]
22072226
=== v1.14 ^2023-10-01^
22082227

docs/manual.html

Lines changed: 63 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="generator" content="Asciidoctor 2.0.20">
88
<meta name="author" content="website, repository">
9-
<title>pugixml 1.14 manual</title>
9+
<title>pugixml 1.15 manual</title>
1010
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
1111
<style>
1212
/*! Asciidoctor default stylesheet | MIT License | https://asciidoctor.org */
@@ -508,7 +508,7 @@
508508
</head>
509509
<body class="article toc2 toc-right">
510510
<div id="header">
511-
<h1>pugixml 1.14 manual</h1>
511+
<h1>pugixml 1.15 manual</h1>
512512
<div class="details">
513513
<span id="author" class="author">website</span><br>
514514
<span id="email" class="email"><a href="https://pugixml.org" class="bare">https://pugixml.org</a></span><br>
@@ -603,6 +603,7 @@ <h1>pugixml 1.14 manual</h1>
603603
</li>
604604
<li><a href="#changes">9. Changelog</a>
605605
<ul class="sectlevel2">
606+
<li><a href="#v1.15">v1.15 <sup>2024-01-10</sup></a></li>
606607
<li><a href="#v1.14">v1.14 <sup>2023-10-01</sup></a></li>
607608
<li><a href="#v1.13">v1.13 <sup>2022-11-01</sup></a></li>
608609
<li><a href="#v1.12">v1.12 <sup>2022-02-09</sup></a></li>
@@ -758,9 +759,9 @@ <h4 id="install.getting.source"><a class="anchor" href="#install.getting.source"
758759
<p>You can download the latest source distribution as an archive:</p>
759760
</div>
760761
<div class="paragraph">
761-
<p><a href="https://github.com/zeux/pugixml/releases/download/v1.14/pugixml-1.14.zip">pugixml-1.14.zip</a> (Windows line endings)
762+
<p><a href="https://github.com/zeux/pugixml/releases/download/v1.15/pugixml-1.15.zip">pugixml-1.15.zip</a> (Windows line endings)
762763
/
763-
<a href="https://github.com/zeux/pugixml/releases/download/v1.14/pugixml-1.14.tar.gz">pugixml-1.14.tar.gz</a> (Unix line endings)</p>
764+
<a href="https://github.com/zeux/pugixml/releases/download/v1.15/pugixml-1.15.tar.gz">pugixml-1.15.tar.gz</a> (Unix line endings)</p>
764765
</div>
765766
<div class="paragraph">
766767
<p>The distribution contains library source, documentation (the manual you&#8217;re reading now and the quick start guide) and some code examples. After downloading the distribution, install pugixml by extracting all files from the compressed archive.</p>
@@ -781,7 +782,7 @@ <h4 id="install.getting.git"><a class="anchor" href="#install.getting.git"></a><
781782
<div class="content">
782783
<pre class="pygments highlight"><code data-lang="bash">git clone https://github.com/zeux/pugixml
783784
cd pugixml
784-
git checkout v1.14</code></pre>
785+
git checkout v1.15</code></pre>
785786
</div>
786787
</div>
787788
<div class="paragraph">
@@ -798,7 +799,7 @@ <h4 id="install.getting.subversion"><a class="anchor" href="#install.getting.sub
798799
</div>
799800
<div class="listingblock">
800801
<div class="content">
801-
<pre class="pygments highlight"><code data-lang="bash">svn checkout https://github.com/zeux/pugixml/tags/v1.14 pugixml</code></pre>
802+
<pre class="pygments highlight"><code data-lang="bash">svn checkout https://github.com/zeux/pugixml/tags/v1.15 pugixml</code></pre>
802803
</div>
803804
</div>
804805
</div>
@@ -4129,6 +4130,61 @@ <h3 id="xpath.w3c"><a class="anchor" href="#xpath.w3c"></a><a class="link" href=
41294130
<h2 id="changes"><a class="anchor" href="#changes"></a><a class="link" href="#changes">9. Changelog</a></h2>
41304131
<div class="sectionbody">
41314132
<div class="sect2">
4133+
<h3 id="v1.15"><a class="anchor" href="#v1.15"></a><a class="link" href="#v1.15">v1.15 <sup>2024-01-10</sup></a></h3>
4134+
<div class="paragraph">
4135+
<p>Maintenance release. Changes:</p>
4136+
</div>
4137+
<div class="ulist">
4138+
<ul>
4139+
<li>
4140+
<p>Improvements:</p>
4141+
<div class="olist arabic">
4142+
<ol class="arabic">
4143+
<li>
4144+
<p>Many <code>xml_attribute::</code> and <code>xml_node::</code> functions now transparently support <code>std::string_view</code> and <code>std::string</code> when C++17 support is detected.</p>
4145+
</li>
4146+
</ol>
4147+
</div>
4148+
</li>
4149+
<li>
4150+
<p>CMake improvements:</p>
4151+
<div class="olist arabic">
4152+
<ol class="arabic">
4153+
<li>
4154+
<p>Improve <code>pkg-config</code> file generation for NixOS</p>
4155+
</li>
4156+
<li>
4157+
<p><code>PUGIXML_BUILD_APPLE_FRAMEWORK</code> CMake option can be used to build pugixml as <code>.xcframework</code></p>
4158+
</li>
4159+
<li>
4160+
<p><code>PUGIXML_INSTALL</code> CMake option can be used to disable installation targets</p>
4161+
</li>
4162+
</ol>
4163+
</div>
4164+
</li>
4165+
<li>
4166+
<p>Compatibility improvements:</p>
4167+
<div class="olist arabic">
4168+
<ol class="arabic">
4169+
<li>
4170+
<p>Fix clang/gcc warnings <code>-Wzero-as-null-pointer-constant</code>, <code>-Wuseless-cast</code>, <code>-Wshorten-64-to-32</code></p>
4171+
</li>
4172+
<li>
4173+
<p>Fix unreferenced function warnings in <code>PUGIXML_NO_STL</code> configuration</p>
4174+
</li>
4175+
<li>
4176+
<p>Fix CMake 3.31 deprecation warnings</p>
4177+
</li>
4178+
<li>
4179+
<p>Stop using deprecated <code>throw()</code> when <code>noexcept</code> is available</p>
4180+
</li>
4181+
</ol>
4182+
</div>
4183+
</li>
4184+
</ul>
4185+
</div>
4186+
</div>
4187+
<div class="sect2">
41324188
<h3 id="v1.14"><a class="anchor" href="#v1.14"></a><a class="link" href="#v1.14">v1.14 <sup>2023-10-01</sup></a></h3>
41334189
<div class="paragraph">
41344190
<p>Maintenance release. Changes:</p>
@@ -6216,7 +6272,7 @@ <h3 id="apiref.functions"><a class="anchor" href="#apiref.functions"></a><a clas
62166272
</div>
62176273
<div id="footer">
62186274
<div id="footer-text">
6219-
Last updated 2025-01-10 07:29:37 -0800
6275+
Last updated 2025-01-10 08:48:45 -0800
62206276
</div>
62216277
</div>
62226278
</body>

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pugixml 1.14 - an XML processing library
1+
pugixml 1.15 - an XML processing library
22

33
Copyright (C) 2006-2025, by Arseny Kapoulkine ([email protected])
44
Report bugs and download new versions at https://pugixml.org/

scripts/nuget/pugixml.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
33
<metadata>
44
<id>pugixml</id>
5-
<version>1.14.0-appveyor</version>
5+
<version>1.15.0-appveyor</version>
66
<title>pugixml</title>
77
<authors>Arseny Kapoulkine</authors>
88
<owners>Arseny Kapoulkine</owners>

scripts/pugixml.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "pugixml"
3-
s.version = "1.14"
3+
s.version = "1.15"
44
s.summary = "C++ XML parser library."
55
s.homepage = "https://pugixml.org"
66
s.license = "MIT"

scripts/pugixml_dll.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#include <winver.h>
22

33
#define PUGIXML_VERSION_MAJOR 1
4-
#define PUGIXML_VERSION_MINOR 14
4+
#define PUGIXML_VERSION_MINOR 15
55
#define PUGIXML_VERSION_PATCH 0
6-
#define PUGIXML_VERSION_NUMBER "1.14.0\0"
6+
#define PUGIXML_VERSION_NUMBER "1.15.0\0"
77

88
#if defined(GCC_WINDRES) || defined(__MINGW32__) || defined(__CYGWIN__)
99
VS_VERSION_INFO VERSIONINFO

src/pugiconfig.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* pugixml parser - version 1.14
2+
* pugixml parser - version 1.15
33
* --------------------------------------------------------
44
* Copyright (C) 2006-2025, by Arseny Kapoulkine ([email protected])
55
* Report bugs and download new versions at https://pugixml.org/

src/pugixml.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* pugixml parser - version 1.14
2+
* pugixml parser - version 1.15
33
* --------------------------------------------------------
44
* Copyright (C) 2006-2025, by Arseny Kapoulkine ([email protected])
55
* Report bugs and download new versions at https://pugixml.org/

src/pugixml.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* pugixml parser - version 1.14
2+
* pugixml parser - version 1.15
33
* --------------------------------------------------------
44
* Copyright (C) 2006-2025, by Arseny Kapoulkine ([email protected])
55
* Report bugs and download new versions at https://pugixml.org/
@@ -14,7 +14,7 @@
1414
// Define version macro; evaluates to major * 1000 + minor * 10 + patch so that it's safe to use in less-than comparisons
1515
// Note: pugixml used major * 100 + minor * 10 + patch format up until 1.9 (which had version identifier 190); starting from pugixml 1.10, the minor version number is two digits
1616
#ifndef PUGIXML_VERSION
17-
# define PUGIXML_VERSION 1140 // 1.14
17+
# define PUGIXML_VERSION 1150 // 1.15
1818
#endif
1919

2020
// Include user configuration file (this can define various configuration macros)

tests/test_version.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "../src/pugixml.hpp"
22

3-
#if PUGIXML_VERSION != 1140 // 1.14
3+
#if PUGIXML_VERSION != 1150 // 1.15
44
#error Unexpected pugixml version
55
#endif

0 commit comments

Comments
 (0)