Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 4.0.0 #1145

Open
wants to merge 1,466 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1466 commits
Select commit Hold shift + click to select a range
72c9491
codegen metadata
stainless-bot Oct 17, 2024
00c4eaf
feat(api): api update (#1932)
stainless-app[bot] Oct 18, 2024
fcc6fde
feat(api): api update (#1933)
stainless-app[bot] Oct 18, 2024
c0d3e02
feat(api): api update (#1934)
stainless-app[bot] Oct 18, 2024
8bb427b
feat(api): api update (#1935)
stainless-app[bot] Oct 18, 2024
8ae954e
feat(api): api update (#1936)
stainless-app[bot] Oct 18, 2024
1fa0266
feat(api): api update (#1937)
stainless-app[bot] Oct 18, 2024
97e2021
feat(api): api update (#1938)
stainless-app[bot] Oct 18, 2024
f7f49f6
feat(api): api update (#1939)
stainless-app[bot] Oct 18, 2024
3995983
feat(api): api update (#1940)
stainless-app[bot] Oct 18, 2024
fd8a220
feat(api): api update (#1941)
stainless-app[bot] Oct 18, 2024
36d3dc2
codegen metadata
stainless-bot Oct 18, 2024
e759029
feat(api): api update (#1942)
stainless-app[bot] Oct 18, 2024
8224b38
codegen metadata
stainless-bot Oct 18, 2024
5736ff0
feat(api): api update (#1943)
stainless-app[bot] Oct 18, 2024
9336699
feat(api): api update (#1944)
stainless-app[bot] Oct 18, 2024
c91c46d
feat(api): api update (#1945)
stainless-app[bot] Oct 18, 2024
cf34409
feat(api): api update (#1946)
stainless-app[bot] Oct 18, 2024
2322d60
feat(api): api update (#1947)
stainless-app[bot] Oct 18, 2024
e6bd786
feat(api): api update (#1948)
stainless-app[bot] Oct 21, 2024
92a0320
feat(api): api update (#1949)
stainless-app[bot] Oct 21, 2024
9543f03
feat(api): api update (#1950)
stainless-app[bot] Oct 21, 2024
a982944
feat(api): api update (#1951)
stainless-app[bot] Oct 21, 2024
c4a4e24
feat(api): api update (#1952)
stainless-app[bot] Oct 21, 2024
1267abb
feat(api): api update (#1953)
stainless-app[bot] Oct 21, 2024
c9c28e4
codegen metadata
stainless-bot Oct 21, 2024
9f8cea1
feat(api): api update (#1954)
stainless-app[bot] Oct 21, 2024
f24ede0
feat(api): api update (#1955)
stainless-app[bot] Oct 21, 2024
c0507e3
codegen metadata
stainless-bot Oct 21, 2024
2fa48e5
codegen metadata
stainless-bot Oct 21, 2024
99c3579
codegen metadata
stainless-bot Oct 21, 2024
7f24b21
feat(api): api update (#1956)
stainless-app[bot] Oct 21, 2024
55fc744
feat(api): api update (#1957)
stainless-app[bot] Oct 21, 2024
1bfedce
codegen metadata
Oct 21, 2024
54c167a
codegen metadata
Oct 21, 2024
e5e537a
codegen metadata
Oct 21, 2024
effd5a8
feat(api): api update (#1959)
Oct 21, 2024
d9b25ab
feat(api): api update (#1960)
Oct 21, 2024
362d356
feat(api): api update (#1961)
Oct 22, 2024
e978087
codegen metadata
Oct 22, 2024
77ed921
feat(api): api update (#1962)
Oct 22, 2024
d3c1be7
feat(api): api update (#1963)
Oct 22, 2024
95e08bd
feat(api): api update (#1964)
Oct 22, 2024
54853e2
feat(api): api update (#1969)
Oct 22, 2024
5855e3e
feat(api): api update (#1976)
Oct 23, 2024
ad39e28
feat(api): api update (#1978)
Oct 23, 2024
20b34b2
feat(api): api update (#1979)
Oct 23, 2024
0b5dfc3
feat(api): api update (#1980)
Oct 23, 2024
647cf77
feat(api): api update (#1981)
Oct 23, 2024
ef9ee0f
feat(api): api update (#1982)
Oct 23, 2024
535cbc0
codegen metadata
Oct 23, 2024
93d75df
feat(api): api update (#1983)
Oct 23, 2024
6df015d
codegen metadata
Oct 23, 2024
18722b0
codegen metadata
Oct 23, 2024
280138d
codegen metadata
Oct 23, 2024
abe83aa
codegen metadata
Oct 23, 2024
0194aca
feat(api): api update (#1984)
Oct 23, 2024
583ac14
feat(api): api update (#1985)
Oct 23, 2024
189afad
codegen metadata
Oct 23, 2024
1677af1
codegen metadata
Oct 23, 2024
869d1be
feat(api): api update (#1986)
Oct 23, 2024
a998a8e
feat(api): api update (#1987)
Oct 23, 2024
c4636ac
codegen metadata
stainless-bot Oct 22, 2024
cf7e557
feat(api): api update (#1988)
stainless-app[bot] Oct 22, 2024
a32bff5
feat(api): api update (#1989)
stainless-app[bot] Oct 22, 2024
8399d25
feat(api): api update (#1990)
stainless-app[bot] Oct 22, 2024
28f991d
codegen metadata
stainless-bot Oct 23, 2024
fcc8cec
feat(api): api update (#2008)
stainless-app[bot] Oct 23, 2024
d8c33d0
feat(api): api update (#2009)
stainless-app[bot] Oct 23, 2024
a09963d
codegen metadata
stainless-bot Oct 23, 2024
b277300
feat(api): api update (#2010)
stainless-app[bot] Oct 23, 2024
d691396
feat(api): api update (#2011)
stainless-app[bot] Oct 23, 2024
485020b
feat(api): api update (#2012)
stainless-app[bot] Oct 23, 2024
2ef9df6
feat(api): api update (#2013)
stainless-app[bot] Oct 23, 2024
bdc1c8c
codegen metadata
stainless-bot Oct 23, 2024
21ca521
feat(api): api update (#2014)
stainless-app[bot] Oct 23, 2024
e2c63c5
feat(api): api update (#2015)
stainless-app[bot] Oct 23, 2024
5d0f585
feat(api): api update (#2016)
stainless-app[bot] Oct 23, 2024
8979cf5
feat(api): api update (#2017)
stainless-app[bot] Oct 23, 2024
35bb25e
codegen metadata
stainless-bot Oct 23, 2024
7a23506
codegen metadata
stainless-bot Oct 23, 2024
2d77815
feat(api): api update (#2019)
stainless-app[bot] Oct 23, 2024
0f5ab35
feat(api): api update (#2020)
stainless-app[bot] Oct 23, 2024
26d08f6
codegen metadata
stainless-bot Oct 23, 2024
8e3972b
feat(api): api update (#2021)
stainless-app[bot] Oct 23, 2024
44d354a
feat(api): api update (#2022)
stainless-app[bot] Oct 23, 2024
4589e2c
feat(api): api update (#2023)
stainless-app[bot] Oct 24, 2024
0486ce6
feat(api): api update (#2024)
stainless-app[bot] Oct 24, 2024
17d0700
feat(api): api update (#2025)
stainless-app[bot] Oct 24, 2024
24cc1fc
feat(api): api update (#2026)
stainless-app[bot] Oct 24, 2024
409473d
feat(api): api update (#2027)
stainless-app[bot] Oct 24, 2024
d80f9c9
feat(api): api update (#2028)
stainless-app[bot] Oct 24, 2024
3f67beb
feat(api): api update (#2029)
stainless-app[bot] Oct 24, 2024
ee9d699
codegen metadata
stainless-bot Oct 24, 2024
73140a4
codegen metadata
stainless-bot Oct 24, 2024
379da10
feat(api): api update (#2030)
stainless-app[bot] Oct 24, 2024
b6e28dd
codegen metadata
stainless-bot Oct 24, 2024
93270e2
codegen metadata
stainless-bot Oct 24, 2024
1657f89
feat(api): api update (#2031)
stainless-app[bot] Oct 24, 2024
caab17a
feat(api): api update (#2032)
stainless-app[bot] Oct 24, 2024
571ac09
feat(api): api update (#2033)
stainless-app[bot] Oct 24, 2024
6847b3e
feat(api): api update (#2034)
stainless-app[bot] Oct 24, 2024
4692ad2
feat(api): api update (#2035)
stainless-app[bot] Oct 24, 2024
c207052
feat(api): api update (#2036)
stainless-app[bot] Oct 24, 2024
cee7e1d
codegen metadata
stainless-bot Oct 24, 2024
99660f5
codegen metadata
stainless-bot Oct 24, 2024
9085c97
codegen metadata
stainless-bot Oct 24, 2024
5ee87d2
feat(api): api update (#2037)
stainless-app[bot] Oct 24, 2024
796168f
feat(api): api update (#2038)
stainless-app[bot] Oct 24, 2024
20ff4a8
feat(api): api update (#2039)
stainless-app[bot] Oct 24, 2024
0231a0b
codegen metadata
stainless-bot Oct 25, 2024
0c38817
codegen metadata
stainless-bot Oct 25, 2024
3a2bd88
codegen metadata
stainless-bot Oct 25, 2024
e41ce36
codegen metadata
stainless-bot Oct 25, 2024
6a603f9
codegen metadata
stainless-bot Oct 25, 2024
e8e5040
codegen metadata
stainless-bot Oct 25, 2024
9882650
feat(api): api update (#2040)
stainless-app[bot] Oct 25, 2024
3a749a5
feat(api): api update (#2041)
stainless-app[bot] Oct 25, 2024
a175f49
feat(api): api update (#2042)
stainless-app[bot] Oct 25, 2024
75442f1
codegen metadata
stainless-bot Oct 25, 2024
26b21b1
feat(api): api update (#2043)
stainless-app[bot] Oct 25, 2024
4af8498
feat(api): api update (#2044)
stainless-app[bot] Oct 25, 2024
b42c8bc
codegen metadata
stainless-bot Oct 25, 2024
6e0e59f
codegen metadata
stainless-bot Oct 25, 2024
0ec9635
feat(api): api update (#2051)
stainless-app[bot] Oct 25, 2024
6a145bd
feat(api): api update (#2052)
stainless-app[bot] Oct 26, 2024
bf215c8
feat(api): api update (#2053)
stainless-app[bot] Oct 26, 2024
bab3871
feat(snippet_rules): add `delete` support (#2054)
stainless-app[bot] Oct 28, 2024
924bea1
feat(api): api update (#2055)
stainless-app[bot] Oct 28, 2024
30bcf63
feat(hyperdrive_config): remove overriding `id` mappings (#2056)
stainless-app[bot] Oct 28, 2024
d0afa27
feat(api): api update (#2057)
stainless-app[bot] Oct 28, 2024
9091552
codegen metadata
stainless-bot Oct 28, 2024
c5aa7e9
feat(api): api update (#2058)
stainless-app[bot] Oct 28, 2024
369e757
feat(api): api update (#2059)
stainless-app[bot] Oct 28, 2024
5e789ab
feat(api): api update (#2061)
Oct 28, 2024
85f9eaa
feat(api): api update (#2063)
stainless-app[bot] Oct 28, 2024
917f385
feat(api): api update (#2064)
stainless-app[bot] Oct 28, 2024
fa8d10f
feat(api): api update (#2065)
stainless-app[bot] Oct 28, 2024
46b42fd
feat(api): api update (#2066)
stainless-app[bot] Oct 28, 2024
ee67359
feat(api): api update (#2067)
stainless-app[bot] Oct 28, 2024
77df12d
feat(api): api update (#2068)
stainless-app[bot] Oct 28, 2024
ebb9236
codegen metadata
stainless-bot Oct 28, 2024
374f419
feat(api): api update (#2069)
stainless-app[bot] Oct 28, 2024
827fd02
feat(api): api update (#2070)
stainless-app[bot] Oct 28, 2024
d306c8a
codegen metadata
stainless-bot Oct 28, 2024
60a54cc
feat(api): api update (#2071)
stainless-app[bot] Oct 28, 2024
55d1965
feat(api): api update (#2072)
stainless-app[bot] Oct 28, 2024
549a6de
feat(api): api update (#2073)
stainless-app[bot] Oct 28, 2024
8213e08
feat(api): api update (#2074)
Oct 28, 2024
248d2bb
codegen metadata
Oct 28, 2024
80dfe02
feat(r2): add custom domain and managed domain resources (#2077)
Oct 29, 2024
9099708
codegen metadata
stainless-bot Oct 28, 2024
d7f2094
codegen metadata
stainless-bot Oct 28, 2024
1676368
codegen metadata
stainless-bot Oct 28, 2024
7a49bd2
feat(zone_cache_variants): fix schema reference for model (#2079)
stainless-app[bot] Oct 29, 2024
67e51f0
codegen metadata
stainless-bot Oct 29, 2024
80463eb
codegen metadata
stainless-bot Oct 29, 2024
b6541ad
codegen metadata
stainless-bot Oct 29, 2024
72c7cda
codegen metadata
stainless-bot Oct 29, 2024
670b7f0
codegen metadata
stainless-bot Oct 29, 2024
0825d77
codegen metadata
stainless-bot Oct 29, 2024
9cd09f1
codegen metadata
stainless-bot Oct 29, 2024
7206af9
codegen metadata
stainless-bot Oct 29, 2024
7e8949f
codegen metadata
stainless-bot Oct 29, 2024
8ce6991
codegen metadata
stainless-bot Oct 29, 2024
d0f7fea
codegen metadata
stainless-bot Oct 29, 2024
b645d89
codegen metadata
stainless-bot Oct 29, 2024
c99129a
codegen metadata
stainless-bot Oct 29, 2024
f553372
codegen metadata
stainless-bot Oct 29, 2024
7617c18
codegen metadata
stainless-bot Oct 29, 2024
ecb8ce5
codegen metadata
stainless-bot Oct 29, 2024
8c92822
codegen metadata
stainless-bot Oct 29, 2024
da93cc9
feat(api): add support for r2 bucket lifecycle and resource sharing (…
stainless-app[bot] Oct 29, 2024
6168fcd
codegen metadata
stainless-bot Oct 30, 2024
f113e7f
codegen metadata
stainless-bot Oct 30, 2024
34d4975
codegen metadata
stainless-bot Oct 30, 2024
a67c629
codegen metadata
stainless-bot Oct 30, 2024
a134e34
codegen metadata
stainless-bot Oct 30, 2024
ee3e0c3
codegen metadata
stainless-bot Oct 30, 2024
317dedf
codegen metadata
stainless-bot Oct 30, 2024
4d9e08f
codegen metadata
stainless-bot Oct 30, 2024
868b63b
codegen metadata
stainless-bot Oct 30, 2024
efc0bf0
codegen metadata
stainless-bot Oct 30, 2024
8c0a86b
codegen metadata
stainless-bot Oct 30, 2024
c6e7fbc
codegen metadata
stainless-bot Oct 30, 2024
b8ac2a8
codegen metadata
stainless-bot Oct 30, 2024
87eda77
codegen metadata
stainless-bot Oct 30, 2024
4b61097
codegen metadata
stainless-bot Oct 30, 2024
0e5fabd
codegen metadata
stainless-bot Oct 30, 2024
3223a50
feat(api): api update (#2081)
stainless-app[bot] Oct 30, 2024
67f6cf2
codegen metadata
stainless-bot Oct 30, 2024
5897d5a
codegen metadata
stainless-bot Oct 30, 2024
ad66982
feat(r2)!: move domains, event notifications and sippy under bucket n…
stainless-app[bot] Oct 30, 2024
018007a
codegen metadata
stainless-bot Oct 30, 2024
c39c39f
codegen metadata
stainless-bot Oct 30, 2024
18aec28
codegen metadata
stainless-bot Oct 31, 2024
9e8acaa
codegen metadata
stainless-bot Oct 31, 2024
6aeb087
codegen metadata
stainless-bot Oct 31, 2024
baba491
feat(api): api update (#2083)
Nov 1, 2024
09cf9e1
codegen metadata
stainless-bot Oct 31, 2024
84f5f4a
fix(api): certificate_pack create flow (#2085)
stainless-app[bot] Oct 31, 2024
74569e0
feat(api): api update (#2086)
stainless-app[bot] Nov 1, 2024
bf61f52
codegen metadata
stainless-bot Nov 1, 2024
f8c296d
feat(api): api update (#2087)
stainless-app[bot] Nov 1, 2024
bfdc10c
codegen metadata
stainless-bot Nov 1, 2024
acba195
codegen metadata
stainless-bot Nov 1, 2024
ebbb6ee
codegen metadata
stainless-bot Nov 1, 2024
01c107f
feat(api): api update (#2088)
stainless-app[bot] Nov 1, 2024
43eafc6
codegen metadata
stainless-bot Nov 1, 2024
764af17
codegen metadata
stainless-bot Nov 1, 2024
953073d
feat(api): api update (#2089)
stainless-app[bot] Nov 1, 2024
aa3c426
codegen metadata
stainless-bot Nov 1, 2024
242526a
feat(api): make `pop` initialism (#2090)
stainless-app[bot] Nov 4, 2024
74341b2
feat(api): remap models to newer bundle names (#2091)
stainless-app[bot] Nov 4, 2024
541299f
feat(api): remap models to newer bundle names (#2092)
stainless-app[bot] Nov 4, 2024
1bada05
feat(api): api update (#2093)
stainless-app[bot] Nov 4, 2024
a27fcb2
feat(api): api update (#2094)
stainless-app[bot] Nov 4, 2024
8203e46
codegen metadata
stainless-bot Nov 4, 2024
88737f2
codegen metadata
stainless-bot Nov 4, 2024
eccb873
codegen metadata
stainless-bot Nov 4, 2024
747fef4
codegen metadata
stainless-bot Nov 4, 2024
e9eece9
codegen metadata
stainless-bot Nov 4, 2024
c0f20c7
codegen metadata
stainless-bot Nov 4, 2024
411ab5d
feat(api): api update (#2095)
stainless-app[bot] Nov 4, 2024
cfc8b33
feat(api): api update (#2096)
stainless-app[bot] Nov 4, 2024
71123c4
codegen metadata
stainless-bot Nov 4, 2024
80945de
feat(api): api update (#2097)
stainless-app[bot] Nov 4, 2024
6f4b91a
feat(api): api update (#2098)
stainless-app[bot] Nov 4, 2024
d81824c
feat(calls)!: split turn and sfu apps (#2099)
stainless-app[bot] Nov 4, 2024
c4b6763
codegen metadata
stainless-bot Nov 4, 2024
1262798
codegen metadata
stainless-bot Nov 4, 2024
84dd00c
codegen metadata
stainless-bot Nov 4, 2024
4627e09
codegen metadata
stainless-bot Nov 4, 2024
5bb3c21
feat(api): initialism for SFU (#2100)
stainless-app[bot] Nov 4, 2024
f249bf6
codegen metadata
stainless-bot Nov 4, 2024
7a8a23f
feat(zero_trust_local_domain_fallback): define body param for updates…
stainless-app[bot] Nov 5, 2024
d24a4ee
feat(api): api update (#2102)
stainless-app[bot] Nov 5, 2024
925c6e3
codegen metadata
stainless-bot Nov 5, 2024
e2bf5d2
codegen metadata
stainless-bot Nov 5, 2024
27748a0
codegen metadata
stainless-bot Nov 5, 2024
e079cc0
codegen metadata
stainless-bot Nov 5, 2024
bfb5180
codegen metadata
stainless-bot Nov 5, 2024
b0629ae
feat(api): api update (#2103)
stainless-app[bot] Nov 5, 2024
16cd463
codegen metadata
stainless-bot Nov 6, 2024
42c5e43
feat(api): api update (#2104)
stainless-app[bot] Nov 6, 2024
27773b2
codegen metadata
stainless-bot Nov 6, 2024
11aad5c
feat(api): api update (#2105)
stainless-app[bot] Nov 6, 2024
8dcc315
feat(api): api update (#2106)
stainless-app[bot] Nov 6, 2024
29bf4f2
feat(api): remap models for magic visibility (#2107)
stainless-app[bot] Nov 7, 2024
96d7e8c
release: 4.0.0
stainless-app[bot] Nov 7, 2024
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
  •  
  •  
  •  
33 changes: 29 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ on:
- main
- next

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
name: lint
runs-on: ubuntu-latest

timeout-minutes: 5

steps:
- uses: actions/checkout@v4
Expand All @@ -22,14 +26,34 @@ jobs:
with:
node-version: '18'

- name: Install dependencies
run: yarn install
- name: Bootstrap
run: ./scripts/bootstrap

- name: Check types
run: ./scripts/lint

build:
name: build
runs-on: ubuntu-latest


steps:
- uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Bootstrap
run: ./scripts/bootstrap

- name: Check build
run: ./scripts/build
test:
name: test
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v4
Expand All @@ -47,6 +71,7 @@ jobs:
examples:
name: examples
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- uses: actions/checkout@v4
Expand All @@ -59,7 +84,7 @@ jobs:
run: |
yarn install

- env:
- env:
CLOUDFLARE_ACCOUNT_ID: f037e56e89293a057740de681ac9abbe
CLOUDFLARE_EMAIL: terraform-acceptance-test@cfapi.net
CLOUDFLARE_ZONE_ID: 0da42c8d2132a9ddaf714f9e7c92011
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
name: Release Doctor
on:
pull_request:
branches:
- main
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
release_doctor:
name: release doctor
runs-on: ubuntu-latest
timeout-minutes: 2
if: github.repository == 'cloudflare/cloudflare-typescript' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
Expand All @@ -17,3 +24,4 @@ jobs:
bash ./bin/check-release-environment
env:
NPM_TOKEN: ${{ secrets.CLOUDFLARE_NPM_TOKEN || secrets.NPM_TOKEN }}

19 changes: 19 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
workflow_dispatch: {}
schedule:
- cron: '0 4 * * *'
name: Semgrep config
jobs:
semgrep:
name: semgrep/ci
runs-on: ubuntu-latest
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
SEMGREP_URL: https://cloudflare.semgrep.dev
SEMGREP_APP_URL: https://cloudflare.semgrep.dev
SEMGREP_VERSION_CHECK_URL: https://cloudflare.semgrep.dev/api/check-version
container:
image: semgrep/semgrep
steps:
- uses: actions/checkout@v4
- run: semgrep ci
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ yarn-error.log
codegen.log
Brewfile.lock.json
dist
/deno
dist-deno
/*.tgz
.idea/

2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "3.5.0"
".": "4.0.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1256
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-923d8c7667b68c786e6c026c4f4851798943c7d68ea055c0043d9253413c5847.yml
configured_endpoints: 1397
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-66874390672543889c6f739266ab0e815d7c6a65deb464a2c41c965b45d3e24a.yml
183 changes: 183 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ Other package managers may work but are not officially supported for development

To set up the repository, run:

```bash
yarn
yarn build
```sh
$ yarn
$ yarn build
```

This will install all the required dependencies and build output files to `dist/`.

## Modifying/Adding code

Most of the SDK is generated code, and any modified code will be overridden on the next generation. The
`src/lib/` and `examples/` directories are exceptions and will never be overridden.
Most of the SDK is generated code. Modifications to code will be persisted between generations, but may
result in merge conflicts between manual patches and changes from the generator. The generator will never
modify the contents of the `src/lib/` and `examples/` directories.

## Adding and running examples

All files in the `examples/` directory are not modified by the Stainless generator and can be freely edited or
added to.
All files in the `examples/` directory are not modified by the generator and can be freely edited or added to.

```bash
```ts
// add an example to examples/<your-example>.ts

#!/usr/bin/env -S npm run tsn -T
Expand All @@ -41,38 +41,38 @@ If you’d like to use the repository from source, you can either install from g

To install via git:

```bash
npm install git+ssh://git@github.com:cloudflare/cloudflare-typescript.git
```sh
$ npm install git+ssh://git@github.com:cloudflare/cloudflare-typescript.git
```

Alternatively, to link a local copy of the repo:

```bash
```sh
# Clone
git clone https://www.github.com/cloudflare/cloudflare-typescript
cd cloudflare-typescript
$ git clone https://www.github.com/cloudflare/cloudflare-typescript
$ cd cloudflare-typescript

# With yarn
yarn link
cd ../my-package
yarn link cloudflare
$ yarn link
$ cd ../my-package
$ yarn link cloudflare

# With pnpm
pnpm link --global
cd ../my-package
pnpm link -—global cloudflare
$ pnpm link --global
$ cd ../my-package
$ pnpm link -—global cloudflare
```

## Running tests

Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.

```bash
npx prism mock path/to/your/openapi.yml
```sh
$ npx prism mock path/to/your/openapi.yml
```

```bash
yarn run test
```sh
$ yarn run test
```

## Linting and formatting
Expand All @@ -82,14 +82,14 @@ This repository uses [prettier](https://www.npmjs.com/package/prettier) and

To lint:

```bash
yarn lint
```sh
$ yarn lint
```

To format and fix all lint issues automatically:

```bash
yarn fix
```sh
$ yarn fix
```

## Publishing and releases
Expand Down
Loading