Skip to content

Conversation

@blakeembrey
Copy link
Member

This will break backward compatibility

@dougwilson
Copy link
Contributor

Thanks! Right now master is pending a 4.4.x patch release. I'll merge this in once it get back to the 4.5 release code :)

@dougwilson dougwilson added the 4.x label Jun 12, 2014
@dougwilson dougwilson self-assigned this Jun 12, 2014
@dougwilson
Copy link
Contributor

Wait, is this a breaking change? Why the changes to the test files? Will people's stuff break if they are using the paths that you removed?

@dougwilson dougwilson removed the 4.x label Jun 12, 2014
* Old asterisk functionality is obsolete * Adds the repeated parameters mentioned in #2134 This will break backward compatibility
@blakeembrey
Copy link
Member Author

@dougwilson It is a breaking change since it changes the way routes match. It's directly related to (and implemented from) #2057.

@dougwilson
Copy link
Contributor

Wait, is this a breaking change?

Ah, I see you noted it will in your commit. Looks like it'll be scheduled for express 5.x, then :)

@dougwilson
Copy link
Contributor

As an update, this has not been moved anywhere yet because I need to find a way to warn people so they can change the way their routes are declared, otherwise they'll update to 5.0 and crap will just be broken and no one will upgrade... :(

@blakeembrey
Copy link
Member Author

@dougwilson Should I attempt to add warnings in path-to-regexp@0.1.x? Then you could just add a static check for /* or * and recommend using app.use instead?

@dougwilson
Copy link
Contributor

Should I attempt to add warnings in path-to-regexp@0.1.x?

Well, not unless the user can also change their paths to have the same functionality and not have warnings and still use 0.1.x.

@blakeembrey
Copy link
Member Author

Closing in favour of #2530

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants