Closed Fauntleroy closed 10 years ago
@pushred review pls
This change is definitely a good idea. I think this qualifies as a major version update due to the addition of the permanent
requirement. Any extant redirects lacking start
/ end
would no longer be considered permanent so that's a breaking change in my book. Good to do it now though based on confusion we've seen in use thus far.
@pushred According to semver we can do some pretty substantial changes while we're in major version 0
:
Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.
I see, well at least we know who this change will effect.
Can you tag & release this and other recent changes? Not doing much good in master...
Tagged and released.
Changes the behavior of redirects from:
start
orend
is specifiedto:
permanent
flag is set. Permanent redirects can also have astart
and anend
, but the browser will cache them aggressively, so it's not recommended to depend on it.