Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
5d3fd14
fix: wip first pass at updating to new schema.json to markdown rendering
zcstarr Feb 10, 2026
25a89f2
fix: add github actions deployment
zcstarr Feb 10, 2026
e021bd1
chore: update base image for circle
zcstarr Feb 11, 2026
be38f7e
chore: add docs to gitignore
zcstarr Feb 11, 2026
aaa5c8f
fix: adjust legacy scripts now deprecated to support new version layout
zcstarr Feb 11, 2026
c51c30f
chore: switch to bun
zcstarr Feb 11, 2026
99f2ed7
feat: wip this feature changes the repo to support inline schema in spec
zcstarr Feb 11, 2026
c9b9c49
fix: correct tests for the specs to validate that the specs are writt…
zcstarr Feb 11, 2026
598692d
feat: wip types bundling
zcstarr Feb 11, 2026
4e2da72
fix: add support for a mapping to return that mapping of schemas
zcstarr Feb 13, 2026
7ee5579
fix: make sure to use snake_case
zcstarr Feb 13, 2026
d797475
fix: bundle refactor to use only versioned directories
zcstarr Feb 17, 2026
5c4db83
fix: auto generate the proper directory structure and index.ts for pa…
zcstarr Feb 17, 2026
d47f473
chore: add support for knope release vs semantic release
zcstarr Feb 18, 2026
7f79e10
fix: add spec-template to be tied to version
zcstarr Feb 18, 2026
7448ee6
chore: fix bun deploy ci
zcstarr Feb 18, 2026
6c32ccb
fix: gh pages bug
zcstarr Feb 19, 2026
c7e5f90
fix: adjust this just to test releasing
zcstarr Feb 19, 2026
2a737a5
fix: add missing workflow
zcstarr Feb 19, 2026
3a7102b
fix: ghpages build with tmp remove CNAME
zcstarr Feb 19, 2026
f13da0f
fix: temp owner to self
zcstarr Feb 19, 2026
46c9845
fix: gh pages deployment
zcstarr Feb 19, 2026
02e5107
fix: update workflow for gh deploy
zcstarr Feb 19, 2026
330fd89
fix: make sure we're exporting with 1_
zcstarr Feb 20, 2026
0ec2dbf
chore: improve changelog
zcstarr Feb 20, 2026
ad9bb18
fix: filter out json schema object
zcstarr Feb 23, 2026
3bcabf5
fix: remove extra pipe
zcstarr Feb 23, 2026
b1828b5
chore: rm dead assets
zcstarr Feb 23, 2026
0850d1d
fix: spec template to include x-tenssions definition
zcstarr Feb 24, 2026
b0925a4
chore: rm the old spec.md generation
zcstarr Feb 24, 2026
302d6c8
chore: fix broken version link
zcstarr Feb 24, 2026
72c478c
chore: add missing runtime and schema object
zcstarr Feb 24, 2026
a2a0a62
chore: fix version link
zcstarr Feb 24, 2026
90d08f3
chore: rm the extra whitespace
zcstarr Feb 24, 2026
2475278
fix: correct automatic linking to document segments
zcstarr Feb 24, 2026
010da3e
fix: spec template properly resolves all links
zcstarr Feb 24, 2026
dac318c
chore: bump lint version and update lint rules
zcstarr Feb 24, 2026
bab7d01
chore: rm validate, rely on lint and update ci
zcstarr Feb 24, 2026
92549d9
chore: rm dead code
zcstarr Feb 24, 2026
a795a8a
chore: newline lint
zcstarr Feb 24, 2026
99f3358
chore: lint
zcstarr Feb 24, 2026
ac43903
chore: point everything to production
zcstarr Feb 24, 2026
433d0ea
chore: update readme
zcstarr Feb 24, 2026
9796818
fix: version regex pattern
zcstarr Feb 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 0 additions & 77 deletions .circleci/config.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: CI

on:
push:
branches-ignore: [master]
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun test
- run: bun run build
- run: bun run lint
42 changes: 42 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Deploy docs to GitHub Pages

on:
push:
branches: [master]

permissions:
contents: read
pages: write
id-token: write

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

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun install
- run: bun run build
- uses: actions/jekyll-build-pages@v1
with:
source: docs
destination: ./_site
- uses: actions/upload-pages-artifact@v3
with:
path: ./_site

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- id: deploy
uses: actions/deploy-pages@v4
27 changes: 27 additions & 0 deletions .github/workflows/prepare_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Create Release PR

on:
push:
branches: [master]

jobs:
prepare-release:
if: "!contains(github.event.head_commit.message, 'chore: prepare release')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PAT }}
- name: Configure Git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "github-actions@github.com"
- name: Install Knope
uses: knope-dev/action@v2.1.2
with:
version: 0.22.3
- run: knope prepare-release --verbose
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
continue-on-error: true
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

on:
pull_request:
types: [closed]
branches: [master]

jobs:
release:
if: github.head_ref == 'release' && github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Knope
uses: knope-dev/action@v2.1.2
with:
version: 0.22.3
- run: knope release --verbose
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
- uses: actions/setup-node@v4
with:
node-version: "24"
registry-url: "https://registry.npmjs.org"
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run build:bundle
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.DS_Store
build/
dist/
docs/
node_modules/
generated/
.vscode/
14 changes: 11 additions & 3 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
{
"default": true,
"MD033": {
"allowed_elements": ["p", "img", "a"]
"allowed_elements": [
"p",
"img",
"a",
"span"
]
},
"MD013": false,
"MD025": false,
"MD004": false
}
"MD004": false,
"MD049": false,
"MD059": false,
"MD060": false
}
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.13.0
24.11.0
12 changes: 12 additions & 0 deletions .prettierc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"endOfLine": "lf",
"bracketSameLine": false,
"arrowParens": "always",
"bracketSpacing": true,
"useTabs": false,
"tabWidth": 2,
"printWidth": 100,
"trailingComma": "esnext",
"singleQuote": true,
"semi": true
}
45 changes: 0 additions & 45 deletions .releaserc

This file was deleted.

22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,28 @@ You may also access specific versions of the spec by appending the version to th

`https://spec.open-rpc.org/1.0.0`

## _Announcement Recent Change_

The OpenRPC specification is now **packaged and deployed** as `@open-rpc/spec`, and it includes **versioned historical schemas**.
This allows downstream tooling and SDKs to pull specific schema versions directly from the published package.

Examples:

- `@open-rpc/spec/1_3/schema.json`
- `@open-rpc/spec/1_4/schema.json`

## Regex Change (starting 1.4)

Starting with the `1.4.x` schema line, the `openrpc` constraint moves from explicit patch-level enumeration to a regex-based version-line constraint.
This means `1.4.x` is validated as a compatibility line instead of requiring each patch version to be listed.

## ENUM Change

Historically, schema compatibility across versions was not always explicit.
To clarify behavior boundaries, version ENUMs are now treated as strict compatibility declarations: a spec version appears only when that schema behavior set explicitly supports it.

These changes are not intended to break existing valid documents, but they make version/behavior differences explicit and machine-checkable for tooling.

## Contributing

How to contribute, build and release are outlined in [CONTRIBUTING.md](CONTRIBUTING.md), [BUILDING.md](BUILDING.md) and [RELEASING.md](RELEASING.md) respectively. Commits in this repository follow the [CONVENTIONAL_COMMITS.md](CONVENTIONAL_COMMITS.md) specification.
Expand Down
66 changes: 0 additions & 66 deletions bin/build.ghpages.sh

This file was deleted.

Loading