-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Rules: Port relevant changelog entries to the new version #19915
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
0b1b5c4
Rules: Port relevant changelog entries to the new version
nikitacano c67ef09
Rules: Port relevant changelog entries to the new version
nikitacano 53a017f
Rules: Port relevant changelog entries to the new version
nikitacano bbf2924
PCX review: update formatting
pedrosousa 9927fb1
Rules: Move changelog images to changelog-next directory
nikitacano File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions
21
src/content/changelogs-next/2024-09-05-rules-templates.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| --- | ||
| title: "New Rules Templates for One-Click Rule Creation" | ||
| description: Cloudflare introduces pre-built rule templates for quick and easy configuration. | ||
| products: | ||
| - rules | ||
| date: 2024-09-05T11:00:00Z | ||
| --- | ||
|
|
||
| Cloudflare now offers **Rules templates**, allowing users to quickly create common [Cloudflare Rules](/rules/) configurations with a single click. | ||
|
|
||
|  | ||
|
|
||
| New capabilities: | ||
|
|
||
| - **Pre-configured rules** – Select from a library of common goal-based templates. | ||
| - **One-click setup** – Deploy best practices instantly. | ||
| - **Customizable options** – Modify templates to fit specific needs. | ||
|
|
||
| Template cards are also now available directly in the rule builder for each product. | ||
|
|
||
| You can also refer to the [Examples gallery](/rules/examples/) in the developer docs. |
19 changes: 19 additions & 0 deletions
19
src/content/changelogs-next/2024-10-23-url-rewrites-wildcard.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| --- | ||
| title: "Simplified UI for URL Rewrites" | ||
| description: The new URL Rewrite interface makes wildcard-based rule creation straightforward. | ||
| products: | ||
| - rules | ||
| date: 2024-10-23T11:00:00Z | ||
| --- | ||
|
|
||
| Cloudflare introduces a **simplified UI for [URL Rewrites](/rules/transform/url-rewrite/)**, making it easier to configure dynamic wildcard-based URL transformations. | ||
|
|
||
|  | ||
|
|
||
| New capabilities: | ||
|
|
||
| - **Intuitive wildcard support** – Easily create rewrite patterns. | ||
| - **Simplified rule creation** – No need for complex functions. | ||
| - **Better visibility** – View and manage rewrites in a structured UI. | ||
|
|
||
| Find more information about the updated interface at [Create a Rewrite URL rule in the dashboard](/rules/transform/url-rewrite/create-dashboard/#wildcard-pattern-parameters). |
30 changes: 30 additions & 0 deletions
30
src/content/changelogs-next/2024-11-22-cloud-connector-r2.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| --- | ||
| title: "Cloud Connector Now Supports R2" | ||
| description: Cloud Connector now integrates with Cloudflare R2 for object storage. | ||
| products: | ||
| - rules | ||
| date: 2024-11-22T11:00:00Z | ||
| --- | ||
|
|
||
| [Cloud Connector](/rules/cloud-connector/) now supports routing matching incoming requests to [R2 object storage](/r2/), allowing seamless integration between [Cloudflare Rules](/rules/) and Cloudflare’s object storage solution. Now, you can route traffic to your R2 buckets based on URLs, headers, geolocation, and more. | ||
|
|
||
| Configure Cloud Connector for R2: | ||
|
|
||
| ```bash | ||
| curl --request PUT \ | ||
| "https://api.cloudflare.com/client/v4/zones/{zone_id}/cloud_connector/rules" \ | ||
| --header "Authorization: Bearer <API_TOKEN>" \ | ||
| --header "Content-Type: application/json" \ | ||
| --data '[ | ||
| { | ||
| "expression": "http.request.uri.path wildcard \"/images/*\"", | ||
| "provider": "cloudflare_r2", | ||
| "description": "Connect to R2 bucket containing images", | ||
| "parameters": { | ||
| "host": "mybucketcustomdomain.example.com" | ||
| } | ||
| } | ||
| ]' | ||
| ``` | ||
|
|
||
| For more details, visit [Cloud Connector documentation](/rules/cloud-connector/). |
36 changes: 36 additions & 0 deletions
36
src/content/changelogs-next/2024-12-11-terraform-snippets.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| --- | ||
| title: "Terraform Support for Snippets" | ||
| description: Manage Cloudflare Snippets with Terraform for automated deployments. | ||
| products: | ||
| - rules | ||
| date: 2024-12-11T11:00:00Z | ||
| --- | ||
|
|
||
| Cloudflare now supports managing [Snippets](/rules/snippets/) via [Terraform](/terraform/), allowing users to deploy and configure Snippet code and Snippet rules as part of infrastructure-as-code workflows. | ||
|
|
||
| Example Terraform configuration: | ||
|
|
||
| ```tf | ||
| resource "cloudflare_snippet" "my_snippet" { | ||
| zone_id = "<ZONE_ID>" | ||
| name = "my_test_snippet_1" | ||
| main_module = "file1.js" | ||
| files { | ||
| name = "file1.js" | ||
| content = file("file1.js") | ||
| } | ||
| } | ||
|
|
||
| resource "cloudflare_snippet_rules" "cookie_snippet_rule" { | ||
| zone_id = "<ZONE_ID>" | ||
| rules { | ||
| enabled = true | ||
| expression = "http.cookie eq \"a=b\"" | ||
| description = "Trigger snippet on specific cookie" | ||
| snippet_name = "my_test_snippet_1" | ||
| } | ||
| depends_on = [cloudflare_snippet.my_snippet] | ||
| } | ||
| ``` | ||
|
|
||
| For more details, refer to [Configure Snippets using Terraform](/rules/snippets/create-terraform/). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| --- | ||
| title: New Rules Overview Interface | ||
| description: The new Rules Overview consolidates all rule management into a single interface. | ||
| products: | ||
| - rules | ||
| date: 2025-01-09T11:00:00Z | ||
| --- | ||
|
|
||
| Cloudflare introduces the **Rules Overview**, a centralized interface for managing [Cloudflare Rules](/rules/) products. This update simplifies navigation, making rule management more intuitive. | ||
|
|
||
|  | ||
|
|
||
| New capabilities: | ||
|
|
||
| - **Unified interface**: Manage all rules in one place — no more navigating through multiple menu tabs. | ||
| - **Search across rules**: Quickly locate specific rules. | ||
| - **Clear rule order**: View and manage rules by their execution sequence for streamlined configuration. | ||
| - **Enhanced visibility**: Instantly view the filter (conditions) and action (outcome) for every rule. | ||
| - **Faster debugging**: Use Trace directly from the zone-level interface for simple, quick troubleshooting. | ||
|
|
||
| Find the new interface in the Cloudflare dashboard under [Rules > Overview](https://dash.cloudflare.com/?to=/:account/:zone/rules/overview). |
19 changes: 19 additions & 0 deletions
19
src/content/changelogs-next/2025-01-29-snippets-code-editor.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| --- | ||
| title: New Snippets Code Editor | ||
| description: Cloudflare launches a new Snippets code editor, allowing rule editing on a single page. | ||
| products: | ||
| - rules | ||
| date: 2025-01-29T11:00:00Z | ||
| --- | ||
|
|
||
| Cloudflare introduces the **new Snippets code editor**, enhancing the way users write and manage [Snippets](/rules/snippets/) within the Cloudflare dashboard. The editor unifies rule and Snippet management into a single interface, streamlining workflows. Now, you can update and deploy both your code and rules from a single screen, cutting out extra steps and saving time. | ||
|
|
||
|  | ||
|
|
||
| Key improvements: | ||
|
|
||
| - **Single-page editing** – Edit Snippets and related rules in one place. | ||
| - **Code formatting & refactoring** – Improved structure and readability. | ||
| - **Auto-complete & syntax highlighting** – Enhance efficiency and reduce errors. | ||
|
|
||
| To access the new editor, navigate to [Rules > Snippets](https://dash.cloudflare.com/?to=/:account/:zone/rules/snippets). | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.