-
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 3 commits
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.
20 changes: 20 additions & 0 deletions
20
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,20 @@ | ||
| --- | ||
| title: New Rules Templates for One-Click Rule Creation | ||
| description: Quickly set up common rules with pre-built templates. | ||
| products: | ||
| - rules | ||
| date: 2024-09-05T11:00:00Z | ||
| --- | ||
|
|
||
| Now, you can create **common rule configurations** in just **one click** using Rules Templates. | ||
|
|
||
|  | ||
|
|
||
| What you can do: | ||
| - **Pick a pre-built rule** – Choose from a library of templates. | ||
| - **One-click setup** – Deploy best practices instantly. | ||
| - **Customize as needed** – Adjust templates to fit your setup. | ||
|
|
||
| Template cards are now also available directly in the rule builder for each product. | ||
|
|
||
| Need more ideas? Check out the [Examples gallery](/rules/examples/) in our documentation. |
17 changes: 17 additions & 0 deletions
17
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,17 @@ | ||
| --- | ||
| title: Simplified UI for URL Rewrites | ||
| description: Set up wildcard-based URL rewrites faster with a new streamlined UI. | ||
| products: | ||
| - rules | ||
| date: 2024-10-23T11:00:00Z | ||
| --- | ||
|
|
||
| It’s now easy to create **wildcard-based [URL Rewrites](/rules/transform/url-rewrite/)**. No need for complex functions—just define your patterns and go. | ||
|
|
||
|  | ||
|
|
||
| What’s improved: | ||
| - **Full wildcard support** – Create rewrite patterns using intuitive interface. | ||
| - **Simplified rule creation** – No need for complex functions. | ||
|
|
||
| Try it via [creating 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 | ||
| --- | ||
|
|
||
| Now, you can use [Cloud Connector](/rules/cloud-connector/) to route traffic to your [R2 buckets](/r2/) based on URLs, headers, geolocation, and more. | ||
|
|
||
| Example setup: | ||
|
|
||
| ```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" | ||
| } | ||
| } | ||
| ]' | ||
| ``` | ||
|
|
||
| Get started using [Cloud Connector](/rules/cloud-connector/) documentation. |
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: Automate Snippet deployments with Terraform. | ||
| products: | ||
| - rules | ||
| date: 2024-12-11T11:00:00Z | ||
| --- | ||
|
|
||
| Now, you can manage [Cloudflare Snippets](/rules/snippets/) with [Terraform](/terraform/). Use infrastructure-as-code to deploy and update Snippet code and rules without manual changes in the dashboard. | ||
|
|
||
| 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] | ||
| } | ||
| ``` | ||
|
|
||
| Learn more in the [Configure Snippets using Terraform](/rules/snippets/create-terraform/) documentation. |
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 Rules Overview Interface | ||
| description: Manage all your rules in one place with the new Rules Overview. | ||
| products: | ||
| - rules | ||
| date: 2025-01-09T11:00:00Z | ||
| --- | ||
|
|
||
| **Rules Overview** gives you a single page to manage all your [Cloudflare Rules](/rules/). | ||
|
|
||
|  | ||
|
|
||
| What you can do: | ||
| - **See all your rules in one place** – No more clicking around. | ||
| - **Find rules faster** – Search by name. | ||
| - **Understand execution order** – See how rules run in sequence. | ||
| - **Debug easily** – Use [Trace](/fundamentals/security/trace-request/) without switching tabs. | ||
|
|
||
| Check it out in [Rules > Overview](https://dash.cloudflare.com/?to=/:account/:zone/rules/overview). |
18 changes: 18 additions & 0 deletions
18
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,18 @@ | ||
| --- | ||
| title: New Snippets Code Editor | ||
| description: Edit Snippets and rules in one place with the new built-in code editor. | ||
| products: | ||
| - rules | ||
| date: 2025-01-29T11:00:00Z | ||
| --- | ||
|
|
||
| The new [Snippets](/rules/snippets/) code editor lets you edit Snippet code and rule in one place, making it easier to test and deploy changes without switching between pages. | ||
|
|
||
|  | ||
|
|
||
| What’s new: | ||
| - **Single-page editing for code and rule** – No need to jump between screens. | ||
| - **Auto-complete & syntax highlighting** – Get suggestions and avoid mistakes. | ||
| - **Code formatting & refactoring** – Write cleaner, more readable code. | ||
|
|
||
| Try it now in **[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.