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 #3245

Merged
merged 789 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
789 commits
Select commit Hold shift + click to select a range
13b389b
feat(api): api update (#3589)
stainless-app[bot] Nov 11, 2024
83c31e0
feat(zero_trust_device): reshuffle structure to allow use of custom a…
stainless-app[bot] Nov 11, 2024
63f8ed8
feat(api): clean up missing model references (#3591)
stainless-app[bot] Nov 12, 2024
7e3f242
fix(waiting_room_rules): define `body_param_name` for bulk rules endp…
stainless-app[bot] Nov 12, 2024
343ceb9
feat(api): api update (#3593)
stainless-app[bot] Nov 12, 2024
fd3230a
codegen metadata
stainless-bot Nov 12, 2024
cff8e3b
codegen metadata
stainless-bot Nov 12, 2024
72cb008
codegen metadata
stainless-bot Nov 12, 2024
94e12ac
feat(api): api update (#3595)
stainless-app[bot] Nov 12, 2024
7fe00c0
feat(api): api update (#3597)
stainless-app[bot] Nov 13, 2024
8e37263
codegen metadata
stainless-bot Nov 13, 2024
db61766
feat(api): map in new endpoints for account owned tokens, dns setting…
stainless-app[bot] Nov 13, 2024
4aaf8f2
feat(api): api update (#3599)
stainless-app[bot] Nov 14, 2024
3082cf5
feat(api): api update (#3600)
stainless-app[bot] Nov 14, 2024
f75fa4b
feat(api): api update (#3601)
stainless-app[bot] Nov 14, 2024
eca1540
feat(api): api update (#3602)
stainless-app[bot] Nov 14, 2024
fc33831
feat(api): api update (#3603)
stainless-app[bot] Nov 14, 2024
f3ceece
feat(api): api update (#3604)
stainless-app[bot] Nov 14, 2024
5e09299
feat(api): api update (#3605)
stainless-app[bot] Nov 14, 2024
02a45b1
feat(fleet_status): update path placeholders to match conventions (#3…
stainless-app[bot] Nov 15, 2024
243ad99
feat(iam): fix model mappings (#3607)
stainless-app[bot] Nov 15, 2024
7d3792a
feat(api): clean up indirect models (#3608)
stainless-app[bot] Nov 15, 2024
5c223fb
codegen metadata
stainless-bot Nov 15, 2024
e322ab6
feat(tokens): move token value model to shared (#3609)
stainless-app[bot] Nov 15, 2024
e5cb118
feat(tokens): move condition and policy to shared models (#3610)
stainless-app[bot] Nov 15, 2024
b8814b0
feat(api): api update (#3611)
stainless-app[bot] Nov 15, 2024
708c85a
feat(api): api update (#3612)
stainless-app[bot] Nov 15, 2024
5d236da
feat(api): api update (#3613)
stainless-app[bot] Nov 15, 2024
345cd4c
codegen metadata
stainless-bot Nov 15, 2024
d5803ba
feat(api): api update (#3614)
stainless-app[bot] Nov 15, 2024
793fef7
feat(api): api update (#3615)
stainless-app[bot] Nov 15, 2024
f357c13
feat(api): manual updates (#3616)
stainless-app[bot] Nov 18, 2024
98978bf
codegen metadata
stainless-bot Nov 18, 2024
b206af8
codegen metadata
stainless-bot Nov 18, 2024
373bd73
codegen metadata
stainless-bot Nov 18, 2024
2436c32
codegen metadata
stainless-bot Nov 18, 2024
1f09b90
codegen metadata
stainless-bot Nov 18, 2024
d981ade
feat(api): api update (#3617)
stainless-app[bot] Nov 18, 2024
08fb87e
feat(api): api update (#3619)
stainless-app[bot] Nov 18, 2024
806e26b
feat(api): api update (#3620)
stainless-app[bot] Nov 18, 2024
dacc8de
feat(api): api update (#3621)
stainless-app[bot] Nov 19, 2024
1189f45
chore: rebuild project due to codegen change (#3622)
stainless-app[bot] Nov 19, 2024
d026d0b
feat(api): api update (#3623)
stainless-app[bot] Nov 19, 2024
b46f70d
codegen metadata
stainless-bot Nov 19, 2024
67fe1ae
codegen metadata
stainless-bot Nov 19, 2024
10689f9
codegen metadata
stainless-bot Nov 19, 2024
63dc64f
codegen metadata
stainless-bot Nov 19, 2024
7eda554
feat(api): api update (#3624)
stainless-app[bot] Nov 19, 2024
737d8c0
feat(api): api update (#3625)
stainless-app[bot] Nov 19, 2024
67eb9b8
feat(api): api update (#3626)
stainless-app[bot] Nov 19, 2024
9919298
feat(api): api update (#3627)
stainless-app[bot] Nov 19, 2024
9e2cfac
feat(api): add more path mappings (#3628)
stainless-app[bot] Nov 20, 2024
0a4da57
feat(api): introduce bulk operation methods (#3629)
stainless-app[bot] Nov 20, 2024
7a327f0
feat(api): clean up missing models (#3630)
stainless-app[bot] Nov 20, 2024
f3ff236
feat(api): api update (#3632)
stainless-app[bot] Nov 20, 2024
154b134
feat(api): api update (#3633)
stainless-app[bot] Nov 20, 2024
a88f77c
feat(api): api update (#3635)
stainless-app[bot] Nov 20, 2024
732b985
feat(api): update via SDK Studio (#3636)
stainless-app[bot] Nov 20, 2024
0368162
feat(api): update via SDK Studio (#3637)
stainless-app[bot] Nov 20, 2024
a24011e
feat(api): api update (#3638)
stainless-app[bot] Nov 20, 2024
a073079
codegen metadata
stainless-bot Nov 20, 2024
09b9b86
codegen metadata
stainless-bot Nov 20, 2024
9c4b629
codegen metadata
stainless-bot Nov 20, 2024
f14fcbb
feat(api): update via SDK Studio (#3639)
stainless-app[bot] Nov 20, 2024
3f5dc6a
feat(zero_trust_organization): swap to upsert for creation (#3640)
stainless-app[bot] Nov 20, 2024
702b5ed
feat(api): update via SDK Studio (#3641)
stainless-app[bot] Nov 20, 2024
e2d3545
feat(api): api update (#3642)
stainless-app[bot] Nov 20, 2024
419477c
feat(api): update via SDK Studio (#3645)
stainless-app[bot] Nov 20, 2024
41cb8f0
feat(api): update via SDK Studio (#3646)
stainless-app[bot] Nov 20, 2024
d212078
feat(api): update via SDK Studio (#3647)
stainless-app[bot] Nov 20, 2024
59e128b
feat(api): update via SDK Studio (#3648)
stainless-app[bot] Nov 20, 2024
2e75c36
feat(api): update via SDK Studio (#3649)
stainless-app[bot] Nov 20, 2024
d5b488f
feat(api): update via SDK Studio (#3650)
stainless-app[bot] Nov 20, 2024
09a7d98
feat(api): update via SDK Studio (#3651)
stainless-app[bot] Nov 20, 2024
eb2a820
feat(api): manual updates (#3652)
stainless-app[bot] Nov 20, 2024
1db131e
feat(r2_bucket): add `cors` support (#3654)
stainless-app[bot] Nov 21, 2024
79d0254
chore(internal): codegen related update (#3655)
stainless-app[bot] Nov 21, 2024
d4e1307
feat(api): api update (#3656)
stainless-app[bot] Nov 21, 2024
1e60c75
feat(api): api update (#3657)
stainless-app[bot] Nov 21, 2024
fac481b
feat(api): api update (#3658)
stainless-app[bot] Nov 21, 2024
f2d47a5
feat(api): api update (#3659)
stainless-app[bot] Nov 21, 2024
908fcac
feat(api): api update (#3660)
stainless-app[bot] Nov 21, 2024
40b9f87
feat(api): api update (#3661)
stainless-app[bot] Nov 21, 2024
d69aade
feat(api): api update (#3662)
stainless-app[bot] Nov 21, 2024
fed6dbc
feat(zero_trust_device_certificates): update path placeholders (#3663)
stainless-app[bot] Nov 22, 2024
5ac7491
feat(api): api update (#3664)
stainless-app[bot] Nov 22, 2024
47c765c
feat(api): api update (#3665)
stainless-app[bot] Nov 22, 2024
6371caa
feat(api): manual updates (#3666)
stainless-app[bot] Nov 22, 2024
fa3cb94
codegen metadata
stainless-bot Nov 25, 2024
023bac6
codegen metadata
stainless-bot Nov 25, 2024
91623fd
feat(api): api update (#3673)
stainless-app[bot] Nov 25, 2024
5b1f3e7
feat(api): api update (#3674)
stainless-app[bot] Nov 26, 2024
8b8c2e8
codegen metadata
stainless-bot Nov 26, 2024
b686c38
codegen metadata
stainless-bot Nov 26, 2024
a1591bc
feat(api): api update (#3676)
stainless-app[bot] Nov 26, 2024
d407746
feat(api): api update (#3677)
stainless-app[bot] Nov 26, 2024
56a8b59
feat(api): api update (#3678)
stainless-app[bot] Nov 26, 2024
d160787
feat(warp_connector)!: move under zero trust namespace (#3679)
stainless-app[bot] Nov 26, 2024
c052d10
codegen metadata
stainless-bot Nov 26, 2024
ee79a88
codegen metadata
stainless-bot Nov 26, 2024
23da592
codegen metadata
stainless-bot Nov 26, 2024
5e63c40
codegen metadata
stainless-bot Nov 27, 2024
bfbf5c5
codegen metadata
stainless-bot Nov 27, 2024
9e28c5a
codegen metadata
stainless-bot Nov 27, 2024
08a3776
feat(api): api update (#3681)
stainless-app[bot] Nov 27, 2024
3e927b6
feat(api): api update (#3682)
stainless-app[bot] Nov 27, 2024
c104d2d
feat(internal): update path placeholders (#3683)
stainless-app[bot] Nov 28, 2024
2e49239
feat(urlscanner): swap to v2 create (#3684)
stainless-app[bot] Nov 28, 2024
de419a4
feat(api): manual updates (#3686)
stainless-app[bot] Nov 28, 2024
7299dbf
feat(api): api update (#3687)
stainless-app[bot] Nov 28, 2024
0fc715c
feat(leaked_credential_check): add terraform resource (#3688)
stainless-app[bot] Nov 29, 2024
082a272
codegen metadata
stainless-bot Nov 29, 2024
34cf9ae
chore(internal): codegen related update (#3689)
stainless-app[bot] Nov 29, 2024
c5818ee
feat(url_scanner)!: swap all methods to be v2 only (#3690)
stainless-app[bot] Dec 2, 2024
225e56d
codegen metadata
stainless-bot Dec 2, 2024
37f1048
feat(dnssec)!: move under DNS namespace (#3691)
stainless-app[bot] Dec 3, 2024
160af8b
feat(zone_transfers)!: move under DNS namespace (#3692)
stainless-app[bot] Dec 3, 2024
6e7733c
feat(dns_firewall): break out into standalone package (#3693)
stainless-app[bot] Dec 3, 2024
bc08700
codegen metadata
stainless-bot Dec 3, 2024
8f604ac
feat(api): api update (#3694)
stainless-app[bot] Dec 3, 2024
78219af
feat(api): api update (#3695)
stainless-app[bot] Dec 3, 2024
247ee8b
feat(kv)!: move analytics under existing namespace (#3696)
stainless-app[bot] Dec 4, 2024
da4d5df
feat(dns): remove `delta` model (#3697)
stainless-app[bot] Dec 4, 2024
30b0421
feat(api): api update (#3701)
stainless-app[bot] Dec 4, 2024
27079da
chore(internal): codegen related update (#3702)
stainless-app[bot] Dec 4, 2024
9aaf543
feat(api): api update (#3703)
stainless-app[bot] Dec 4, 2024
05dbe4d
feat(api): api update (#3705)
stainless-app[bot] Dec 5, 2024
693ee3a
feat(infrastructure_targets): add bulk endpoints (#3706)
stainless-app[bot] Dec 6, 2024
b2640e3
feat(api): api update (#3707)
stainless-app[bot] Dec 6, 2024
609e2e3
codegen metadata
stainless-app[bot] Dec 7, 2024
23f698b
feat(dex): add commands support (#3710)
stainless-app[bot] Dec 9, 2024
9447ceb
test(api): disable some broken prism tests pending investigation (#3711)
stainless-app[bot] Dec 9, 2024
410d00a
test: uncomment another round of broken prism tests (#3712)
stainless-app[bot] Dec 9, 2024
2e9441a
chore(internal): codegen related update (#3713)
stainless-app[bot] Dec 9, 2024
d828313
feat(content_scanning): introduce support (#3714)
stainless-app[bot] Dec 9, 2024
dd1f2ba
feat(api): manual updates (#3715)
stainless-app[bot] Dec 9, 2024
81b1c7d
codegen metadata
stainless-app[bot] Dec 10, 2024
bf58e8a
codegen metadata
stainless-app[bot] Dec 10, 2024
328cb75
fix(urlscanner): fix invalid schema definition for plain text (#3716)
stainless-app[bot] Dec 10, 2024
1693ba6
test: skip assertions with invalid auth failures (#3717)
stainless-app[bot] Dec 10, 2024
fb0c34e
test: skip assertions with invalid auth failures (#3718)
stainless-app[bot] Dec 10, 2024
db631af
test: skip assertions with invalid auth failures (#3719)
stainless-app[bot] Dec 10, 2024
3da444d
chore: updates (#3720)
stainless-app[bot] Dec 10, 2024
037ae35
feat(dlp): disable problematic test (#3721)
stainless-app[bot] Dec 10, 2024
68d683a
feat: generate more types that are used as request bodies (#3722)
stainless-app[bot] Dec 11, 2024
f2a4111
feat(pagerules): rename namespace to page_rules (#3723)
stainless-app[bot] Dec 11, 2024
9b6d172
fix: fix array example (#3724)
stainless-app[bot] Dec 11, 2024
aeebaeb
feat(api): api update (#3727)
stainless-app[bot] Dec 12, 2024
954246a
feat(api): fix internal URL mappings (#3728)
stainless-app[bot] Dec 13, 2024
4a8b278
feat(api): Add PATCH zone hold update method (#3729)
stainless-app[bot] Dec 13, 2024
148bd4b
feat(ai)!: move to dedicated namespace (#3730)
stainless-app[bot] Dec 13, 2024
2f37c95
fix(internal): add cleaner handling of DNS unions (#3731)
stainless-app[bot] Dec 13, 2024
e7a5338
codegen metadata
stainless-app[bot] Dec 13, 2024
8a51d1e
feat(api): api update (#3732)
stainless-app[bot] Dec 13, 2024
b18bf27
feat(api): Update verb on PATCH zone hold method (#3733)
stainless-app[bot] Dec 13, 2024
5ef44a2
feat(api): api update (#3734)
stainless-app[bot] Dec 13, 2024
ba69c7b
feat(ai): move AI back to dedicated namespace (#3735)
stainless-app[bot] Dec 15, 2024
44c7398
feat(dns): fix model oneOf (#3736)
stainless-app[bot] Dec 15, 2024
d0d4c68
feat(workers): add routes support (#3737)
stainless-app[bot] Dec 16, 2024
c842d40
chore(internal): codegen related update (#3739)
stainless-app[bot] Dec 16, 2024
b41fa64
feat(api): api update (#3744)
stainless-app[bot] Dec 17, 2024
4a20c02
codegen metadata
stainless-app[bot] Dec 17, 2024
f7210bc
feat(api): api update (#3745)
stainless-app[bot] Dec 17, 2024
b3ef767
feat(api): api update (#3746)
stainless-app[bot] Dec 17, 2024
b482e44
feat(api): api update (#3747)
stainless-app[bot] Dec 17, 2024
c472988
feat(api): map more endpoints (#3748)
stainless-app[bot] Dec 17, 2024
9fd808c
feat(api): api update (#3749)
stainless-app[bot] Dec 18, 2024
4227810
feat(api): api update (#3750)
stainless-app[bot] Dec 18, 2024
101518a
feat(api): api update (#3751)
stainless-app[bot] Dec 18, 2024
e99bbde
feat(api): api update (#3752)
stainless-app[bot] Dec 18, 2024
b2aa339
feat(api): api update (#3753)
stainless-app[bot] Dec 18, 2024
a2b3227
feat(api): manual updates (#3754)
stainless-app[bot] Dec 18, 2024
f627885
feat(api): api shield operations updates; rename discovery resource (…
stainless-app[bot] Dec 18, 2024
b3219e5
chore(internal): codegen related update (#3757)
stainless-app[bot] Dec 19, 2024
06ead8b
codegen metadata
stainless-app[bot] Dec 19, 2024
360eed2
feat(api): api update (#3760)
stainless-app[bot] Dec 19, 2024
67b5096
codegen metadata
stainless-app[bot] Dec 19, 2024
72ca121
codegen metadata
stainless-app[bot] Dec 19, 2024
6b79c89
codegen metadata
stainless-app[bot] Dec 19, 2024
eda64d0
feat(api): api update (#3762)
stainless-app[bot] Dec 19, 2024
5048ebd
feat(api): api update (#3765)
stainless-app[bot] Dec 29, 2024
b14c6b8
chore(internal): codegen related update (#3766)
stainless-app[bot] Jan 1, 2025
16230b1
feat(api): manual updates (#3767)
stainless-app[bot] Jan 1, 2025
ee8325c
feat(addressing)!: move service bindings to dedicated namespace (#3768)
stainless-app[bot] Jan 1, 2025
60d4d64
feat(loa_documents)!: move download subresource into parent as `get` …
stainless-app[bot] Jan 1, 2025
55ac2dc
chore: bump license year (#3770)
stainless-app[bot] Jan 2, 2025
79f4ddc
feat(ai): add support for search endpoints and finetunes (#3771)
stainless-app[bot] Jan 2, 2025
a8c40d4
feat(r2)!: rename `cf-r2-jurisdiction` to more usable `jurisdiction` …
stainless-app[bot] Jan 3, 2025
053c774
feat(r2)!: rename `cf-r2-jurisdiction` to more usable `jurisdiction` …
stainless-app[bot] Jan 3, 2025
4ca8332
feat(r2)!: rename `cf-r2-jurisdiction` to more usable `jurisdiction` …
stainless-app[bot] Jan 3, 2025
27610fa
feat(zone_settings): update `origin_max_http_version` model (#3775)
stainless-app[bot] Jan 3, 2025
e5ebd9d
feat(api): manual updates (#3776)
stainless-app[bot] Jan 3, 2025
5aa4d1b
fix: fix header parameter value (#3777)
stainless-app[bot] Jan 3, 2025
b809f5f
feat(api): api update (#3780)
stainless-app[bot] Jan 4, 2025
f6c40e9
codegen metadata
stainless-app[bot] Jan 4, 2025
782cb3e
feat(cloud_connector): define body param name (#3781)
stainless-app[bot] Jan 6, 2025
2ace5ac
codegen metadata
stainless-app[bot] Jan 6, 2025
3e9c173
codegen metadata
stainless-app[bot] Jan 6, 2025
ef35231
feat(api): api update (#3782)
stainless-app[bot] Jan 6, 2025
0c5abcd
feat(api): api update (#3784)
stainless-app[bot] Jan 6, 2025
1f6a286
feat(api): api update (#3785)
stainless-app[bot] Jan 6, 2025
fdcde98
feat(api): api update (#3786)
stainless-app[bot] Jan 6, 2025
9ac9789
feat(origin_post_quantum_encryption): swap PUT for PATCH operation (#…
stainless-app[bot] Jan 6, 2025
5d9860b
feat(addressing)!: reshuffle relationship in the namespace to align w…
stainless-app[bot] Jan 7, 2025
db6f50b
feat(api): skip authorization failures in prism (#3790)
stainless-app[bot] Jan 7, 2025
8217eeb
feat(api): mark JSON as initialism (#3791)
stainless-app[bot] Jan 7, 2025
37db45b
feat(api): manual updates (#3792)
stainless-app[bot] Jan 7, 2025
720b09c
feat(api): manual updates (#3793)
stainless-app[bot] Jan 7, 2025
762655d
feat(api): manual updates (#3794)
stainless-app[bot] Jan 7, 2025
f45718c
feat(api): manual updates (#3795)
stainless-app[bot] Jan 7, 2025
68df4d8
feat(dlp): skip tests for `entries` update due to HTTP 422 in prism (…
stainless-app[bot] Jan 7, 2025
5bd2867
test: skip more HTTP 422 failures from prism (#3798)
stainless-app[bot] Jan 7, 2025
2e53f26
test: skip more HTTP 422 failures from prism (#3799)
stainless-app[bot] Jan 7, 2025
9909f48
chore(internal): codegen related update (#3800)
stainless-app[bot] Jan 8, 2025
7b434c5
feat(dns): add models for batch operations and response (#3802)
stainless-app[bot] Jan 8, 2025
c0a3a2c
chore(internal): codegen related update (#3803)
stainless-app[bot] Jan 8, 2025
61e753e
chore(internal): codegen related update (#3804)
stainless-app[bot] Jan 8, 2025
de4206d
fix(api): better support union schemas with common properties (#3805)
stainless-app[bot] Jan 8, 2025
af92592
feat(api): remove unneeded DNS transforms (#3806)
stainless-app[bot] Jan 8, 2025
80a4c9a
feat(api): api update (#3807)
stainless-app[bot] Jan 8, 2025
dec5bf7
feat(api): api update (#3808)
stainless-app[bot] Jan 9, 2025
edf65ee
chore(internal): codegen related update (#3809)
stainless-app[bot] Jan 9, 2025
d48959b
feat(list_item): remove duplicated `anyOf` properties from component …
stainless-app[bot] Jan 9, 2025
8be09d0
feat(api): api update (#3811)
stainless-app[bot] Jan 9, 2025
2c2c26a
codegen metadata
stainless-app[bot] Jan 9, 2025
754a706
feat(api): api update (#3812)
stainless-app[bot] Jan 9, 2025
27937c6
chore(internal): skip broken tests (#3813)
stainless-app[bot] Jan 9, 2025
4f47cc1
codegen metadata
stainless-app[bot] Jan 9, 2025
40ef3d9
feat(api): api update (#3814)
stainless-app[bot] Jan 9, 2025
0a2d1f5
codegen metadata
stainless-app[bot] Jan 9, 2025
fcb195e
feat(api): update api shield operation endpoint (#3815)
stainless-app[bot] Jan 9, 2025
07f26dc
codegen metadata
stainless-app[bot] Jan 9, 2025
3975612
codegen metadata
stainless-app[bot] Jan 9, 2025
89a09ae
feat(api): manual updates (#3816)
stainless-app[bot] Jan 9, 2025
ec0fc64
feat(api): manual updates (#3817)
stainless-app[bot] Jan 10, 2025
14b4cca
chore(internal): codegen related update (#3818)
stainless-app[bot] Jan 10, 2025
b31c6a8
Update README.md
jacobbednarz Jan 10, 2025
1f89ee5
release: 4.0.0
stainless-app[bot] Jan 10, 2025
5eb752b
release: 4.0.0
stainless-app[bot] Jan 10, 2025
a9284eb
release: 4.0.0
stainless-app[bot] Jan 10, 2025
66eb545
release: 4.0.0
stainless-app[bot] Jan 10, 2025
4fd437a
release: 4.0.0
stainless-app[bot] Jan 10, 2025
a3cf77b
release: 4.0.0
stainless-app[bot] Jan 10, 2025
fc3f9ea
release: 4.0.0
stainless-app[bot] Jan 10, 2025
a75c713
release: 4.0.0
stainless-app[bot] Jan 10, 2025
05450f6
release: 4.0.0
stainless-app[bot] Jan 10, 2025
1e4b5c3
release: 4.0.0
stainless-app[bot] Jan 10, 2025
6fad2fe
release: 4.0.0
stainless-app[bot] Jan 10, 2025
2977c7e
release: 4.0.0
stainless-app[bot] Jan 10, 2025
59c72bf
release: 4.0.0
stainless-app[bot] Jan 10, 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
  •  
  •  
  •  
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.1.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: 1336
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-181e01b5bd06b9225e1d9e83df10e41fde7035040d740433d44f1c04ed7a80bb.yml
configured_endpoints: 1493
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-de70b033c163b7a4d4a11c5c66a7bcf7162020c433006b0d6b2d3e43c5b24df4.yml
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
brew "go"
242 changes: 242 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

33 changes: 20 additions & 13 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
## Setting up the environment

### Install Go 1.18+
To set up the repository, run:

Install go by following relevant directions [here](https://go.dev/doc/install).
```sh
$ ./scripts/bootstrap
$ ./scripts/build
```

This will install all the required dependencies and build the SDK.

You can also [install go 1.18+ manually](https://go.dev/doc/install).

## Modifying/Adding code

Expand All @@ -14,7 +21,7 @@ modify the contents of the `lib/` and `examples/` directories.

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

```bash
```go
# add an example to examples/<your-example>/main.go

package main
Expand All @@ -24,36 +31,36 @@ func main() {
}
```

```bash
go run ./examples/<your-example>
```sh
$ go run ./examples/<your-example>
```

## Using the repository from source

To use a local version of this library from source in another project, edit the `go.mod` with a replace
directive. This can be done through the CLI with the following:

```bash
go mod edit -replace github.com/cloudflare/cloudflare-go/v3=/path/to/cloudflare-go
```sh
$ go mod edit -replace github.com/cloudflare/cloudflare-go/v3=/path/to/cloudflare-go
```

## 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
```sh
# you will need npm installed
npx prism mock path/to/your/openapi.yml
$ npx prism mock path/to/your/openapi.yml
```

```bash
go test ./...
```sh
$ ./scripts/test
```

## Formatting

This library uses the standard gofmt code formatter:

```bash
gofmt -s -w .
```sh
$ ./scripts/format
```
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
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cloudflare Go API Library

<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v3"><img src="https://pkg.go.dev/badge/github.com/cloudflare/cloudflare-go/v3.svg" alt="Go Reference"></a>
<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v4"><img src="https://pkg.go.dev/badge/github.com/cloudflare/cloudflare-go/v3.svg" alt="Go Reference"></a>

The Cloudflare Go library provides convenient access to [the Cloudflare REST
API](https://developers.cloudflare.com/api) from applications written in Go. The full API of this library can be found in [api.md](api.md).
Expand All @@ -11,7 +11,7 @@ API](https://developers.cloudflare.com/api) from applications written in Go. The

```go
import (
"github.com/cloudflare/cloudflare-go/v3" // imported as cloudflare
"github.com/cloudflare/cloudflare-go/v4" // imported as cloudflare
)
```

Expand All @@ -22,7 +22,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/cloudflare/cloudflare-go/v3@v3.1.0'
go get -u 'github.com/cloudflare/cloudflare-go/v3@v4.0.0'
```

<!-- x-release-please-end -->
Expand All @@ -42,9 +42,9 @@ import (
"context"
"fmt"

"github.com/cloudflare/cloudflare-go/v3"
"github.com/cloudflare/cloudflare-go/v3/option"
"github.com/cloudflare/cloudflare-go/v3/zones"
"github.com/cloudflare/cloudflare-go/v4"
"github.com/cloudflare/cloudflare-go/v4/option"
"github.com/cloudflare/cloudflare-go/v4/zones"
)

func main() {
Expand Down Expand Up @@ -112,7 +112,7 @@ if res.Name == "" {
// true if `"name"` is either not present or explicitly null
res.JSON.Name.IsNull()

// true if the `"name"` key was not present in the repsonse JSON at all
// true if the `"name"` key was not present in the response JSON at all
res.JSON.Name.IsMissing()

// When the API returns data that cannot be coerced to the expected type:
Expand Down Expand Up @@ -370,9 +370,9 @@ middleware has been applied.
This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:

1. Changes that only affect static types, without breaking runtime behavior.
1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals)_.
1. Changes to library internals which are technically public but not intended or documented for external use.
1. Changes that we do not expect to impact the vast majority of users in practice.

> [!WARNING]
> In addition to the above, changes to type names, structure or methods _may_ occur as we stabilise the automated codegen pipeline. This will be removed in the future once we are further along and the service owner OpenAPI schemas have reached a higher maturity level where changes are not as constant.
> If this isn't suitable for your project, we recommend pinning to a known version or using the previous major version.
## Contributing

See [the contributing documentation](./CONTRIBUTING.md).
Loading
Loading