Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package msgpack-cxx for openSUSE:Factory 
checked in at 2024-04-03 17:19:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/msgpack-cxx (Old)
 and      /work/SRC/openSUSE:Factory/.msgpack-cxx.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "msgpack-cxx"

Wed Apr  3 17:19:28 2024 rev:5 rq:1164164 version:6.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/msgpack-cxx/msgpack-cxx.changes  2023-11-30 
22:00:52.280065330 +0100
+++ /work/SRC/openSUSE:Factory/.msgpack-cxx.new.1905/msgpack-cxx.changes        
2024-04-03 17:20:23.561444788 +0200
@@ -1,0 +2,9 @@
+Tue Apr  2 06:59:33 UTC 2024 - Michael Vetter <mvet...@suse.com>
+
+- Update to release 6.1.1:
+  * Fix compilation error when std::variant has the same types (#1112)
+  * Improve CI (#1090, #1110)
+  * Fix to avoid common function name's (has_as::check) ambiguity/conflict
+    with other libraries' macros (#1085)
+
+-------------------------------------------------------------------

Old:
----
  msgpack-cxx-6.1.0.tar.gz

New:
----
  msgpack-cxx-6.1.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ msgpack-cxx.spec ++++++
--- /var/tmp/diff_new_pack.0iSvHn/_old  2024-04-03 17:20:26.157540444 +0200
+++ /var/tmp/diff_new_pack.0iSvHn/_new  2024-04-03 17:20:26.169540886 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package msgpack-cxx
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           msgpack-cxx
-Version:        6.1.0
+Version:        6.1.1
 Release:        0
 Summary:        Object serialization library for cross-language communication 
(C++ interface)
 License:        BSL-1.0

++++++ msgpack-cxx-6.1.0.tar.gz -> msgpack-cxx-6.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-cxx-6.1.0/ChangeLog 
new/msgpack-cxx-6.1.1/ChangeLog
--- old/msgpack-cxx-6.1.0/ChangeLog     2023-03-04 14:47:52.000000000 +0100
+++ new/msgpack-cxx-6.1.1/ChangeLog     2024-04-02 05:12:27.000000000 +0200
@@ -1,3 +1,14 @@
+# 2024-04-02 version 6.1.1
+  * Fix compilation error when std::variant has the same types (#1112)
+  * Improve CI (#1090, #1110)
+  * Fix to avoid common function name's (has_as::check) ambiguity/conflict 
with other libraries' macros  (#1085)
+
+# 2023-07-08 version 6.1.0
+  * Remove dependency on boost in chrono.hpp (#1076)
+  * Add support for std::variant behavior (#1075)
+  * Fix msgpack::type::variant behavior to respect MessagePack format (#1071)
+  * Add rebind allocators (#1065)
+
 # 2023-03-02 version 6.0.0
 ## << breaking changes >>
   * Change CMake package name of C++ library to msgpack-cxx (#1054)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-cxx-6.1.0/README new/msgpack-cxx-6.1.1/README
--- old/msgpack-cxx-6.1.0/README        2023-03-04 14:47:52.000000000 +0100
+++ new/msgpack-cxx-6.1.1/README        2024-04-02 05:12:27.000000000 +0200
@@ -1,7 +1,7 @@
 `msgpack` for C++
 ===================
 
-Version 6.0.0 [![Build 
Status](https://github.com/msgpack/msgpack-c/workflows/CI/badge.svg?branch=cpp_master)](https://github.com/msgpack/msgpack-c/actions)
 [![Build 
status](https://ci.appveyor.com/api/projects/status/8kstcgt79qj123mw/branch/cpp_master?svg=true)](https://ci.appveyor.com/project/redboltz/msgpack-c/branch/cpp_master)
+Version 6.1.1 [![Build 
Status](https://github.com/msgpack/msgpack-c/workflows/CI/badge.svg?branch=cpp_master)](https://github.com/msgpack/msgpack-c/actions)
 [![Build 
status](https://ci.appveyor.com/api/projects/status/8kstcgt79qj123mw/branch/cpp_master?svg=true)](https://ci.appveyor.com/project/redboltz/msgpack-c/branch/cpp_master)
 
[![codecov](https://codecov.io/gh/msgpack/msgpack-c/branch/cpp_master/graph/badge.svg)](https://codecov.io/gh/msgpack/msgpack-c/branch/cpp_master)
 
 It's like JSON but smaller and faster.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-cxx-6.1.0/README.md 
new/msgpack-cxx-6.1.1/README.md
--- old/msgpack-cxx-6.1.0/README.md     2023-07-08 06:16:09.000000000 +0200
+++ new/msgpack-cxx-6.1.1/README.md     2024-04-02 05:10:59.000000000 +0200
@@ -1,7 +1,7 @@
 `msgpack` for C++
 ===================
 
-Version 6.1.0 [![Build 
Status](https://github.com/msgpack/msgpack-c/workflows/CI/badge.svg?branch=cpp_master)](https://github.com/msgpack/msgpack-c/actions)
 [![Build 
status](https://ci.appveyor.com/api/projects/status/8kstcgt79qj123mw/branch/cpp_master?svg=true)](https://ci.appveyor.com/project/redboltz/msgpack-c/branch/cpp_master)
+Version 6.1.1 [![Build 
Status](https://github.com/msgpack/msgpack-c/workflows/CI/badge.svg?branch=cpp_master)](https://github.com/msgpack/msgpack-c/actions)
 [![Build 
status](https://ci.appveyor.com/api/projects/status/8kstcgt79qj123mw/branch/cpp_master?svg=true)](https://ci.appveyor.com/project/redboltz/msgpack-c/branch/cpp_master)
 
[![codecov](https://codecov.io/gh/msgpack/msgpack-c/branch/cpp_master/graph/badge.svg)](https://codecov.io/gh/msgpack/msgpack-c/branch/cpp_master)
 
 It's like JSON but smaller and faster.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-cxx-6.1.0/example/boost/CMakeLists.txt 
new/msgpack-cxx-6.1.1/example/boost/CMakeLists.txt
--- old/msgpack-cxx-6.1.0/example/boost/CMakeLists.txt  2023-07-08 
05:21:22.000000000 +0200
+++ new/msgpack-cxx-6.1.1/example/boost/CMakeLists.txt  2024-04-02 
04:06:33.000000000 +0200
@@ -1,4 +1,4 @@
-FIND_PACKAGE (Boost REQUIRED COMPONENTS system)
+FIND_PACKAGE (Boost REQUIRED)
 FIND_PACKAGE (Threads REQUIRED)
 FIND_PACKAGE (ZLIB REQUIRED)
 
@@ -22,7 +22,6 @@
     )
     TARGET_LINK_LIBRARIES (${source_file_we} PRIVATE
         msgpack-cxx
-        Boost::system
         Threads::Threads
     )
     IF (ZLIB_FOUND)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-cxx-6.1.0/example/x3/CMakeLists.txt 
new/msgpack-cxx-6.1.1/example/x3/CMakeLists.txt
--- old/msgpack-cxx-6.1.0/example/x3/CMakeLists.txt     2023-07-08 
05:21:22.000000000 +0200
+++ new/msgpack-cxx-6.1.1/example/x3/CMakeLists.txt     2024-04-02 
04:06:33.000000000 +0200
@@ -1,5 +1,5 @@
 IF (MSGPACK_USE_X3_PARSE AND MSGPACK_DEFAULT_API_VERSION VERSION_GREATER 1)
-    FIND_PACKAGE (Boost REQUIRED COMPONENTS context system)
+    FIND_PACKAGE (Boost REQUIRED COMPONENTS context)
     FIND_PACKAGE (Threads REQUIRED)
 
     LIST (APPEND exec_PROGRAMS
@@ -42,7 +42,6 @@
         TARGET_LINK_LIBRARIES (${source_file_we} PRIVATE
             msgpack-cxx
             Boost::context
-            Boost::system
             Threads::Threads
         )
         IF ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" OR 
"${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-cxx-6.1.0/fuzz/CMakeLists.txt 
new/msgpack-cxx-6.1.1/fuzz/CMakeLists.txt
--- old/msgpack-cxx-6.1.0/fuzz/CMakeLists.txt   2023-07-08 05:21:22.000000000 
+0200
+++ new/msgpack-cxx-6.1.1/fuzz/CMakeLists.txt   2024-04-02 04:06:33.000000000 
+0200
@@ -1,5 +1,5 @@
 FIND_PACKAGE (Threads REQUIRED)
-FIND_PACKAGE (Boost REQUIRED COMPONENTS system filesystem unit_test_framework)
+FIND_PACKAGE (Boost REQUIRED COMPONENTS filesystem unit_test_framework)
 
 LIST (APPEND check_PROGRAMS
     regression_runner.cpp
@@ -19,7 +19,6 @@
         msgpack-cxx
         Threads::Threads
         Boost::filesystem
-        Boost::system
         Boost::unit_test_framework
     )
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/msgpack-cxx-6.1.0/include/msgpack/v1/adaptor/cpp17/variant.hpp 
new/msgpack-cxx-6.1.1/include/msgpack/v1/adaptor/cpp17/variant.hpp
--- old/msgpack-cxx-6.1.0/include/msgpack/v1/adaptor/cpp17/variant.hpp  
2023-07-08 05:21:22.000000000 +0200
+++ new/msgpack-cxx-6.1.1/include/msgpack/v1/adaptor/cpp17/variant.hpp  
2024-04-02 04:06:33.000000000 +0200
@@ -40,11 +40,11 @@
     std::index_sequence<current_index, indices...>
 ) {
     if constexpr(sizeof...(Ts) == 0) {
-        return object.as<T>();
+        return Variant{std::in_place_index<current_index>, object.as<T>()};
     }
     else {
         if (index == current_index) {
-            return object.as<T>();
+            return Variant{std::in_place_index<current_index>, object.as<T>()};
         }
         return construct_variant<Variant, Ts...>(
             index,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-cxx-6.1.0/include/msgpack/v1/object_fwd.hpp 
new/msgpack-cxx-6.1.1/include/msgpack/v1/object_fwd.hpp
--- old/msgpack-cxx-6.1.0/include/msgpack/v1/object_fwd.hpp     2023-07-08 
05:21:22.000000000 +0200
+++ new/msgpack-cxx-6.1.1/include/msgpack/v1/object_fwd.hpp     2024-04-02 
04:06:33.000000000 +0200
@@ -53,16 +53,16 @@
 struct has_as {
 private:
     template <typename U>
-    static auto check(U*) ->
+    static auto check_(U*) ->
         // Check v1 specialization
         typename std::is_same<
             decltype(adaptor::as<U>()(std::declval<msgpack::object>())),
             T
         >::type;
     template <typename...>
-    static std::false_type check(...);
+    static std::false_type check_(...);
 public:
-    using type = decltype(check<T>(MSGPACK_NULLPTR));
+    using type = decltype(check_<T>(MSGPACK_NULLPTR));
     static constexpr bool value = type::value;
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-cxx-6.1.0/include/msgpack/v2/object_fwd.hpp 
new/msgpack-cxx-6.1.1/include/msgpack/v2/object_fwd.hpp
--- old/msgpack-cxx-6.1.0/include/msgpack/v2/object_fwd.hpp     2023-07-08 
05:21:22.000000000 +0200
+++ new/msgpack-cxx-6.1.1/include/msgpack/v2/object_fwd.hpp     2024-04-02 
04:06:33.000000000 +0200
@@ -79,7 +79,7 @@
 struct has_as {
 private:
     template <typename U>
-    static auto check(U*) ->
+    static auto check_(U*) ->
         typename std::enable_if<
             // check v2 specialization
             std::is_same<
@@ -92,9 +92,9 @@
             std::true_type
         >::type;
     template <typename...>
-    static std::false_type check(...);
+    static std::false_type check_(...);
 public:
-    using type = decltype(check<T>(MSGPACK_NULLPTR));
+    using type = decltype(check_<T>(MSGPACK_NULLPTR));
     static constexpr bool value = type::value;
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-cxx-6.1.0/include/msgpack/v3/object_fwd.hpp 
new/msgpack-cxx-6.1.1/include/msgpack/v3/object_fwd.hpp
--- old/msgpack-cxx-6.1.0/include/msgpack/v3/object_fwd.hpp     2023-07-08 
05:21:22.000000000 +0200
+++ new/msgpack-cxx-6.1.1/include/msgpack/v3/object_fwd.hpp     2024-04-02 
04:06:33.000000000 +0200
@@ -36,7 +36,7 @@
 struct has_as {
 private:
     template <typename U>
-    static auto check(U*) ->
+    static auto check_(U*) ->
         typename std::enable_if<
             // check v3 specialization
             std::is_same<
@@ -52,9 +52,9 @@
             std::true_type
         >::type;
     template <typename...>
-    static std::false_type check(...);
+    static std::false_type check_(...);
 public:
-    using type = decltype(check<T>(MSGPACK_NULLPTR));
+    using type = decltype(check_<T>(MSGPACK_NULLPTR));
     static constexpr bool value = type::value;
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-cxx-6.1.0/include/msgpack/version_master.hpp 
new/msgpack-cxx-6.1.1/include/msgpack/version_master.hpp
--- old/msgpack-cxx-6.1.0/include/msgpack/version_master.hpp    2023-07-08 
06:16:09.000000000 +0200
+++ new/msgpack-cxx-6.1.1/include/msgpack/version_master.hpp    2024-04-02 
05:10:59.000000000 +0200
@@ -1,3 +1,3 @@
 #define MSGPACK_VERSION_MAJOR    6
 #define MSGPACK_VERSION_MINOR    1
-#define MSGPACK_VERSION_REVISION 0
+#define MSGPACK_VERSION_REVISION 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-cxx-6.1.0/test/CMakeLists.txt 
new/msgpack-cxx-6.1.1/test/CMakeLists.txt
--- old/msgpack-cxx-6.1.0/test/CMakeLists.txt   2023-07-08 05:21:22.000000000 
+0200
+++ new/msgpack-cxx-6.1.1/test/CMakeLists.txt   2024-04-02 04:06:33.000000000 
+0200
@@ -1,6 +1,6 @@
 FIND_PACKAGE (Threads REQUIRED)
 FIND_PACKAGE (ZLIB)
-FIND_PACKAGE (Boost REQUIRED COMPONENTS unit_test_framework system)
+FIND_PACKAGE (Boost REQUIRED COMPONENTS unit_test_framework)
 
 LIST (APPEND check_PROGRAMS
     array_ref.cpp
@@ -79,7 +79,6 @@
 
     TARGET_LINK_LIBRARIES (${source_file_we}
         msgpack-cxx
-        Boost::system
         Boost::unit_test_framework
         Threads::Threads
         ZLIB::ZLIB
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-cxx-6.1.0/test/msgpack_cpp17.cpp 
new/msgpack-cxx-6.1.1/test/msgpack_cpp17.cpp
--- old/msgpack-cxx-6.1.0/test/msgpack_cpp17.cpp        2023-07-08 
05:21:22.000000000 +0200
+++ new/msgpack-cxx-6.1.1/test/msgpack_cpp17.cpp        2024-04-02 
04:06:33.000000000 +0200
@@ -474,6 +474,28 @@
         oh.get().as<std::variant<bool, int, float, double> >();
     BOOST_CHECK(val1 == val2);
     BOOST_CHECK_THROW((oh.get().as<std::variant<bool>>()), 
msgpack::type_error);
+
+    {
+      std::stringstream same_ss;
+      std::variant<int, float, int> same_expected{std::in_place_index<2>, 2};
+      msgpack::pack(same_ss, same_expected);
+      std::string const& same_str = same_ss.str();
+      msgpack::object_handle same_oh =
+          msgpack::unpack(same_str.data(), same_str.size());
+      std::variant<int, float, int> same_actual = 
same_oh->as<std::variant<int, float, int>>();
+      BOOST_CHECK(same_expected == same_actual);
+    }
+
+    {
+      std::stringstream same_ss;
+      std::variant<int, int> same_expected{std::in_place_index<1>, 2};
+      msgpack::pack(same_ss, same_expected);
+      std::string const& same_str = same_ss.str();
+      msgpack::object_handle same_oh =
+          msgpack::unpack(same_str.data(), same_str.size());
+      std::variant<int, int> same_actual = same_oh->as<std::variant<int, 
int>>();
+      BOOST_CHECK(same_expected == same_actual);
+    }
 }
 
 BOOST_AUTO_TEST_CASE(variant_with_zone) {

Reply via email to