3 ms·
Here's the documentation of the public API: http://nodejs.org/api/url.html#url_url_resolve_from_to http://nodejs.org/api/url.html#url_url_resolve_from_to They
by jashkenas 12y ago
Here's the documentation of the public API:
http://nodejs.org/api/url.html#url_url_resolve_from_to http://nodejs.org/api/url.html#url_url_resolve_from_to
They changed the way that it resolves:
url.resolve('/path/to/file', '.')
... to include a trailing slash when it returns the new URL to your code.
No big deal, but it breaks apps. It's not backwards compatible. SemVer is not about feature-vs-bugfix. It's about changes to documented behavior. This is a breaking change, so it must be Io.js 2.0.
If you think I'm making a mountain out of a molehill here — I am. This change isn't a big deal. Io.js shouldn't have to bump to 2.0 to deal with it. But pretending to follow "Semantic" Versioning when you're not is just silly.
Death to tyranny, right?
- Touche 12y agoYou might have a point here, they should bump to 2.0. Let's see why they didn't do so.