v2.0.0 - new route parameters! #2
splashsky
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Aloha! Here's the first "major" version bump!
Route parameters have changed! Now, instead of writing RegEx in your routes, SimpleRouter will handle it for you. Here's an example:
This super-simplifies your routing. The next feature planned is to allow you to still apply a RegEx constraint to each parameter, so that you can still control what gets passed through. Look forward to it!
Allow me to explain how versioning will work for this package going forward; any changes that require you to change your code to continue using the package will be a "major" version change. This will remain the case even if we hit v113.2.4. The minor version updates will be additional features or under-the-hood improvements. Bug fixes are in the third space as expected, except if fixes require breaking userland code.
This discussion was created from the release v2.0.0 - new route parameters!.
Beta Was this translation helpful? Give feedback.
All reactions