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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1725 commits
Select commit Hold shift + click to select a range
601da6b
feat(api): map in new endpoints for account owned tokens, dns setting…
stainless-app[bot] Nov 13, 2024
9911931
feat(api): api update (#2123)
stainless-app[bot] Nov 14, 2024
025572d
feat(api): api update (#2124)
stainless-app[bot] Nov 14, 2024
b126dd9
feat(api): api update (#2125)
stainless-app[bot] Nov 14, 2024
93b93d8
feat(api): api update (#2126)
stainless-app[bot] Nov 14, 2024
c5ec717
feat(api): api update (#2127)
stainless-app[bot] Nov 14, 2024
62b07b5
feat(api): api update (#2128)
stainless-app[bot] Nov 14, 2024
7f1d762
feat(api): api update (#2129)
stainless-app[bot] Nov 14, 2024
b868967
feat(api): manual updates (#2130)
stainless-app[bot] Nov 14, 2024
be41552
feat(zero_trust_device_default_profile_certificates): define as `upse…
stainless-app[bot] Nov 15, 2024
d91a8cf
feat(fleet_status): update path placeholders to match conventions (#2…
stainless-app[bot] Nov 15, 2024
6f6e51b
feat(iam): fix model mappings (#2133)
stainless-app[bot] Nov 15, 2024
8ddd7ce
feat(api): clean up indirect models (#2134)
stainless-app[bot] Nov 15, 2024
451c146
codegen metadata
stainless-bot Nov 15, 2024
e5755e4
feat(tokens): move token value model to shared (#2135)
stainless-app[bot] Nov 15, 2024
db8c1ce
feat(tokens): move condition and policy to shared models (#2136)
stainless-app[bot] Nov 15, 2024
a24a64d
feat(api): api update (#2137)
stainless-app[bot] Nov 15, 2024
caa573c
feat(api): api update (#2138)
stainless-app[bot] Nov 15, 2024
07e6bab
feat(api): api update (#2139)
stainless-app[bot] Nov 15, 2024
4ce5a45
codegen metadata
stainless-bot Nov 15, 2024
1db4f06
feat(api): api update (#2140)
stainless-app[bot] Nov 15, 2024
1ecdef9
feat(api): api update (#2141)
stainless-app[bot] Nov 15, 2024
04083fd
feat(api): manual updates (#2142)
stainless-app[bot] Nov 18, 2024
774980e
codegen metadata
stainless-bot Nov 18, 2024
12bd9ea
chore: rebuild project due to codegen change (#2143)
stainless-app[bot] Nov 18, 2024
015d231
codegen metadata
stainless-bot Nov 18, 2024
878621b
codegen metadata
stainless-bot Nov 18, 2024
d57f962
codegen metadata
stainless-bot Nov 18, 2024
f63fbb5
codegen metadata
stainless-bot Nov 18, 2024
a7d7b34
feat(api): api update (#2144)
stainless-app[bot] Nov 18, 2024
d1f8295
feat(api): api update (#2145)
stainless-app[bot] Nov 18, 2024
d5ed817
feat(api): api update (#2146)
stainless-app[bot] Nov 18, 2024
f100cae
feat(api): api update (#2147)
stainless-app[bot] Nov 19, 2024
9fe68a6
feat(api): api update (#2148)
stainless-app[bot] Nov 19, 2024
24e6c55
codegen metadata
stainless-bot Nov 19, 2024
2a31151
codegen metadata
stainless-bot Nov 19, 2024
55a1b4e
codegen metadata
stainless-bot Nov 19, 2024
542a6c0
codegen metadata
stainless-bot Nov 19, 2024
5e25c9c
feat(api): api update (#2149)
stainless-app[bot] Nov 19, 2024
21e5e4e
feat(api): api update (#2150)
stainless-app[bot] Nov 19, 2024
9d4ff30
feat(api): api update (#2151)
stainless-app[bot] Nov 19, 2024
0075dd0
feat(api): api update (#2152)
stainless-app[bot] Nov 19, 2024
f95f175
feat(api): add more path mappings (#2153)
stainless-app[bot] Nov 20, 2024
880277c
feat(api): introduce bulk operation methods (#2154)
stainless-app[bot] Nov 20, 2024
0cc346f
feat(api): clean up missing models (#2155)
stainless-app[bot] Nov 20, 2024
a0db5f3
docs: remove suggestion to use `npm` call out (#2156)
stainless-app[bot] Nov 20, 2024
3489fce
feat(api): api update (#2157)
stainless-app[bot] Nov 20, 2024
47c824c
feat(api): api update (#2158)
stainless-app[bot] Nov 20, 2024
eaf523c
chore: remove redundant word in comment (#2159)
stainless-app[bot] Nov 20, 2024
1eff626
feat(api): api update (#2160)
stainless-app[bot] Nov 20, 2024
194d70d
feat(api): update via SDK Studio (#2161)
stainless-app[bot] Nov 20, 2024
ea7acdc
feat(api): update via SDK Studio (#2162)
stainless-app[bot] Nov 20, 2024
bae2265
feat(api): api update (#2163)
stainless-app[bot] Nov 20, 2024
b31f647
codegen metadata
stainless-bot Nov 20, 2024
65df18a
codegen metadata
stainless-bot Nov 20, 2024
109491f
codegen metadata
stainless-bot Nov 20, 2024
87066cf
feat(api): update via SDK Studio (#2164)
stainless-app[bot] Nov 20, 2024
faffcaf
feat(zero_trust_organization): swap to upsert for creation (#2165)
stainless-app[bot] Nov 20, 2024
060eef8
feat(api): update via SDK Studio (#2166)
stainless-app[bot] Nov 20, 2024
1d10dd4
feat(api): update via SDK Studio (#2167)
stainless-app[bot] Nov 20, 2024
6cb6868
chore(internal): codegen related update (#2168)
stainless-app[bot] Nov 20, 2024
062b84d
chore(internal): codegen related update (#2169)
stainless-app[bot] Nov 20, 2024
587eda7
feat(api): update via SDK Studio (#2170)
stainless-app[bot] Nov 20, 2024
32f9736
feat(api): update via SDK Studio (#2171)
stainless-app[bot] Nov 20, 2024
fdccf87
feat(api): update via SDK Studio (#2172)
stainless-app[bot] Nov 20, 2024
899c979
feat(api): update via SDK Studio (#2173)
stainless-app[bot] Nov 20, 2024
c706071
feat(api): update via SDK Studio (#2174)
stainless-app[bot] Nov 20, 2024
7abc050
feat(api): update via SDK Studio (#2175)
stainless-app[bot] Nov 20, 2024
02e148a
feat(api): update via SDK Studio (#2176)
stainless-app[bot] Nov 20, 2024
cddc5fd
feat(api): manual updates (#2177)
stainless-app[bot] Nov 20, 2024
803fd0e
feat(r2_bucket): add `cors` support (#2178)
stainless-app[bot] Nov 21, 2024
964ff22
feat(api): api update (#2179)
stainless-app[bot] Nov 21, 2024
6c95adf
feat(api): api update (#2180)
stainless-app[bot] Nov 21, 2024
56305fb
feat(api): api update (#2181)
stainless-app[bot] Nov 21, 2024
15378ee
feat(api): api update (#2182)
stainless-app[bot] Nov 21, 2024
0e498f7
feat(api): api update (#2183)
stainless-app[bot] Nov 21, 2024
d01a09e
feat(api): api update (#2184)
stainless-app[bot] Nov 21, 2024
5c1b4a0
feat(api): api update (#2185)
stainless-app[bot] Nov 21, 2024
da2f852
feat(zero_trust_device_certificates): update path placeholders (#2186)
stainless-app[bot] Nov 22, 2024
3bbb4be
feat(api): api update (#2187)
stainless-app[bot] Nov 22, 2024
ce27401
feat(api): api update (#2188)
stainless-app[bot] Nov 22, 2024
491ae64
feat(api): manual updates (#2190)
stainless-app[bot] Nov 22, 2024
1fd85ef
codegen metadata
stainless-bot Nov 25, 2024
4109714
codegen metadata
stainless-bot Nov 25, 2024
96e84a6
codegen metadata
stainless-bot Nov 25, 2024
7530379
feat(api): api update (#2191)
stainless-app[bot] Nov 26, 2024
8f7cf5d
codegen metadata
stainless-bot Nov 26, 2024
8aaf298
codegen metadata
stainless-bot Nov 26, 2024
92cf869
feat(api): api update (#2192)
stainless-app[bot] Nov 26, 2024
c5e0d4d
feat(api): api update (#2193)
stainless-app[bot] Nov 26, 2024
6df8c3b
feat(warp_connector)!: move under zero trust namespace (#2195)
stainless-app[bot] Nov 26, 2024
a0ea4ad
codegen metadata
Nov 27, 2024
1fcf019
codegen metadata
stainless-bot Nov 26, 2024
361d410
codegen metadata
stainless-bot Nov 26, 2024
cf5c106
codegen metadata
stainless-bot Nov 27, 2024
d9472fd
codegen metadata
stainless-bot Nov 27, 2024
1cd8d5e
codegen metadata
stainless-bot Nov 27, 2024
84d580a
feat(api): api update (#2194)
stainless-app[bot] Nov 26, 2024
139259d
feat(api): api update (#2197)
stainless-app[bot] Nov 27, 2024
8c26eb4
feat(api): api update (#2198)
stainless-app[bot] Nov 27, 2024
0436f37
feat(internal): make git install file structure match npm (#2199)
stainless-app[bot] Nov 27, 2024
9b8c031
feat(internal): update path placeholders (#2200)
stainless-app[bot] Nov 28, 2024
311951a
feat(urlscanner): swap to v2 create (#2201)
stainless-app[bot] Nov 28, 2024
07c7c62
feat(api): manual updates (#2202)
stainless-app[bot] Nov 28, 2024
03b1587
feat(api): api update (#2203)
stainless-app[bot] Nov 28, 2024
938073f
feat(leaked_credential_check): add terraform resource (#2204)
stainless-app[bot] Nov 29, 2024
dbee857
codegen metadata
stainless-bot Nov 29, 2024
0e85698
chore(internal): codegen related update (#2205)
stainless-app[bot] Nov 29, 2024
cfd4df6
feat(url_scanner)!: swap all methods to be v2 only (#2206)
stainless-app[bot] Dec 2, 2024
5ab9131
codegen metadata
stainless-bot Dec 2, 2024
465de38
feat(dnssec)!: move under DNS namespace (#2207)
stainless-app[bot] Dec 3, 2024
4a11c28
feat(zone_transfers)!: move under DNS namespace (#2208)
stainless-app[bot] Dec 3, 2024
d543759
feat(dns_firewall): break out into standalone package (#2209)
stainless-app[bot] Dec 3, 2024
b967654
codegen metadata
stainless-bot Dec 3, 2024
cb517eb
feat(api): api update (#2210)
stainless-app[bot] Dec 3, 2024
0e7c5d2
feat(api): api update (#2211)
stainless-app[bot] Dec 3, 2024
f25f70f
feat(kv)!: move analytics under existing namespace (#2212)
stainless-app[bot] Dec 4, 2024
3459c10
feat(dns): remove `delta` model (#2213)
stainless-app[bot] Dec 4, 2024
6cd6861
feat(api): api update (#2214)
stainless-app[bot] Dec 4, 2024
e5b8bff
feat(api): api update (#2215)
stainless-app[bot] Dec 4, 2024
72247d2
feat(api): api update (#2216)
stainless-app[bot] Dec 4, 2024
d0a4299
feat(api): api update (#2217)
stainless-app[bot] Dec 5, 2024
df4531d
feat(infrastructure_targets): add bulk endpoints (#2218)
stainless-app[bot] Dec 6, 2024
c75fe51
feat(api): api update (#2219)
stainless-app[bot] Dec 6, 2024
0b14332
codegen metadata
stainless-app[bot] Dec 7, 2024
e1ca1f5
feat(dex): add commands support (#2220)
stainless-app[bot] Dec 9, 2024
631e699
test(api): disable some broken prism tests pending investigation (#2221)
stainless-app[bot] Dec 9, 2024
92f9d40
test: uncomment another round of broken prism tests (#2222)
stainless-app[bot] Dec 9, 2024
1242e4c
chore(internal): remove unnecessary getRequestClient function (#2223)
stainless-app[bot] Dec 9, 2024
1532bb6
chore(internal): codegen related update (#2224)
stainless-app[bot] Dec 9, 2024
80dcb52
feat(content_scanning): introduce support (#2225)
stainless-app[bot] Dec 9, 2024
2fed205
feat(api): manual updates (#2226)
stainless-app[bot] Dec 9, 2024
38b6650
codegen metadata
stainless-app[bot] Dec 10, 2024
b18dcb8
codegen metadata
stainless-app[bot] Dec 10, 2024
1adb0c4
fix(urlscanner): fix invalid schema definition for plain text (#2227)
stainless-app[bot] Dec 10, 2024
cabf495
test: skip assertions with invalid auth failures (#2228)
stainless-app[bot] Dec 10, 2024
3e3f370
test: skip assertions with invalid auth failures (#2229)
stainless-app[bot] Dec 10, 2024
de79b1c
test: skip assertions with invalid auth failures (#2230)
stainless-app[bot] Dec 10, 2024
4b363c1
chore: updates (#2231)
stainless-app[bot] Dec 10, 2024
f37ca9c
feat(dlp): disable problematic test (#2232)
stainless-app[bot] Dec 10, 2024
4387d91
chore(internal): bump cross-spawn to v7.0.6 (#2233)
stainless-app[bot] Dec 10, 2024
8b68374
chore(types): nicer error class types + jsdocs (#2234)
stainless-app[bot] Dec 10, 2024
bc092f6
chore(internal): update isAbsoluteURL (#2235)
stainless-app[bot] Dec 11, 2024
2ec75e4
feat: generate more types that are used as request bodies (#2236)
stainless-app[bot] Dec 11, 2024
7d758f7
feat(pagerules): rename namespace to page_rules (#2237)
stainless-app[bot] Dec 11, 2024
a12b08c
feat(api): api update (#2238)
stainless-app[bot] Dec 12, 2024
35935d1
feat(api): fix internal URL mappings (#2239)
stainless-app[bot] Dec 13, 2024
bf162ce
feat(api): Add PATCH zone hold update method (#2240)
stainless-app[bot] Dec 13, 2024
0e5231b
feat(ai)!: move to dedicated namespace (#2241)
stainless-app[bot] Dec 13, 2024
2053a15
fix(internal): add cleaner handling of DNS unions (#2242)
stainless-app[bot] Dec 13, 2024
1de8493
update examples path in CI
jacobbednarz Dec 13, 2024
617cdf6
Delete examples/.keep
jacobbednarz Dec 13, 2024
a7bcc18
codegen metadata
stainless-app[bot] Dec 13, 2024
1ec784d
feat(api): api update (#2243)
stainless-app[bot] Dec 13, 2024
11b2590
feat(api): Update verb on PATCH zone hold method (#2244)
stainless-app[bot] Dec 13, 2024
ff355fa
feat(api): api update (#2245)
stainless-app[bot] Dec 13, 2024
ef18a36
feat(ai): move AI back to dedicated namespace (#2246)
stainless-app[bot] Dec 15, 2024
2fb0edc
feat(dns): fix model oneOf (#2247)
stainless-app[bot] Dec 15, 2024
0ed4e90
feat(workers): add routes support (#2248)
stainless-app[bot] Dec 16, 2024
5493317
chore(internal): codegen related update (#2250)
stainless-app[bot] Dec 16, 2024
2305a6e
feat(api): api update (#2252)
stainless-app[bot] Dec 17, 2024
e351e70
codegen metadata
stainless-app[bot] Dec 17, 2024
b470fa2
feat(api): api update (#2253)
stainless-app[bot] Dec 17, 2024
3048fd7
feat(api): api update (#2254)
stainless-app[bot] Dec 17, 2024
4813cce
feat(api): api update (#2255)
stainless-app[bot] Dec 17, 2024
fde51c5
feat(api): map more endpoints (#2256)
stainless-app[bot] Dec 17, 2024
90aa09d
feat(api): api update (#2257)
stainless-app[bot] Dec 18, 2024
e7769f2
feat(api): api update (#2258)
stainless-app[bot] Dec 18, 2024
bfbfdcf
feat(api): api update (#2259)
stainless-app[bot] Dec 18, 2024
c0259cd
feat(api): api update (#2260)
stainless-app[bot] Dec 18, 2024
d7bf349
feat(api): api update (#2261)
stainless-app[bot] Dec 18, 2024
3718325
feat(api): manual updates (#2262)
stainless-app[bot] Dec 18, 2024
6053b14
feat(api): api shield operations updates; rename discovery resource (…
stainless-app[bot] Dec 18, 2024
0e4e5a5
codegen metadata
stainless-app[bot] Dec 19, 2024
c30593b
feat(api): api update (#2264)
stainless-app[bot] Dec 19, 2024
9cc7114
fix(client): normalize method (#2265)
stainless-app[bot] Dec 19, 2024
dfdf592
codegen metadata
stainless-app[bot] Dec 19, 2024
f85902a
codegen metadata
stainless-app[bot] Dec 19, 2024
5c3d9b0
codegen metadata
stainless-app[bot] Dec 19, 2024
1ca4274
feat(api): api update (#2266)
stainless-app[bot] Dec 19, 2024
f9819f3
docs: minor formatting changes (#2268)
stainless-app[bot] Dec 20, 2024
332891a
feat(api): api update (#2269)
stainless-app[bot] Dec 29, 2024
e528947
chore(internal): codegen related update (#2270)
stainless-app[bot] Jan 1, 2025
072f2da
feat(api): manual updates (#2271)
stainless-app[bot] Jan 1, 2025
a984ead
feat(api): manual updates (#2272)
stainless-app[bot] Jan 1, 2025
66e2a04
feat(addressing)!: move service bindings to dedicated namespace (#2273)
stainless-app[bot] Jan 1, 2025
8e808ee
feat(loa_documents)!: move download subresource into parent as `get` …
stainless-app[bot] Jan 1, 2025
7cbefee
feat(ai): add support for search endpoints and finetunes (#2275)
stainless-app[bot] Jan 2, 2025
e8ececd
feat(zone_setting): update origin_max_http_version model definition (…
stainless-app[bot] Jan 2, 2025
0d6423b
feat(r2)!: rename `cf-r2-jurisdiction` to more usable `jurisdiction` …
stainless-app[bot] Jan 3, 2025
ba52017
feat(r2)!: rename `cf-r2-jurisdiction` to more usable `jurisdiction` …
stainless-app[bot] Jan 3, 2025
5aae807
feat(r2)!: rename `cf-r2-jurisdiction` to more usable `jurisdiction` …
stainless-app[bot] Jan 3, 2025
f781ef8
feat(zone_settings): update `origin_max_http_version` model (#2280)
stainless-app[bot] Jan 3, 2025
05e1ed4
feat(api): manual updates (#2281)
stainless-app[bot] Jan 3, 2025
6c77547
feat(api): api update (#2282)
stainless-app[bot] Jan 4, 2025
fceb4d0
codegen metadata
stainless-app[bot] Jan 4, 2025
e9b85b4
feat(cloud_connector): define body param name (#2283)
stainless-app[bot] Jan 6, 2025
3a1e345
codegen metadata
stainless-app[bot] Jan 6, 2025
1a5da41
codegen metadata
stainless-app[bot] Jan 6, 2025
f0140e7
feat(api): api update (#2284)
stainless-app[bot] Jan 6, 2025
2b0e272
feat(api): api update (#2285)
stainless-app[bot] Jan 6, 2025
a7c30c4
feat(api): api update (#2286)
stainless-app[bot] Jan 6, 2025
fc1c802
feat(api): Add new Aegis zone setting (#2287)
stainless-app[bot] Jan 6, 2025
cc2ec85
feat(api): api update (#2288)
stainless-app[bot] Jan 6, 2025
f870d7b
feat(origin_post_quantum_encryption): swap PUT for PATCH operation (#…
stainless-app[bot] Jan 6, 2025
af68b5d
feat(addressing)!: reshuffle relationship in the namespace to align w…
stainless-app[bot] Jan 7, 2025
0ba9745
feat(api): skip authorization failures in prism (#2291)
stainless-app[bot] Jan 7, 2025
047e98f
feat(api): mark JSON as initialism (#2292)
stainless-app[bot] Jan 7, 2025
d44d2bc
feat(api): manual updates (#2293)
stainless-app[bot] Jan 7, 2025
3768767
feat(api): manual updates (#2294)
stainless-app[bot] Jan 7, 2025
5517452
feat(api): manual updates (#2295)
stainless-app[bot] Jan 7, 2025
6930665
chore(types): use `declare namespace` (#2296)
stainless-app[bot] Jan 7, 2025
31e81a3
feat(dlp): skip tests for `entries` update due to HTTP 422 in prism (…
stainless-app[bot] Jan 7, 2025
e1385b0
test: skip more HTTP 422 failures from prism (#2298)
stainless-app[bot] Jan 7, 2025
afbfe1b
test: skip more HTTP 422 failures from prism (#2299)
stainless-app[bot] Jan 7, 2025
aa69ad7
chore(internal): codegen related update (#2301)
stainless-app[bot] Jan 8, 2025
b583557
feat(dns): add models for batch operations and response (#2303)
stainless-app[bot] Jan 8, 2025
63a6fc3
feat(api): remove unneeded DNS transforms (#2304)
stainless-app[bot] Jan 8, 2025
b3cf0be
feat(api): api update (#2305)
stainless-app[bot] Jan 8, 2025
5d3f037
feat(api): api update (#2306)
stainless-app[bot] Jan 8, 2025
0d902e0
feat(list_item): remove duplicated `anyOf` properties from component …
stainless-app[bot] Jan 9, 2025
a796481
feat(api): api update (#2308)
stainless-app[bot] Jan 9, 2025
eb28cc2
codegen metadata
stainless-app[bot] Jan 9, 2025
87ce3eb
feat(api): api update (#2309)
stainless-app[bot] Jan 9, 2025
2ed931e
chore(internal): skip broken tests (#2310)
stainless-app[bot] Jan 9, 2025
b8238bd
codegen metadata
stainless-app[bot] Jan 9, 2025
3e6e73e
feat(api): api update (#2311)
stainless-app[bot] Jan 9, 2025
b723bf1
codegen metadata
stainless-app[bot] Jan 9, 2025
f0c04b8
feat(api): update api shield operation endpoint (#2312)
stainless-app[bot] Jan 9, 2025
722e7ba
codegen metadata
stainless-app[bot] Jan 9, 2025
1962a93
codegen metadata
stainless-app[bot] Jan 9, 2025
ac6814a
feat(api): manual updates (#2313)
stainless-app[bot] Jan 9, 2025
2208ea4
fix(api): better support union schemas with common properties (#2314)
stainless-app[bot] Jan 9, 2025
4389861
chore(internal): codegen related update (#2315)
stainless-app[bot] Jan 9, 2025
5e653ff
feat(api): manual updates (#2316)
stainless-app[bot] Jan 10, 2025
503ff6b
Update README.md
jacobbednarz Jan 10, 2025
d64c9bc
fix: send correct Accept header for certain endpoints (#2317)
stainless-app[bot] Jan 10, 2025
97cdae4
fix(client): reexport resource as value (#2318)
stainless-app[bot] Jan 10, 2025
bbc7f09
chore: updates (#2319)
stainless-app[bot] Jan 11, 2025
d23ab1a
feat(api): api update (#2320)
stainless-app[bot] Jan 13, 2025
59ce70c
feat(api): api update (#2321)
stainless-app[bot] Jan 13, 2025
a77ee98
feat(api): api update (#2322)
stainless-app[bot] Jan 13, 2025
a783c38
feat(api): api update (#2323)
stainless-app[bot] Jan 13, 2025
8857c9f
feat(api): api update (#2324)
stainless-app[bot] Jan 13, 2025
086577c
chore(internal): codegen related update (#2325)
stainless-app[bot] Jan 14, 2025
a5bb664
feat(api): api update (#2326)
stainless-app[bot] Jan 14, 2025
6426588
chore: add missing files back
RobertCraigie Jan 14, 2025
03ef5f0
chore(internal): skip some tests (#2327)
stainless-app[bot] Jan 14, 2025
6ad407c
chore(internal): fix some typos (#2251)
stainless-app[bot] Dec 17, 2024
446fb6b
release: 4.0.0
stainless-app[bot] Jan 14, 2025
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
  •  
  •  
  •  
25 changes: 22 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,30 @@ 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
Expand Down Expand Up @@ -71,4 +90,4 @@ jobs:
CLOUDFLARE_ZONE_ID: 0da42c8d2132a9ddaf714f9e7c92011
CLOUDFLARE_API_KEY: ${{ secrets.CLOUDFLARE_API_KEY }}
run: |
yarn tsn ./examples/workers/ai/demo.ts
yarn tsn ./examples/ai/demo.ts
3 changes: 3 additions & 0 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Release Doctor
on:
pull_request:
branches:
- main
workflow_dispatch:

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

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: 1493
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-292d86018649794a0921751cee7162cb618358a55576fe9e18995601ad7484cc.yml
255 changes: 255 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

62 changes: 31 additions & 31 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
## Setting up the environment

This repository uses [`yarn@v1`](https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable).
This repository uses [`yarn@v1`](https://classic.yarnpkg.com/lang/en/docs/install).
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
```

```
chmod +x examples/<your-example>.ts
```sh
$ chmod +x examples/<your-example>.ts
# run the example against your api
yarn tsn -T examples/<your-example>.ts
$ yarn tsn -T examples/<your-example>.ts
```

## Using the repository from source
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://[email protected]:cloudflare/cloudflare-typescript.git
```sh
$ npm install git+ssh://[email protected]: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
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2024 Cloudflare
Copyright 2025 Cloudflare

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Loading
Loading