Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sqliteai/sqlite-sync
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7be7d3b
Choose a base ref
...
head repository: sqliteai/sqlite-sync
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dfe6c8c
Choose a head ref
  • 7 commits
  • 59 files changed
  • 3 contributors

Commits on Jun 23, 2026

  1. Configuration menu
    Copy the full SHA
    beb90ed View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2026

  1. Configuration menu
    Copy the full SHA
    91b8946 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf29584 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    23bd84f View commit details
    Browse the repository at this point in the history
  4. chore: update readme.md

    damlayildiz committed Jun 25, 2026
    Configuration menu
    Copy the full SHA
    e522f28 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2026

  1. Add chunked payload generation and network transport (#50)

    Add chunk-aware payload generation and a streaming send/receive path for
    large rowsets and oversized BLOB/TEXT values, while keeping the existing
    monolithic payload APIs fully compatible.
    
    Payload generation:
    - Add cloudsync_payload_chunks() as a SQLite virtual table and a
      PostgreSQL set-returning function, with optional since_db_version,
      filter_site_id, and until_db_version inputs; each chunk carries its
      index, size, row count, db version range, and a stable watermark.
    - Add the persisted global setting payload_max_chunk_size (default 5 MB,
      clamped to a 256 KB minimum and a hard 32 MB ceiling); it controls
      generation only, never apply-time acceptance.
    - Add v3 fragment payloads so a single oversized BLOB/TEXT value can span
      multiple chunks: receivers stage fragments in the
      cloudsync_payload_fragments table (created at init time), apply the
      value once complete, tolerate duplicate and out-of-order delivery, and
      clean up stale incomplete groups.
    - Tag permanent payload-size errors with parseable error codes.
    
    Network transport:
    - Stream outgoing changes through cloudsync_payload_chunks() instead of
      building one monolithic payload; announce the chunk stream to /apply as
      an all-or-nothing batch (batchId/chunkIndex/isFinal) sent inline as
      blob or via upload URL, and advance the send checkpoint only after the
      whole stream succeeds.
    - Support chunked /check responses via positional-cursor paging with
      inline payload support, a dynamic JSON token budget, and strict cursor
      handling (never advance the receive cursor on a non-final chunk, treat
      unparseable or cursor-less non-final responses as errors).
    - Rename the receive entry point to cloudsync_network_receive_changes()
      with drain-all semantics and a configurable chunk cap; fail fast on
      non-retryable check failures.
    
    Compatibility: cloudsync_payload_encode() remains supported, and
    cloudsync_payload_apply() accepts legacy, monolithic, and v3 fragment
    payloads regardless of the local chunk-size setting.
    
    Also: PostgreSQL 1.0→1.1 migration script, PG memory-context and
    PG_TRY/exception-stack fixes in the new SRFs, dblink in the Postgres
    debug Docker images, per-branch beta Docker images on green pushes,
    extensive SQLite unit / PostgreSQL SQL / chunked e2e integration
    coverage, and API, performance, README, and changelog updates.
    marcobambini authored Jul 9, 2026
    Configuration menu
    Copy the full SHA
    06c021e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dfe6c8c View commit details
    Browse the repository at this point in the history
Loading