Skip to content

πŸ¦‹ New version release - #312

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Jul 20, 2026
Merged

πŸ¦‹ New version release#312
brentrager merged 1 commit into
mainfrom
changeset-release/main

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@smooai/smooth-operator@1.36.3

Patch Changes

  • d17fa66: SECURITY: TS server β€” owner-check only conversations that HAVE an owner (Option B)

    The per-user scoping rule shipped in SECURITY: TypeScript per-user conversation scoping (th-8fe998)Β #297 scoped an authenticated principal with no
    email claim (and an anonymous connection to an auth-enabled server) to an unownable
    sentinel, and required ownerEmail === scope on every read. That denied such callers
    EVERYTHING β€” empty list, resume refused, send_message refused β€” locking them out of
    the session they had just created, i.e. no anonymous or emailless chat at all on an
    auth-enabled server. The identical rule in .NET hung CI on a WebSocket ACL test and was
    reverted in Revert: .NET write-path scoping (#308) β€” hangs CI, denies anonymous/emailless principalsΒ #309; TS had no equivalent test, so it went unnoticed here.

    mayRead now allows a conversation with NO owner and owner-checks one that has an
    owner. The reported P0 stays closed: authenticated A still cannot read or write
    authenticated B's owned session (SESSION_NOT_FOUND, byte-identical to a never-existed
    id, nothing appended to B's log), and an emailless scope still matches no real owner β€”
    the list stays empty for emailless principals rather than pooling every anonymous
    visitor's chats into one readable bucket.

    Owner comparison is now case-insensitive (read path and list selection), matching .NET
    and Python β€” OIDC providers vary on the casing they emit for the same identity.

@smooai/smooth-operator-web-chat-example@0.0.39

Patch Changes

  • Updated dependencies [d17fa66]
    • @smooai/smooth-operator@1.36.3

@brentrager
brentrager merged commit 64d19a3 into main Jul 20, 2026
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.

1 participant