Skip to content

Releases: sejori/peko

v1.1.0

18 Nov 09:35
181e82b
Compare
Choose a tag to compare

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

09 Nov 08:51
181e82b
Compare
Choose a tag to compare

What's Changed

  • doc: nicer examples by @sebringrose in #65
  • Hot fixes (+ handler rework) by @sebringrose in #66

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

03 Nov 13:42
181e82b
Compare
Choose a tag to compare

What's Changed

  • doc: description & philosophy by @sebringrose in #63
  • fix: correct port logging by @sebringrose in #64

Full Changelog: v0.6.0...v0.6.1

v0.6.0

02 Nov 23:07
181e82b
Compare
Choose a tag to compare

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

16 Oct 20:36
181e82b
Compare
Choose a tag to compare

What's Changed

  • Update README.md by @sebringrose in #55
  • Update README.md by @sebringrose in #56
  • Update README.md by @sebringrose in #57
  • Update README.md by @sebringrose in #58
  • Emitter update by @sebringrose in #59

Full Changelog: v0.5.3...v0.5.4

v0.5.3

10 Oct 08:34
181e82b
Compare
Choose a tag to compare

What's Changed

  • V0.5.3 by @sebringrose in #54

Full Changelog: v0.5.2...v0.5.3

v0.5.1 fixes

01 Sep 15:54
181e82b
Compare
Choose a tag to compare

What's Changed

v0.5 hotfixes

25 Aug 11:25
181e82b
Compare
Choose a tag to compare

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

  • @tamo made their first contribution in #51

Full Changelog: v0.5...v0.5.1

Tests, major API, utilies & middleware updates + example fixes

18 Aug 10:51
181e82b
Compare
Choose a tag to compare

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

06 Jul 18:45
181e82b
Compare
Choose a tag to compare

Full Changelog: v0.4.2...v0.4.3