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-js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d7193fa
Choose a base ref
...
head repository: sqliteai/sqlite-js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: eec47bc
Choose a head ref
  • 9 commits
  • 8 files changed
  • 4 contributors

Commits on Nov 16, 2026

  1. fix: let the website changelog workflow fire on the tags this repo makes

    changelog.yml triggered on tags matching "v*.*.*", but the release job of
    main.yml tags with the bare version it reads from SQLITE_JS_VERSION: the tags
    on this repository are 1.4.0, 1.4.1, 1.4.2, 1.4.3, none with a v. So the
    pattern never matched a tag push and the workflow has run exactly once in its
    life, by hand on 2026-07-21, which is why no release since has reached the
    website changelog.
    
    It now uses "*.*.*", the pattern flutter-package.yml has always had, and that
    one does fire on these tags. The glob also matches a tag that does carry a v,
    so the workflow still runs if the tagging ever changes.
    
    This only opens the changelog pull request against the website's staging
    branch -- create_release stays false -- so firing on the real tag duplicates
    nothing main.yml already does.
    
    The 1.4.3 tag is already pushed, so this takes effect from the next release.
    1.4.3 itself would need the workflow_dispatch, whose input is described as a
    fake version for testing.
    
    Co-Authored-By: Claude Opus 5 <[email protected]>
    marcobambini and claude committed Nov 16, 2026
    Configuration menu
    Copy the full SHA
    c87877f View commit details
    Browse the repository at this point in the history
  2. merge pr-35

    Let the website changelog workflow fire on the tags this repo makes.
    
    Co-Authored-By: Claude Opus 5 <[email protected]>
    marcobambini and claude authored Nov 16, 2026
    Configuration menu
    Copy the full SHA
    96d1e8b View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2026

  1. Report errors that converting values and storing functions used to drop

    Three results were ignored:
    
    - Putting a value into the array of a call's arguments, or of a row of
      toArray(), can fail: QuickJS runs out of memory, or a script has put a
      setter on Array.prototype. The function then ran with fewer arguments,
      and toArray() returned shorter rows, with the exception left pending.
      Now the call fails with that exception, before the function runs or
      another row is read.
    - sqlite3_value_text() returns NULL when SQLite runs out of memory
      converting text to UTF-8, and JS_NewString() passed it to strlen(),
      which crashed. Now it is an "out of memory" error.
    - js_create_*() reported success when js_functions could not store the
      function (on a read-only connection, for example), so it was gone when
      the database was reopened. Now it is an error that says the function
      was registered on this connection but not stored, with SQLite's code.
    
    The new tests "Conversion errors" and "Store errors" fail without these
    changes; the text conversion case crashed.
    
    This change originates with AI: it was written by Claude (Anthropic's
    model) for App Dev For All. Contact: [email protected].
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01Vh2DAXGyHbMzjSsi2zbrkw
    davidschachterADFA and claude committed Nov 17, 2026
    Configuration menu
    Copy the full SHA
    3d8e8eb View commit details
    Browse the repository at this point in the history
  2. Count the memory check in the test program's exit code

    main() printed the result of its final "Memory" check (memory still in
    use after every test) but left it out of the value it returns, so a leak
    alone let the run exit 0 and pass CI.
    
    This change originates with AI: it was written by Claude (Anthropic's
    model) for App Dev For All. Contact: [email protected].
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01Vh2DAXGyHbMzjSsi2zbrkw
    davidschachterADFA and claude committed Nov 17, 2026
    Configuration menu
    Copy the full SHA
    6917411 View commit details
    Browse the repository at this point in the history
  3. Address review: require out of memory in the text conversion test

    - The text conversion case now passes only when the statement fails with
      SQLITE_NOMEM, so a failure for any other reason cannot pass it without
      reaching the conversion.
    - The UTF-16 path for sqlite3_open16() is spelled as an array, since a
      u"" literal needs C11.
    
    This change originates with AI: it was written by Claude (Anthropic's
    model) for App Dev For All. Contact: [email protected].
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01Vh2DAXGyHbMzjSsi2zbrkw
    davidschachterADFA and claude committed Nov 17, 2026
    Configuration menu
    Copy the full SHA
    18522e8 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2026

  1. merge pr-36

    marcobambini committed Nov 21, 2026
    Configuration menu
    Copy the full SHA
    c09ec7c View commit details
    Browse the repository at this point in the history
  2. docs: changelog entry for pr-36

    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    marcobambini and claude committed Nov 21, 2026
    Configuration menu
    Copy the full SHA
    01aa9cc View commit details
    Browse the repository at this point in the history
  3. release: 1.4.4

    SQLITE_JS_VERSION 1.4.3 -> 1.4.4, which is what the release is tagged with and
    what sqlitejs_version() reports: the release job reads make version, finds it
    differs from the latest release, and tags, publishes and releases under it. The
    node package.json and the Flutter pubspec.yaml are left alone, since that job
    writes them in its own [auto-update] commit.
    
    The changelog's Unreleased section for pr-36 becomes the 1.4.4 section: errors
    that converting values and storing functions used to drop, one of them a crash
    on text SQLite cannot convert to UTF-8.
    
    A patch release, as 1.4.2 was with a change of the same kind: js_create_*() now
    reports an error when it cannot store the function in js_functions, where it
    reported success, though the function still works on that connection.
    
    The built library reports 1.4.4 and make test passes 19 of 19 on macOS arm64.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    marcobambini and claude committed Nov 21, 2026
    Configuration menu
    Copy the full SHA
    b1aec45 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eec47bc View commit details
    Browse the repository at this point in the history
Loading