Skip to content

Conversation

robsdedude
Copy link
Member

@robsdedude robsdedude commented Nov 22, 2022

  • 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.

Depends on

- 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.
@robsdedude robsdedude marked this pull request as ready for review November 24, 2022 09:27
Copy link
Contributor

@bigmontz bigmontz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔖 👔

@robsdedude robsdedude merged commit f8e3f88 into neo4j:5.0 Nov 25, 2022
@robsdedude robsdedude deleted the bookmark-manager-without-db branch November 25, 2022 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants