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

zone: make settings more flexible #1251

Merged

Conversation

jacobbednarz
Copy link
Member

For the life of this library, the settings have always been under the /zones/:zone_id/settings route which was an aggregate of all the settings. This was designed as a way to aggregate all of the settings in one place and had its place however, now we are breaking up the zone settings to their true paths and need to make the Get and Update zone settings compatible with this approach.

This will enable teams to use their true paths instead of the prefixed or aggregate paths with no friction from the library (or upstreams like Terraform).

@github-actions
Copy link
Contributor

github-actions bot commented Mar 28, 2023

changelog detected ✅

For the life of this library, the settings have always been under the
`/zones/:zone_id/settings` route which was an aggregate of all the
settings. This was designed as a way to aggregate all of the settings in
one place and had its place however, now we are breaking up the zone
settings to their true paths and need to make the `Get` and `Update`
zone settings compatible with this approach.

This will enable teams to use their true paths instead of the prefixed
or aggregate paths with no friction from the library.
@jacobbednarz jacobbednarz force-pushed the make-zone-settings-more-flexible branch from b0ff791 to c300573 Compare March 28, 2023 23:13
@codecov-commenter
Copy link

Codecov Report

Merging #1251 (c300573) into master (0c3db86) will increase coverage by 0.08%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master    #1251      +/-   ##
==========================================
+ Coverage   49.23%   49.31%   +0.08%     
==========================================
  Files         131      131              
  Lines       12665    12685      +20     
==========================================
+ Hits         6236     6256      +20     
+ Misses       4988     4980       -8     
- Partials     1441     1449       +8     
Impacted Files Coverage Δ
errors.go 40.78% <ø> (ø)
ssl.go 72.72% <ø> (ø)
zone.go 41.70% <50.00%> (+2.59%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@jacobbednarz jacobbednarz merged commit 5cf30da into cloudflare:master Mar 28, 2023
@github-actions github-actions bot added this to the v0.64.0 milestone Mar 28, 2023
github-actions bot pushed a commit that referenced this pull request Mar 28, 2023
@jacobbednarz jacobbednarz deleted the make-zone-settings-more-flexible branch March 28, 2023 23:30
@github-actions
Copy link
Contributor

This functionality has been released in v0.64.0.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants