[libsoup] 3.0.0



commit 63f778a9f0df634b627b7683e737b89cb73f943d
Author: Patrick Griffis <pgriffis igalia com>
Date:   Sat Sep 18 10:40:00 2021 -0500

    3.0.0

 NEWS                                | 16 ++++++++++++++++
 docs/reference/libsoup-3.0-docs.xml |  2 +-
 libsoup/soup-version.c              |  2 +-
 libsoup/soup-version.h.in           | 15 ++++++++-------
 meson.build                         |  2 +-
 5 files changed, 27 insertions(+), 10 deletions(-)
---
diff --git a/NEWS b/NEWS
index db55a3f9..b261eb76 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,19 @@
+Changes in libsoup from 2.99.9 to 3.0.0:
+
+* Remove unused dependency on libxml [Patrick Griffis]
+
+* Use G_DECLARE_FINAL_TYPE when applicable and bump GLib dependency
+  to 2.69.1 [Patrick Griffis]
+
+* Add PyGObject overrides for SoupMessageHeaders to behave like a dict [Patrick Griffis]
+
+* Fix soup_message_add_status_code_handler() in Vala [Rico Tzschichholz]
+
+* Ensure that all header values are valid UTF-8, other encodings are not
+  supported [Patrick Griffis]
+
+* Support Content-Disposition headers missing a disposition-type [Patrick Griffis]
+
 Changes in libsoup from 2.99.8 to 2.99.9:
 
     * Make soup_message_set_method() public API [Carlos Garcia Campos]
diff --git a/docs/reference/libsoup-3.0-docs.xml b/docs/reference/libsoup-3.0-docs.xml
index 5c2fbaf6..ae3845f2 100644
--- a/docs/reference/libsoup-3.0-docs.xml
+++ b/docs/reference/libsoup-3.0-docs.xml
@@ -5,7 +5,7 @@
   <bookinfo>
     <title>libsoup Reference Manual</title>
     <releaseinfo>
-      This documentation is for libsoup 3.0 which is in development.
+      This documentation is for libsoup 3.0.
       You can find older versions online at <ulink role="online-location" 
url="https://libsoup.org/libsoup-2.4/index.html";>https://libsoup.org/libsoup-2.4/</ulink>.
     </releaseinfo>
   </bookinfo>
diff --git a/libsoup/soup-version.c b/libsoup/soup-version.c
index 08c0400c..23d1118e 100644
--- a/libsoup/soup-version.c
+++ b/libsoup/soup-version.c
@@ -139,7 +139,7 @@ soup_check_version (guint major,
                     guint minor,
                     guint micro)
 {
-    return SOUP_CHECK_VERSION (major, minor, micro);
+    return SOUP_CHECK_VERSION (major, (int)minor, micro);
 }
 
 /**
diff --git a/libsoup/soup-version.h.in b/libsoup/soup-version.h.in
index 3505ebd5..f43d4862 100644
--- a/libsoup/soup-version.h.in
+++ b/libsoup/soup-version.h.in
@@ -51,20 +51,21 @@ G_BEGIN_DECLS
  * this means the next stable target
  */
 #if (SOUP_MINOR_VERSION % 2)
-#if (SOUP_MAJOR_VERSION == 2)
-#define SOUP_VERSION_CUR_STABLE (G_ENCODE_VERSION (3, 0))
-#else
 #define SOUP_VERSION_CUR_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION + 1))
-#endif
 #else
 #define SOUP_VERSION_CUR_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION))
 #endif
 
 /* evaluates to the previous stable version */
-#if (SOUP_MINOR_VERSION % 2)
-#define SOUP_VERSION_PREV_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION - 1))
+#if (SOUP_MINOR_VERSION == 0)
+/* Can't have -1 for previous version */
+# define SOUP_VERSION_PREV_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, 0))
 #else
-#define SOUP_VERSION_PREV_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION - 2))
+# if (SOUP_MINOR_VERSION % 2)
+#  define SOUP_VERSION_PREV_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION - 1))
+# else
+#  define SOUP_VERSION_PREV_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION - 2))
+# endif
 #endif
 
 #ifndef SOUP_VERSION_MIN_REQUIRED
diff --git a/meson.build b/meson.build
index 95cd5ddc..573a4795 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
 project('libsoup', 'c',
-        version: '2.99.9',
+        version: '3.0.0',
         meson_version : '>= 0.53',
         license : 'LGPL2',
         default_options : [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]