reitit icon indicating copy to clipboard operation
reitit copied to clipboard

Rename old reitit.ring.spec and move multipart specs to new ns

Open Deraen opened this issue 4 years ago • 2 comments

This should fix #355 #356

Deraen avatar Mar 05 '20 12:03 Deraen

This is a major breaking change. I propose we'll postpone this to 1.0.0, could be soon (lot's of other... wrong things like the one this fixes.

ikitommi avatar May 12 '20 07:05 ikitommi

This could be handled in staged fashion to

  1. Move the specs to new a namespace from multipart.clj but add aliases for them in multipart.clj. Document that the aliases are deprecated (update code examples, add comment in code, entry in changelog. Nobody is looking at ^:deprecated tags for specs, I guess.)
  2. Later remove the aliases when doing a breaking release.

I'm not sure why reitit.ring.spec is renamed reitit.ring.validate.spec ?

miikka avatar May 22 '20 13:05 miikka