⭐ New Features
- Add support for Bolt 5.2, which adds notification filtering.
- Add support for Bolt 5.3 (bolt agent).
- Add support for Bolt 5.4 (telemetry).
- Add
Driver::is_encrypted()
. - Introduce
neo4j::driver::Conifg::with_keep_alive()
andwithout_keep_alive()
.
👏 Improvements
⚠️ ️️Bumpchrono-tz
from0.8
to0.9
(types of this crate are exposed through the driver's API).⚠️ ️️Bumprustls
from0.22
to0.23
:- types of this crate are exposed through the driver's API
- other breaking changes (e.g., new build requirements).
See rustls' changelog for more details.
🔧 Fixes
- Fix
Transaction::rolblack()
failing if a result stream failed before. - Fix errors during transaction
BEGIN
not being properly propagated. - Fix propagation of
is_retryable()
of errors within transactions. - Fix connection hint
connection.recv_timeout_seconds
not always being respected leading to connections timeing out too late.
🧹Clean-up
⚠️ Remove useless lifetime parameter fromSessionConfig::with_database()
.⚠️ Change return type ofConnectionConfig::with_encryption_trust_any_certificate()
fromResult<Self, Error>
toSelf
.⚠️ Reduce the number of lifetime generic parameters inTransactionQueryBuilder
andTransactionRecordStream
.⚠️ Removeimpl From<URIError> for ConnectionConfigParseError
.
👏 Improvements
- Impl
FromStr
forneo4j::driver::ConnectionConfig
(besidesTryFrom<&str>
).
🧹Clean-up
⚠️ Update dependencies.
Among othersrustls
. To accommodate this change, therustls_dangerous_configuration
feature was removed. This update also affectsConnectionConfig::with_encryption_custom_tls_config()
, which accepts a customrustls::ClientConfig
.⚠️ MakeRecord{entries}
private and offer many helper methods instead.- Add
EagerResult::into_scalar()
. ⚠️ RenamedRetryableError
toRetryError
- Fix
Driver::execute_query()::run()
not committing the transaction. ⚠️ RemovedAutoCommitBuilder::without_transaction_timeout
andAutoCommitBuilder::with_default_transaction_timeout
in favor ofAutoCommitBuilder::with_transaction_timeout
in combination withTransactionTimeout::none
,TransactionTimeout::from_millis
andTransactionTimeout::default
.
Same forTransactionBuilder
.⚠️ Moveneo4j::Address
toneo4j::address::Address
📚 Docs
- Much more documentation.
Initial release