Releases: sejori/peko
v1.1.0
What's Changed
- Update README.md by @sebringrose in #67
- Update README.md by @sebringrose in #68
- doc: responsive preact fix by @sebringrose in #69
- remove coverage folder by @sebringrose in #71
- Update README.md by @sebringrose in #72
- Hot fixes by @sebringrose in #73
- Custom events by @sebringrose in #74
- Update README.md by @sebringrose in #75
- feat: compact routing by @sebringrose in #76
Full Changelog: v1.0.0...v1.1.0
v1.0.0
What's Changed
Version 1.0.0! 🎉
This release simplifies the arguments for handlers by removing the handler object data types. This reduces boilerplate code, is more intuitive and less bug prone. Also:
- The less helpful examples were removed 📚
- 500 errors are now properly cascaded backwards through middleware 🔁
- The README/docs also had a facelift 💄
This is my first OS project to ever get this far and I’m feeling very happy with where it’s at. I have a few projects that are implementing Peko now and will be sharing those in the README soon ✌️
Full Changelog: v0.6.1...v1.0.0
v0.6.1
v0.6.0
What's Changed
- Usability rework by @sebringrose in #60
- feat: added server.use method for adding global middleware by @sebringrose in #62
- Update README.md by @sebringrose in #61
Summary
With this release I have tried to make Peko's API a bit more user friendly. The new server.addRoutes() method remove the need to loop arrays in index files. The new server.use() method provides a familiar way to add global middlware instead of the clunky config object.
Speaking of the config object, it's basically gone. I brought all logging into one logging function and removed the errorHandler in favour of more straightforward default logging that can be overwritten with middleware. Those changes made the config object so small that it was no longer needed!
Also, the custom Event type is gone. It was clunky and weird and ultimately not user-friendly as people had to learn this object pattern to use the emitter and understand event logging. Now emitters can emit anything and advanced event systems are left to the user to implement.
Full Changelog: v0.5.4...v0.6.0
v0.5.4
v0.5.3
v0.5.1 fixes
What's Changed
- V0.5.1 hotfixes by @sebringrose in #53
Full Changelog: v0.5.1...v0.5.2
v0.5 hotfixes
What's Changed
- Auth example hotfix by @sebringrose in #50
- Use fromFileUrl instead of pathname by @tamo in #51
- v0.5 hotfixes by @sebringrose in #52. Includes: log port on server.listen(), remove config log from staticHandler, update middleware cascade example in examples/preact/routes.ts
New Contributors
Full Changelog: v0.5...v0.5.1
Tests, major API, utilies & middleware updates + example fixes
What's Changed
- Cache middleware by @sebringrose in #39
- Crypto class by @sebringrose in #40
- Crypto verify by @sebringrose in #42
- Tests by @sebringrose in #41
- Update README.md by @sebringrose in #44
- Update README.md by @sebringrose in #45
- Tests by @sebringrose in #46
- Site update by @sebringrose in #48
- Create LICENSE by @sebringrose in #49
Full Changelog: v0.4.3...v0.5
Docs fixed
Full Changelog: v0.4.2...v0.4.3