Skip to content

More-better shunt guidance - #522

Merged
dgw merged 4 commits into
mainfrom
more-better-shunt-guidance
Aug 19, 2026
Merged

More-better shunt guidance#522
dgw merged 4 commits into
mainfrom
more-better-shunt-guidance

Conversation

@dgw

@dgw dgw commented Aug 19, 2026

Copy link
Copy Markdown
Member

Pre-requisites

Change Description

Follow-up to #521 regarding the example shunt filter, specifically, implementing @ozh's suggestion for better backward compatibility (avoiding use of the new-in-1.10.4 function yourls_shunt_default()) and my own alternative idea for a different parameter name.


What do @YOURLS/core think? Do you like this or would $dont_shunt be better after all?

dgw added 4 commits August 19, 2026 11:03
Inspired by Léo's suggestion to the last PR in this file.
It's not needed. Shunt filters will always get a value.

In this specific case, removing yourls_shunt_default() preserves back-compat.
@dgw
dgw requested a review from a team as a code owner August 19, 2026 18:09
@cloudflare-workers-and-pages

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
website b5c67f7 Commit Preview URL

Branch Preview URL
Aug 19 2026, 06:09 PM

@dgw
dgw merged commit 1df349c into main Aug 19, 2026
22 checks passed
@dgw
dgw deleted the more-better-shunt-guidance branch August 19, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants