Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
237de98
feat(v2): typed client generated from the rest-api OpenAPI document
MrYuion Nov 17, 2026
d066aae
feat(v2): port the OAuth login from v1
MrYuion Nov 17, 2026
5fd840b
feat(v2): realtime client, and fixes from auth.cr, a live stack and r…
MrYuion Nov 17, 2026
5805451
fix(v2): linear path template and module ID parsing
MrYuion Nov 17, 2026
df4ea79
perf(v2): mark generated calls pure, so bundlers drop unused operations
MrYuion Nov 17, 2026
b20b298
feat(v2): migration tool from v1, and types for projects without stri…
MrYuion Nov 17, 2026
a501df1
feat(v2): typed endpoint mocks, v1 mocks in compat, and short type names
MrYuion Nov 17, 2026
dc8515f
feat(v2): generate the staff API client, and name list operations query
MrYuion Nov 17, 2026
2a18f14
ci(v2): regenerate the client each day, and close the stale regenerat…
MrYuion Nov 17, 2026
df6015e
fix(v2): fixes from the sol-loop review of the migration tool, mocks …
MrYuion Nov 17, 2026
9885612
docs(v2): name list operations query in the README
MrYuion Nov 18, 2026
cfbf25b
feat!: make the 7.x client the package at the repository root
MrYuion Nov 18, 2026
149eb0b
ci: the regeneration bot commits as fix, so a merge publishes the client
MrYuion Nov 18, 2026
0817a36
feat!: snake_case names for variables, properties and namespaces
MrYuion Nov 18, 2026
8866d01
feat: next() on the reply of a page requests the next page
MrYuion Nov 18, 2026
ba4b95f
fix: the migration tool follows the 7.x names and the prerelease install
MrYuion Nov 18, 2026
aea8081
feat: debug logs for the client, the login and the realtime client
MrYuion Nov 18, 2026
3a3c8df
docs: name the design rules without Zig or TigerStyle
MrYuion Nov 18, 2026
7366c94
fix: read the rest-api time types from the document
MrYuion Nov 18, 2026
5f7c92e
fix: patch string fields and missing read-only fields in the documents
MrYuion Nov 18, 2026
435ecf1
fix: address the review of the 7.x client
MrYuion Nov 18, 2026
4dcfa2d
fix: generate from the corrected API documents
MrYuion Nov 19, 2026
4c49634
docs: clarify the README and correct the staff schema note
MrYuion Nov 19, 2026
086c4a5
docs: reorder the README and describe the result
MrYuion Nov 19, 2026
7695fbd
fix: give a response without a schema as text
MrYuion Nov 19, 2026
b4a7ff5
refactor: rename splitModuleId to splitModuleSlug
MrYuion Nov 19, 2026
d499a36
docs: explain the two arguments of a call
MrYuion Nov 19, 2026
8227d84
fix: close auth, realtime and migration gaps from the council review
MrYuion Nov 21, 2026
abe5eb5
fix(compat): keep the next of a 6.x page in mockPage and fromV1Mock
MrYuion Nov 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 0 additions & 5 deletions .eslintrc.json

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Checks the package: the migration map, types, tests and build.
name: CI

on:
pull_request:
push:
branches:
- master
- next

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.3

- run: bun install --frozen-lockfile
- run: bun run v1-map:check
- run: bun run check
- run: bun test
- run: bun run build
45 changes: 45 additions & 0 deletions .github/workflows/regenerate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Regenerates the client from the API documents on master each day. A change opens a PR, and the
# older regeneration PRs close. See scripts/regenerate-pr.sh.
#
# The schedule runs on the default branch. A manual run regenerates the branch that it runs on, such
# as `next`, and opens the PR to that branch.
#
# A PR that `GITHUB_TOKEN` opens does not start the CI checks, so the script runs the checks and
# puts the results in the PR. Set the secret `REGENERATE_TOKEN` (a token with `contents` and
# `pull-requests` write access) to open the PRs as that token, and then the checks start too.
# With `GITHUB_TOKEN`, "Allow GitHub Actions to create and approve pull requests" must be on in the
# settings of the repository.
name: Regenerate

on:
schedule:
- cron: '17 3 * * *'
workflow_dispatch:

permissions:
contents: write
pull-requests: write

concurrency:
group: regenerate
cancel-in-progress: false

jobs:
regenerate:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.REGENERATE_TOKEN || github.token }}

- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.3

- run: bun install --frozen-lockfile

- run: scripts/regenerate-pr.sh
env:
GH_TOKEN: ${{ secrets.REGENERATE_TOKEN || github.token }}
BASE: ${{ github.ref_name }}
61 changes: 34 additions & 27 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -1,58 +1,65 @@
# This is a basic workflow to help you get started with Actions

# Releases the package with semantic-release, from the commit messages since the last release:
#
# - `master` publishes to the npm tag `latest`, and the API docs to GitHub Pages.
# - `next` publishes prereleases, such as 7.0.0-next.1, to the npm tag `next`.
# - A maintenance branch, such as `6.x`, publishes fixes of that major version. The workflow on
# that branch lists it in `on.push.branches`.
#
# The branches are in `release` of package.json. npm gets the package with trusted publishing
# (`id-token: write`), so the job has no npm token.
name: Release

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
push:
branches:
- master
- next

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js environment
uses: actions/setup-node@v4
# semantic-release and `npm publish` run on Node.
- uses: actions/setup-node@v4
with:
node-version: '24.10'
cache: npm

- name: NPM install
run: npm ci

- name: Test Library
run: npm run test

- name: Build Library
run: npm run build
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.3

- name: Generate Documentation
run: npm run docs
- run: bun install --frozen-lockfile
- run: bun run check
- run: bun test
# Before the release, so that a failed build does not leave a tag without a package.
- run: bun run build

- name: Update application version
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run semantic-release
run: npx semantic-release

- uses: denoland/setup-deno@v2
if: github.ref == 'refs/heads/master'
with:
deno-version: 2.9.8

- name: Generate the API docs
if: github.ref == 'refs/heads/master'
run: bun run docs

- name: Publish generated content to GitHub Pages
- name: Publish the API docs to GitHub Pages
if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"singleQuote": true,
"tabWidth": 4,
"semi": true,
"plugins": ["prettier-plugin-organize-imports"]
"printWidth": 100
}
Loading
Loading