Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add NamespaceSyncState #313

Merged
merged 11 commits into from
Oct 9, 2023
Merged

feat: Add NamespaceSyncState #313

merged 11 commits into from
Oct 9, 2023

Commits on Oct 4, 2023

  1. chore: emit peer-have messages don't persist

    Fixes #309, removes responsibility from CoreManager to track peer-have
    messages - will be handled by SyncState class
    gmaclennan committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    6805186 View commit details
    Browse the repository at this point in the history
  2. feat: Add NamespaceSyncState

    This combines all core sync states for a namespace. It listens to
    CoreManager for new cores and pre-have messages.
    gmaclennan committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    5fe8791 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ecfa37e View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Merge branch 'main' into feat/namespace-sync-state

    * main:
      chore: remove ipc wrapper implementation (#306)
      fix: fix DataType.getByDocId implementation to match type definition (#317)
      chore: Add CI release workflow (#300)
      Feat: Icon data type (#304)
      chore: emit peer-have messages, don't persist them (#310)
    gmaclennan committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    c01d160 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feat/pre-have-namespace' into feat/namespace-sync-state

    * feat/pre-have-namespace:
      feat: add namespace to peer pre-have messages
    gmaclennan committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    d236359 View commit details
    Browse the repository at this point in the history
  3. fix param name

    gmaclennan committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    bfda259 View commit details
    Browse the repository at this point in the history
  4. WIP tests

    gmaclennan committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    2bab34a View commit details
    Browse the repository at this point in the history
  5. Merge branch 'main' into feat/namespace-sync-state

    * main:
      chore: update github action steps (#322)
      fix: fix mdns discovery (finally) (#323)
      chore: check npm lockfile version does not change (#321)
      chore: commit hooks for lint & package-lock chk (#320)
      feat: define sync capability per namespace (#319)
      feat: add namespace to peer pre-have messages (#314)
    gmaclennan committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    b0b354a View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2023

  1. add tests

    gmaclennan committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    53472d9 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into feat/namespace-sync-state

    * main:
      feat: add capabilities.getAll() (#326)
      chore: gitignore .eslintcache (#327)
    gmaclennan committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    39983ac View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. don't use eventEmitter

    Since these are internal modules and we don't attach a "listener" other
    than in the constructor, switching to a pattern that passes an
    'onUpdate' constructor param, that avoids needing to track when event
    listeners are removed
    gmaclennan committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    a8c090e View commit details
    Browse the repository at this point in the history