* Fri Mar 05 2021 Matej Cepl <mcepl@suse.com>
- Switch off failing tests test_nts_token_performance and
test_connection_initialization
(https://datastax-oss.atlassian.net/browse/PYTHON-1273, bsc#1182585).
* Wed Jun 10 2020 Marketa Calabkova <mcalabkova@suse.com>
- replace nose
* Wed Apr 22 2020 Tomá? Chvátal <tchvatal@suse.com>
- Fix build without python2
* Tue Apr 07 2020 Dirk Mueller <dmueller@suse.com>
- update to 3.23.0:
* Transient Replication Support (PYTHON-1207)
* Support system.peers_v2 and port discovery for C* 4.0 (PYTHON-700)
* Asyncore logging exception on shutdown (PYTHON-1228)
* Tue Apr 07 2020 Tomá? Chvátal <tchvatal@suse.com>
- Fix 32bit build by skipping the tests overflowing there
* Mon Mar 30 2020 Marketa Calabkova <mcalabkova@suse.com>
- update to version 3.22.0
* Add all() function to the ResultSet API (PYTHON-1203)
* Parse new schema metadata in NGDG and generate table edges CQL syntax (PYTHON-996)
* Add GraphSON3 support (PYTHON-788)
* Use GraphSON3 as default for Native graphs (PYTHON-1004)
* Add Tuple and UDT types for native graph (PYTHON-1005)
* Add Duration type for native graph (PYTHON-1000)
* Add gx:ByteBuffer graphson type support for Blob field (PYTHON-1027)
* Enable Paging Through DSE Driver for Gremlin Traversals (PYTHON-1045)
* Provide numerical wrappers to ensure proper graphson schema definition (PYTHON-1051)
* Resolve the row_factory automatically for native graphs (PYTHON-1056)
* Add g:TraversalMetrics/g:Metrics graph deserializers (PYTHON-1057)
* Add g:BulkSet graph deserializers (PYTHON-1060)
* Update Graph Engine names and the way to create a Classic/Native Graph (PYTHON-1090)
* Update Native to Core Graph Engine
* Add graphson3 and native graph support (PYTHON-1039)
* Enable Paging Through DSE Driver for Gremlin Traversals (PYTHON-1045)
* Expose filter predicates for cql collections (PYTHON-1019)
* Add g:TraversalMetrics/Metrics deserializers (PYTHON-1057)
* Make graph metadata handling more robust (PYTHON-1204)
* Make sure to only query the native_transport_address column with DSE (PYTHON-1205)
* Unified driver: merge core and DSE drivers into a single package (PYTHON-1130)
* Add Python 3.8 support (PYTHON-1189)
* Allow passing ssl context for Twisted (PYTHON-1161)
* Ssl context and cloud support for Eventlet (PYTHON-1162)
* Cloud Twisted support (PYTHON-1163)
* Add additional_write_policy and read_repair to system schema parsing (PYTHON-1048)
* Flexible version parsing (PYTHON-1174)
* Support NULL in collection deserializer (PYTHON-1123)
* [GRAPH] Ability to execute Fluent Graph queries asynchronously (PYTHON-1129)
* Handle prepared id mismatch when repreparing on the fly (PYTHON-1124)
* re-raising the CQLEngineException will fail on Python 3 (PYTHON-1166)
* asyncio message chunks can be processed discontinuously (PYTHON-1185)
* Reconnect attempts persist after downed node removed from peers (PYTHON-1181)
* Connection fails to validate ssl certificate hostname when SSLContext.check_hostname is set (PYTHON-1186)
* ResponseFuture._set_result crashes on connection error when used with PrepareMessage (PYTHON-1187)
* The driver has a new dependency: geomet. It comes from the dse-driver unification and
is used to support DSE geo types.
* Remove *read_repair_chance table options (PYTHON-1140)
* Avoid warnings about unspecified load balancing policy when connecting to a cloud cluster (PYTHON-1177)
* Add new DSE CQL keywords (PYTHON-1122)
* Publish binary wheel distributions (PYTHON-1013)
* Insights integration (PYTHON-1047)
* Graph execution profiles should preserve their graph_source when graph_options is overridden (PYTHON-1021)
* DETERMINISTIC and MONOTONIC Clauses for Functions and Aggregates (PYTHON-955)
* GraphOptions should show a warning for unknown parameters (PYTHON-819)
* DSE protocol version 2 and continous paging backpressure (PYTHON-798)
* GraphSON2 Serialization/Deserialization Support (PYTHON-775)
* Add graph-results payload option for GraphSON format (PYTHON-773)
* Add Graph DurationType support (PYTHON-607)
* Support DSE DateRange type (PYTHON-668)
* Add config profiles to DSE graph execution (PYTHON-570)
* DSE Driver version checking (PYTHON-568)
* Distinct default timeout for graph queries (PYTHON-477)
* Graph result parsing for known types (PYTHON-479,487)
* Distinct read/write CL for graph execution (PYTHON-509)
* Target graph analytics query to spark master when available (PYTHON-510)
* Continuous paging sessions raise RuntimeError when results are not entirely consumed (PYTHON-1054)
* GraphSON Property deserializer should return a dict instead of a set (PYTHON-1033)
* ResponseFuture.has_more_pages may hold the wrong value (PYTHON-946)
* Update date serialization to isoformat in graph (PYTHON-805)
* DateRange Parse Error (PYTHON-729)
* MontonicTimestampGenerator.__init__ ignores class defaults (PYTHON-728)
* metadata.get_host returning None unexpectedly (PYTHON-709)
* Sockets associated with sessions not getting cleaned up on session.shutdown() (PYTHON-673)
* Resolve FQDN from ip address and use that as host passed to SASLClient (PYTHON-566)
* Correctly handle other types in geo type equality (PYTHON-508)
* Add an abstract GraphStatement to handle different graph statements (PYTHON-789)
Version: 3.20.2-bp152.1.8
* Fri Nov 22 2019 Arun Persaud <arun@gmx.de>
- update to version 3.20.2:
* Fix import error for old python installation without SSLContext
(PYTHON-1183)
* Sat Nov 09 2019 Arun Persaud <arun@gmx.de>
- update to version 3.20.1:
* Bug Fixes
+ ValueError: too many values to unpack (expected 2)" when there
are two dashes in server version number (PYTHON-1172)
- changes from version 3.20.0:
* Features
+ DataStax Apollo Support (PYTHON-1074)
+ Use 4.0 schema parser in 4 alpha and snapshot builds
(PYTHON-1158)
* Bug Fixes
+ Connection setup methods prevent using ExecutionProfile in
cqlengine (PYTHON-1009)
+ Driver deadlock if all connections dropped by heartbeat whilst
request in flight and request times out (PYTHON-1044)
+ Exception when use pk__token__gt filter In python 3.7
(PYTHON-1121)
* Sat Aug 31 2019 Arun Persaud <arun@gmx.de>
- update to version 3.19.0:
* Features
+ Add Python 3.7 support (PYTHON-1016)
+ Future-proof Mapping imports (PYTHON-1023)
+ Include param values in cqlengine logging (PYTHON-1105)
+ NTS Token Replica Map Generation is slow (PYTHON-622)
* Bug Fixes
+ as_cql_query UDF/UDA parameters incorrectly includes "frozen" if
arguments are collections (PYTHON-1031)
+ cqlengine does not currently support combining TTL and TIMESTAMP
on INSERT (PYTHON-1093)
+ Fix incorrect metadata for compact counter tables (PYTHON-1100)
+ Call ConnectionException with correct kwargs (PYTHON-1117)
+ Can't connect to clusters built from source because version
parsing doesn't handle 'x.y-SNAPSHOT' (PYTHON-1118)
+ Discovered node doesnt honor the configured Cluster port on
connection (PYTHON-1127)
* Other
+ Remove invalid warning in set_session when we initialize a
default connection (PYTHON-1104)
+ Set the proper default ExecutionProfile.row_factory value
(PYTHON-1119)
* Sat Jun 08 2019 Arun Persaud <arun@gmx.de>
- update to version 3.18.0:
* Features
+ Abstract Host Connection information (PYTHON-1079)
+ Improve version parsing to support a non-integer 4th component
(PYTHON-1091)
+ Expose on_request_error method in the RetryPolicy (PYTHON-1064)
+ Add jitter to ExponentialReconnectionPolicy (PYTHON-1065)
* Bug Fixes
+ Fix error when preparing queries with beta protocol v5
(PYTHON-1081)
+ Accept legacy empty strings as column names (PYTHON-1082)
+ Let util.SortedSet handle uncomparable elements (PYTHON-1087)
* Sat May 04 2019 Arun Persaud <arun@gmx.de>
- update to version 3.17.1:
* Bug Fixes
+ Socket errors EAGAIN/EWOULDBLOCK are not handled properly and
cause timeouts (PYTHON-1089)
Version: 3.17.0-bp151.1.3
* Sat Mar 02 2019 Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
* be more specific in %files section
- update to version 3.17.0:
* Features
+ Send driver name and version in startup message (PYTHON-1068)
+ Add Cluster ssl_context option to enable SSL (PYTHON-995)
+ Allow encrypted private keys for 2-way SSL cluster connections
(PYTHON-995)
+ Introduce new method ConsistencyLevel.is_serial (PYTHON-1067)
+ Add Session.get_execution_profile (PYTHON-932)
+ Add host kwarg to Session.execute/execute_async APIs to send a
query to a specific node (PYTHON-993)
* Bug Fixes
+ NoHostAvailable when all hosts are up and connectable
(PYTHON-891)
+ Serial consistency level is not used (PYTHON-1007)
* Other
+ Fail faster on incorrect lz4 import (PYTHON-1042)
+ Bump Cython dependency version to 0.29 (PYTHON-1036)
+ Expand Driver SSL Documentation (PYTHON-740)
* Deprecations
+ Using Cluster.ssl_options to enable SSL is deprecated and will
be removed in the next major release, use ssl_context.
+ DowngradingConsistencyRetryPolicy is deprecated and will be
removed in the next major release. (PYTHON-937)
* Sat Dec 01 2018 Arun Persaud <arun@gmx.de>
- update to version 3.16.0:
* Bug Fixes
+ Improve and fix socket error-catching code in nonblocking-socket
reactors (PYTHON-1024)
+ Non-ASCII characters in schema break CQL string generation
(PYTHON-1008)
+ Fix OSS driver's virtual table support against DSE 6.0.X and
future server releases (PYTHON-1020)
+ ResultSet.one() fails if the row_factory is using a generator
(PYTHON-1026)
+ Log profile name on attempt to create existing profile
(PYTHON-944)
+ Cluster instantiation fails if any contact points' hostname
resolution fails (PYTHON-895)
* Other
+ Fix tests when RF is not maintained if we decomission a node
(PYTHON-1017)
+ Fix wrong use of ResultSet indexing (PYTHON-1015)
* Thu Nov 01 2018 Tomá? Chvátal <tchvatal@suse.com>
- Update to 3.15.1:
* No updatream changelog
- Switch to github tarball as the pypi one lacks tests now
* Thu Sep 20 2018 Tomá? Chvátal <tchvatal@suse.com>
- Add gevent to test dependencies
- Add scales to dependencies
- Add twisted to dependencies
* Mon Sep 03 2018 Tomá? Chvátal <tchvatal@suse.com>
- Enable tests
* Sat Sep 01 2018 arun@gmx.de
- update to version 3.15.0:
* Features
+ Parse Virtual Keyspace Metadata (PYTHON-992)
* Bug Fixes
+ Tokenmap.get_replicas returns the wrong value if token coincides
with the end of the range (PYTHON-978)
+ Python Driver fails with "more than 255 arguments" python
exception when > 255 columns specified in query response
(PYTHON-893)
+ Hang in
integration.standard.test_cluster.ClusterTests.test_set_keyspace_twice
(PYTHON-998)
+ Asyncore reactors should use a global variable instead of a
class variable for the event loop (PYTHON-697)
* Other
+ Use global variable for libev loops so it can be subclassed
(PYTHON-973)
+ Update SchemaParser for V4 (PYTHON-1006)
+ Bump Cython dependency version to 0.28 (PYTHON-1012)
* Wed Jun 13 2018 jengelh@inai.de
- Trim marketing wording from description.
* Sun May 06 2018 arun@gmx.de
- update to version 3.14.0:
* Features
+ Add one() function to the ResultSet API (PYTHON-947)
+ Create an utility function to fetch concurrently many keys from
the same replica (PYTHON-647)
+ Allow filter queries with fields that have an index managed
outside of cqlengine (PYTHON-966)
+ Twisted SSL Support (PYTHON-343)
+ Support IS NOT NULL operator in cqlengine (PYTHON-968)
* Other
+ Fix Broken Links in Docs (PYTHON-916)
+ Reevaluate MONKEY_PATCH_LOOP in test codebase (PYTHON-903)
+ Remove CASS_SERVER_VERSION and replace it for CASSANDRA_VERSION
in tests (PYTHON-910)
+ Refactor CASSANDRA_VERSION to a some kind of version object
(PYTHON-915)
+ Log warning when driver configures an authenticator, but server
does not request authentication (PYTHON-940)
+ Warn users when using the deprecated
Session.default_consistency_level (PYTHON-953)
+ Add DSE smoke test to OSS driver tests (PYTHON-894)
+ Document long compilation times and workarounds (PYTHON-868)
+ Improve error for batch WriteTimeouts (PYTHON-941)
+ Deprecate ResultSet indexing (PYTHON-945)
* Sun Feb 04 2018 arun@gmx.de
- specfile:
* update copyright year
- update to version 3.13.0:
* Features
+ cqlengine: LIKE filter operator (PYTHON-512)
+ Support cassandra.query.BatchType with cqlengine BatchQuery
(PYTHON-888)
* Bug Fixes
+ AttributeError: 'NoneType' object has no attribute 'add_timer'
(PYTHON-862)
+ Support retry_policy in PreparedStatement (PYTHON-861)
+ __del__ method in Session is throwing an exception (PYTHON-813)
+ LZ4 import issue with recent versions (PYTHON-897)
+ ResponseFuture._connection can be None when returning request_id
(PYTHON-853)
* Other
+ cqlengine: avoid warning when unregistering connection on
shutdown (PYTHON-865)
+ Fix DeprecationWarning of log.warn (PYTHON-846)
+ Fix example_mapper.py for python3 (PYTHON-860)
+ Possible deadlock on cassandra.concurrent.execute_concurrent
(PYTHON-768)
+ Add some known deprecated warnings for 4.x (PYTHON-877)
+ Remove copyright dates from copyright notices (PYTHON-863)
+ Remove "Experimental" tag from execution profiles documentation
(PYTHON-840)
+ request_timer metrics descriptions are slightly incorrect
(PYTHON-885)
+ Remove "Experimental" tag from cqlengine connections
documentation (PYTHON-892)
+ Set in documentation default consistency for operations is
LOCAL_ONE (PYTHON-901)
* Tue Nov 07 2017 arun@gmx.de
- update to version 3.12.0:
* Features
+ Send keyspace in QUERY, PREPARE, and BATCH messages (PYTHON-678)
+ Add IPv4Address/IPv6Address support for inet types (PYTHON-751)
+ WriteType.CDC and VIEW missing (PYTHON-794)
+ Warn on Cluster init if contact points are specified but LBP
isn't (legacy mode) (PYTHON-812)
+ Warn on Cluster init if contact points are specified but LBP
isn't (exection profile mode) (PYTHON-838)
+ Include hash of result set metadata in prepared stmt id
(PYTHON-808)
+ Add NO_COMPACT startup option (PYTHON-839)
+ Add new exception type for CDC (PYTHON-837)
* Bug Fixes
+ Both _set_final_exception/result called for the same
ResponseFuture (PYTHON-630)
+ Use of DCAwareRoundRobinPolicy raises NoHostAvailable exception
(PYTHON-781)
+ Not create two sessions by default in CQLEngine (PYTHON-814)
+ Bug when subclassing AyncoreConnection (PYTHON-827)
+ Error at cleanup when closing the asyncore connections
(PYTHON-829)
+ Fix sites where sessions can change during iteration
(PYTHON-793)
+ cqlengine: allow min_length=0 for Ascii and Text column types
(PYTHON-735)
+ Rare exception when "sys.exit(0)" after query timeouts
(PYTHON-752)
+ Dont set the session keyspace when preparing statements
(PYTHON-843)
+ Use of DCAwareRoundRobinPolicy raises NoHostAvailable exception
(PYTHON-781)
* Other
+ Remove DeprecationWarning when using WhiteListRoundRobinPolicy
(PYTHON-810)
+ Bump Cython dependency version to 0.27 (PYTHON-833)
* Wed Oct 04 2017 arun@gmx.de
- specfile:
* fixed source url
* updated description
* Tue Oct 03 2017 arun@gmx.de
- update to version 3.11.0:
* Features
+ Add idle_heartbeat_timeout cluster option to tune how long to
wait for heartbeat responses. (PYTHON-762)
+ Add HostFilterPolicy (PYTHON-761)
* Bug Fixes
+ is_idempotent flag is not propagated from PreparedStatement to
BoundStatement (PYTHON-736)
+ Fix asyncore hang on exit (PYTHON-767)
+ Driver takes several minutes to remove a bad host from session
(PYTHON-762)
+ Installation doesn't always fall back to no cython in Windows
(PYTHON-763)
+ Avoid to replace a connection that is supposed to shutdown
(PYTHON-772)
+ request_ids may not be returned to the pool (PYTHON-739)
+ Fix murmur3 on big-endian systems (PYTHON-653)
+ Ensure unused connections are closed if a Session is deleted by
the GC (PYTHON-774)
+ Fix .values_list by using db names internally (cqlengine)
(PYTHON-785)
* Other
+ Bump Cython dependency version to 0.25.2 (PYTHON-754)
+ Fix DeprecationWarning when using lz4 (PYTHON-769)
+ Deprecate WhiteListRoundRobinPolicy (PYTHON-759)
+ Improve upgrade guide for materializing pages (PYTHON-464)
+ Documentation for time/date specifies timestamp inupt as
microseconds (PYTHON-717)
+ Point to DSA Slack, not IRC, in docs index
- changes from version 3.10.0:
* Features
+ Add Duration type to cqlengine (PYTHON-750)
+ Community PR review: Raise error on primary key update only if
its value changed (PYTHON-705)
+ get_query_trace() contract is ambiguous (PYTHON-196)
* Bug Fixes
+ Queries using speculative execution policy timeout prematurely
(PYTHON-755)
+ Fix map where results are not consumed (PYTHON-749)
+ Driver fails to encode Duration's with large values (PYTHON-747)
+ UDT values are not updated correctly in CQLEngine (PYTHON-743)
+ UDT types are not validated in CQLEngine (PYTHON-742)
+ to_python is not implemented for types columns.Type and
columns.Date in CQLEngine (PYTHON-741)
+ Clients spin infinitely trying to connect to a host that is
drained (PYTHON-734)
+ Resulset.get_query_trace returns empty trace sometimes
(PYTHON-730)
+ Memory grows and doesn't get removed (PYTHON-720)
+ Fix RuntimeError caused by change dict size during iteration
(PYTHON-708)
+ fix ExponentialReconnectionPolicy may throw OverflowError
problem (PYTHON-707)
+ Avoid using nonexistent prepared statement in ResponseFuture
(PYTHON-706)
* Other
+ Update README (PYTHON-746)
+ Test python versions 3.5 and 3.6 (PYTHON-737)
+ Docs Warning About Prepare "select *" (PYTHON-626)
+ Increase Coverage in CqlEngine Test Suite (PYTHON-505)
+ Example SSL connection code does not verify server certificates
(PYTHON-469)
- changes from version 3.9.0:
* Features
+ cqlengine: remove elements by key from a map (PYTHON-688)
* Bug Fixes
+ improve error handling when connecting to non-existent keyspace
(PYTHON-665)
+ Sockets associated with sessions not getting cleaned up on
session.shutdown() (PYTHON-673)
+ rare flake on
integration.standard.test_cluster.ClusterTests.test_clone_shared_lbp
(PYTHON-727)
+ MontonicTimestampGenerator.__init__ ignores class defaults
(PYTHON-728)
+ race where callback or errback for request may not be called
(PYTHON-733)
+ cqlengine: model.update() should not update columns with a
default value that hasn't changed (PYTHON-657)
+ cqlengine: field value manager's explicit flag is True when
queried back from cassandra (PYTHON-719)
* Other
+ Connection not closed in example_mapper (PYTHON-723)
+ Remove mention of pre-2.0 C* versions from OSS 3.0+ docs
(PYTHON-710)
- changes from version 3.8.1:
* Bug Fixes
+ implement __le__/__ge__/__ne__ on some custom types (PYTHON-714)
+ Fix bug in eventlet and gevent reactors that could cause hangs
(PYTHON-721)
+ Fix DecimalType regression (PYTHON-724)
- changes from version 3.8.0:
* Features
+ Quote index names in metadata CQL generation (PYTHON-616)
+ On column deserialization failure, keep error message consistent
between python and cython (PYTHON-631)
+ TokenAwarePolicy always sends requests to the same replica for a
given key (PYTHON-643)
+ Added cql types to result set (PYTHON-648)
+ Add __len__ to BatchStatement (PYTHON-650)
+ Duration Type for Cassandra (PYTHON-655)
+ Send flags with PREPARE message in v5 (PYTHON-684)
* Bug Fixes
+ Potential Timing issue if application exits prior to session
pool initialization (PYTHON-636)
+ "Host X.X.X.X has been marked down" without any exceptions
(PYTHON-640)
+ NoHostAvailable or OperationTimedOut when using
execute_concurrent with a generator that inserts into more than
one table (PYTHON-642)
+ ResponseFuture creates Timers and don't cancel them even when
result is received which leads to memory leaks (PYTHON-644)
+ Driver cannot connect to Cassandra version > 3 (PYTHON-646)
+ Unable to import model using UserType without setuping
connection since 3.7 (PYTHON-649)
+ Don't prepare queries on ignored hosts on_up (PYTHON-669)
+ Sockets associated with sessions not getting cleaned up on
session.shutdown() (PYTHON-673)
+ Make client timestamps strictly monotonic (PYTHON-676)
+ cassandra.cqlengine.connection.register_connection broken when
hosts=None (PYTHON-692)
* Other
+ Create a cqlengine doc section explaining None semantics
(PYTHON-623)
+ Resolve warnings in documentation generation (PYTHON-645)
+ Cython dependency (PYTHON-686)
+ Drop Support for Python 2.6 (PYTHON-690)
* Tue Oct 03 2017 arun@gmx.de
- update to single spec
- commented out test-requirements, since tests are not run at the
moment
* Mon Jan 16 2017 dmueller@suse.com
- Initial package (3.7.1)