{"ecosystem":"go","package":"github.com/go-chi/chi","from_version":null,"to_version":null,"changes":[{"from_version":"2.1.0","to_version":"3.0.0","change_type":"api","description":"URL parameter syntax changed from `/:id` to `/{id}` for even more flexible routing, such as","migration_hint":null},{"from_version":"2.1.0","to_version":"3.0.0","change_type":"breaking","description":"*NOTE:* chi v2 is still available at https://github.com/go-chi/chi/tree/v2","migration_hint":null},{"from_version":"2.1.0","to_version":"3.0.0","change_type":"breaking","description":"Major update to chi library with many exciting updates, but also some *breaking changes*","migration_hint":null},{"from_version":"2.1.0","to_version":"3.0.0","change_type":"breaking","description":"Support for regexp for routing patterns, in the form of `/{paramKey:regExp}` for example:","migration_hint":null},{"from_version":"2.1.0","to_version":"3.0.0","change_type":"breaking","description":"Add `Method` and `MethodFunc` to `chi.Router` to allow routing definitions such as","migration_hint":null},{"from_version":"2.1.0","to_version":"3.0.0","change_type":"breaking","description":"Add support for LINK/UNLINK http methods via `r.Method()` and `r.MethodFunc()`","migration_hint":null},{"from_version":"2.1.0","to_version":"3.0.0","change_type":"breaking","description":"Moved the chi project to its own organization, to allow chi-related community packages to","migration_hint":null},{"from_version":"2.1.0","to_version":"3.0.0","change_type":"breaking","description":"*NOTE:* please update your import paths to `\"github.com/go-chi/chi\"`","migration_hint":null},{"from_version":"2.1.0","to_version":"3.0.0","change_type":"deprecated","description":"Deprecating `mux#FileServer` helper function. Instead, we encourage users to create their","migration_hint":null},{"from_version":"4.1.2","to_version":"1.5.0","change_type":"api","description":"For me, the aesthetics of chi's code and usage are very important. With the introduction of Go's module support\n(which I'm a big fan of), chi's past versioning scheme choice to v2, v3 and v4 would mean I'd require the import path\nof \"github.com/go-chi/chi/v4\", leading to the lengthy discussion at https://github.com/go-chi/chi/issues/462.\nHaha, to some, you may be scratching your head why I've spent > 1 year stalling to adopt \"/vXX\" convention in the import\npath -- which isn't horrible in general -- but for chi, I'm unable to accept it as I strive for perfection in it's API design,\naesthetics and simplicity. It just doesn't feel good to me given chi's simple nature -- I do not foresee a \"v5\" or \"v6\",\nand upgrading between versions in the future will also be just incremental.","migration_hint":null},{"from_version":"4.1.2","to_version":"1.5.0","change_type":"api","description":"`chi` dates back to 2016 with it's original implementation as one of the first routers to adopt the newly introduced\ncontext.Context api to the stdlib -- set out to design a router that is faster, more modular and simpler than anything\nelse out there -- while not introducing any custom handler types or dependencies. Today, `chi` still has zero dependencies,\nand in many ways is future proofed from changes, given it's minimal nature. Between versions, chi's iterations have been very\nincremental, with the architecture and api being the same today as it was originally designed in 2016. For this reason it \nmakes chi a pretty easy project to maintain, as well thanks to the many amazing community contributions over the years\nto who all help make chi better (total of 86 contributors to date -- thanks all!).","migration_hint":null},{"from_version":"4.1.2","to_version":"1.5.0","change_type":"breaking","description":"My apologies to the developers who will disagree with the decisions above, but, hope you'll try it and see it's a very\nminor request which is backwards compatible and won't break your existing installations.","migration_hint":null},{"from_version":"4.1.2","to_version":"1.5.0","change_type":"breaking","description":"Cheers all, happy coding!","migration_hint":null},{"from_version":"4.1.2","to_version":"1.5.0","change_type":"breaking","description":"(2020-11-12) - now with go.mod support","migration_hint":null},{"from_version":"4.1.2","to_version":"1.5.0","change_type":"breaking","description":"Chi has been a labour of love, art and engineering, with the goals to offer beautiful ergonomics, flexibility, performance\nand simplicity when building HTTP services with Go. I've strived to keep the router very minimal in surface area / code size,\nand always improving the code wherever possible -- and as of today the `chi` package is just 1082 lines of code (not counting\nmiddlewares, which are all optional). As well, I don't have the exact metrics, but from my analysis and email exchanges from\ncompanies and developers, chi is used by thousands of projects around the world -- thank you all as there is no better form of\njoy for me than to have art I had started be helpful and enjoyed by others. And of course I use chi in all of my own projects too :)","migration_hint":null},{"from_version":"4.1.2","to_version":"1.5.0","change_type":"breaking","description":"For existing projects who want to upgrade to the latest go.mod version, run: `go get -u github.com/go-chi/chi@v1.5.0`,\nwhich will get you on the go.mod version line (as Go's mod cache may still remember v4.x). Brand new systems can run\n`go get -u github.com/go-chi/chi` or `go get -u github.com/go-chi/chi@latest` to install chi, which will install v1.5.0+\nbuilt with go.mod support.","migration_hint":null}],"total":16,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"miss"}