0.5.0
Highlights π
- Added a sponsors button to the GitHub repository, please consider sponsoring Pogo! π
- Added
h.directory()
andh.file()
helpers for serving static assets - Added TypeScript docs and support for
deno doc
- Added named exports for all APIs as an alternative to the default export object, so you can now do
import { router }
instead ofimport pogo
...pogo.router
- Added
paramNames
to routes stored in a router, which can be accessed viarequest.route.paramNames
, for example - Added a new React on Server example, demonstrating server-side rendering of static markup with React
- Updated the minimum supported Deno version to v1.2.0
Bug fixes π
- Fixed problems with loading type definitions for React due to upstream changes on the https://deno.land/x registry
- Fixed support for GitHub's link-to-definition feature in documentation code blocks, so you can click on code in the README, for example, to see where it's defined in the source code
All changes π
Thanks β€οΈ
Some awesome people contributed to this release. Thank you to @afaur, @venikman, and @yereby!