v3 Planning #109

Closed
mccalltd opened this Issue Aug 13, 2012 · 3 comments

Comments

Projects
None yet
2 participants
Owner

mccalltd commented Aug 13, 2012

Some stuff I think I want to do when I can break things in a vMajor:

Breaking Changes

  • (done) Get rid of RouteDefaultAttribute and RouteConstraintAttributes. These are super v1 legacy by now. Prefer using inline defaults and constraints. There's no advantage to using the attributes, unless you just love decorating methods with a lot of attributes.
  • (done) Remove backwards compat for old inline route constraint syntax. Prefer using the current inline regex constraint of the form "{param:regex(pattern)}". Old syntax was "{param(pattern)}"
  • (done) Remove support for leading-question-mark optional params. This usage pattern does not work with inline constraints, and it's old-school in a bad way.
  • (done) Get rid of single HttpVerbs param in Mvc RouteAttribute, and use a params array instead. Consider abstracting a verb spec over top of HttpVerbs and HttpMethod types in System.Web.Mvc and System.Web.Http. The bigger deal is the bitwise or-ing in the Mvc RouteAttribute. I don't like it.
  • (done) Nuke AddTheRemainingScannedRoutes property on the base configuration object. I don't know if I ever needed it, and it's been taking up space, not being used for anything, for a very long time.
  • (done) #122: WebHost should use HttpRouteCollection

New Stuff

  • (done) Make the framework factories extensible. Should just be a simple matter of ensuring access to the factory properties in the config objects, so users can just pop their own in place.

If you need help with the coding, let me know. I'm a great fan of this library and we'll be glad to help it make it even better.

Owner

mccalltd commented Aug 21, 2012

Mostly just keeping notes for now. And most of the coding will involve taking away rather than adding :). But as I get ready to work on v3 I'll comment here and if you have time and there's something I can delegate, then I'd love the help. Thanks for the offer.

Cheers

On Aug 21, 2012, at 2:00 PM, Felipe Leusin wrote:

If you need help with the coding, let me know. I'm a great fan of this library and we'll be glad to help it make it even better.


Reply to this email directly or view it on GitHub.

mccalltd added a commit that referenced this issue Aug 24, 2012

mccalltd added a commit that referenced this issue Aug 24, 2012

#109 - removed old ctor method of specifying verbs in RouteAttribute …
…from a bitwise or operation to a param array of HttpVerbs.

mccalltd added a commit that referenced this issue Aug 24, 2012

mccalltd added a commit that referenced this issue Sep 5, 2012

mccalltd added a commit that referenced this issue Sep 5, 2012

Owner

mccalltd commented Sep 7, 2012

v3 is live

@mccalltd mccalltd closed this Sep 7, 2012

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