You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Users may now register custom types that can be converted to/from Variant. These registered custom types may be passed directly to RPC and pub/sub operations and handlers (closes#69).
- timeservice and timeclient examples have been provided which showcase the use of conversion facilities. These examples use the CppWAMP library in a header-only fashion (closes#67).
- Converters have been provided for std::unordered_map and boost::optional (closes#68).
- Payload::withArgs now takes variadic arguments, instead of a std::initializer_list<Variant>. This change makes it possible for registered user-defined types to be automatically converted to Variant.
- std::tuple support is now provided via the new conversion facilities, in <cppwamp/types/tuple.hpp>.
- Fixed compile errors that occur only when the library is used in a header-only fashion.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,19 @@
1
+
v0.5.0
2
+
======
3
+
User-defined type support.
4
+
5
+
### New Features
6
+
- Users may now register custom types that can be converted to/from `Variant`. These registered custom types may be passed directly to RPC and pub/sub operations and handlers. See *Custom Variant Conversions* in the tutorial for usage examples (closes #69).
7
+
-`timeservice` and `timeclient` examples have been provided which showcase the use of conversion facilities. These examples use the CppWAMP library in a header-only fashion (closes #67).
8
+
- Converters have been provided for `std::unordered_map` and `boost::optional` (closes #68).
9
+
10
+
### Breaking Changes
11
+
-`Payload::withArgs` now takes variadic arguments, instead of a `std::initializer_list<Variant>`. This change makes it possible for registered user-defined types to be automatically converted to `Variant`. Wherever you do `Rpc("foo").withArgs({"hello", 42})` should be changed to `Rpc("foo").withArgs("hello", 42)` (notice the removed curly braces).
12
+
-`std::tuple` support is now provided via the new conversion facilities, in `<cppwamp/types/tuple.hpp>`.
13
+
14
+
### Other Changes
15
+
- Fixed compile errors that occur only when the library is used in a header-only fashion.
0 commit comments