koajs / static

Static file server middleware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

please follow semver spec

magicdawn opened this issue · comments

commented

https://semver.org/

Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards-compatible manner, and
PATCH version when you make backwards-compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

4.0.3...5.0.0
version between 4.0.3 and 5.0.0 does not contain any incompatible API changes, this should be a patch version.

koa-static is a tiny wrapper of koa-send, just think of this change as a broken change.

koajs/send#105

Actually, it's a bit ambivalent to determine this change as broken or bug fix :)

see also koajs/send#82

just think of broken as a more safer way.