-
Notifications
You must be signed in to change notification settings - Fork 41
/
NEWS.txt
23 lines (18 loc) · 1.55 KB
/
NEWS.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version 3.0.0
=============
Interface has changed a little bit again. This time, IObservable<T> replace Task<IEnumerable<T>>. This does not mean asynchronous interface was abandonned, only the way to subscribe for results.
To build previous client with this version, you have to convert IObservable<T> to a Task<IEnumerable<T>>. To help with keeping compatibility, the extension method AsFuture() can be used to perform this task. In practice, this mean that the result is materialized as a future.
There are no problem with future but high volume of data (because a future is just a buffering in memory of all results). To cope with high volumetry, just subscribe an IObserver to the IObservable.
version 2.3.0
=============
Change the POCO and PropertyBag interface. It is mostly source compatible but prepared queries.
It is strongly advised to move to the new interface ICqlCommand and IPreparedQuery as more features will be added (Rx support notably).
Use ICluster.CreatePocoCommand() or ICluster.CreatePropertyBagCommand() to obtain a reference on ICqlCommand.
Previous interface ==> New interface
========================================================================
ICluster.Execute<T>() ==> ICqlCommand.Execute<T>()
ICluster.ExecuteNonQuery() ==> ICqlCommand.Execute()
ICluster.Prepare() ==> ICqlCommand.Prepare<T>() for query
ICqlCommand.Prepare() for non query
IPreparedQuery.Execute<T>() ==> IPreparedQuery<T>.Execute()
IPreparedQuery.ExecuteNonQuery() ==> IPreparedQuery().Execute()