Skip to content

Conversation

@dougwilson
Copy link

This is my attempt at fixing expressjs/express#2495 in the 0.1.x series :)

@blakeembrey
Copy link
Member

Doesn't this break backward compatibility with 0.1.x? I know there's a few intentional uses with it, which is why I've avoided touching it.

@dougwilson
Copy link
Author

Sure, I guess in the technical sense, but I think I've heard enough from users that it is very unexpected that the stuff :foo(<here>) gets transformed in any way.

@blakeembrey
Copy link
Member

Yes, I agree. But that's the gist of 1.x. Couldn't you just upgrade to 1.x then?

@dougwilson
Copy link
Author

Couldn't you just upgrade to 1.x then?

No, because that breaks paths like /*...

@blakeembrey
Copy link
Member

@dougwilson
Copy link
Author

Ah I see. So you're saying if I were to try 1.2.x in Express right now, all our tests would just pass?

@blakeembrey
Copy link
Member

@dougwilson No guarantees, since there's a lot of other fixes, but I can give it a try 👍

@dougwilson
Copy link
Author

Darn it, we have an example with the path '/files/:file(*)', so there goes the neighborhood :) I really wished I could fix this :)

@dougwilson dougwilson closed this Jun 20, 2015
@dougwilson dougwilson deleted the star-in-captures branch June 20, 2015 03:30
@blakeembrey
Copy link
Member

Just beat me to it. Yeah, that's the only major difference between 0.1 and 1.x now. Well, plus there's a lot of new stuff in 1.x.

@dougwilson
Copy link
Author

Cool. I can't wait to get 5.0 out with 1.x. Thanks for keeping me honest :)

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