Neo4j-driver

Latest version: v5.18.0

Safety actively analyzes 613682 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

5.9

- `neo4j.auth_management.ExpiringAuth`'s `expires_in` (in preview) was replaced
by `expires_at`, which is a unix timestamp.
You can use `ExpiringAuth(some_auth).expires_in(123)` instead.

5.8

- Renamed experimental `neo4j.RoutingControl.READERS` to `READ` and `WRITERS` to
`WRITE`.
- Renamed experimental `driver.query_bookmark_manager` to
`execute_query_bookmark_manager`.
- Query argument to experimental `driver.execute_query` not is typed
`LiteralString` instead of `str` to help mitigate accidental Cypher
injections. There are rare use-cases where a computed string is necessary.
Please use ` type: ignore`, or `typing.cast` to suppress the type checking in
those cases.

5.7

- Deprecated importing from `neo4j.work` and its submodules.
Everything should be imported directly from `neo4j` instead.

5.5

- No breaking or major changes.

5.4

- Undocumented helper methods `Neo4jError.is_fatal_during_discovery` and
`Neo4jError.invalidates_all_connections` have been deprecated and will be
removed without replacement in version 6.0.

5.3

- Python 3.11 support added
- Removed undocumented, unused `neo4j.data.map_type`
- Query strings are now typed `LiteralString` instead of `str` to help mitigate
accidental Cypher injections. There are rare use-cases where a computed
string is necessary. Please use ` type: ignore`, or `typing.cast` to
suppress the type checking in those cases.
- The experimental bookmark manager feature was changed to no longer track
bookmarks per database.
This effectively changes the signature of almost all bookmark
manager related methods:
- `neo4j.BookmarkManger` and `neo4j.AsyncBookmarkManger` abstract base
classes:
- ``update_bookmarks`` has no longer a ``database`` argument.
- ``get_bookmarks`` has no longer a ``database`` argument.
- The ``get_all_bookmarks`` method was removed.
- The ``forget`` method was removed.
- `neo4j.GraphDatabase.bookmark_manager` and
`neo4j.AsyncGraphDatabase.bookmark_manager` factory methods:
- ``initial_bookmarks`` is no longer a mapping from database name
to bookmarks but plain bookmarks.
- ``bookmarks_supplier`` no longer receives the database name as
an argument.
- ``bookmarks_consumer`` no longer receives the database name as
an argument.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.