Releases: sejori/peko
v2.2.0
V2.2.0!
No major changes to the library in this release. The only significant API change is Peko.staticFiles
has become Peko.file
.
Most updates in this version are in the examples and the documentation 📝
What's Changed
- Update README.md by @sejori in #188
- Update README.md by @sejori in #189
- Update README.md by @sejori in #191
- Update README.md by @sejori in #192
- feat: test ci runners by @sejori in #193
- fix: filenames by @sejori in #194
- Update README.md by @sejori in #195
- Update README.md by @sejori in #196
- Update README.md by @sejori in #197
- Fix a dead link in README.md by @tamo in #200
- Graphql Schema PoC by @sejori in #201
- Update CD.yml by @sejori in #202
- feat: fixed preact example by @sejori in #203
- feat: precompile TS by @sejori in #204
- fix: correct build dir by @sejori in #205
- fix: esbuild format esm by @sejori in #206
- Example fixes by @sejori in #207
- fix: wrangler env by @sejori in #208
- fix: bun script by @sejori in #209
- Update README.md by @sejori in #210
- Update README.md by @sejori in #211
- feat: cleaned preactSSR example by @sejori in #212
- Example architecture by @sejori in #213
- fix: wrangler script by @sejori in #214
- fix: cloudflare imports by @sejori in #215
- Readme update by @sejori in #216
Full Changelog: 2.1.0...2.2.0
v.1.3.2
v1.3.1
v1.3.0
What's Changed
- test: compact router middleware by @sebringrose in #90
- feat: logging rework by @sebringrose in #91
- Update README.md by @sebringrose in #89
- fix: no throw in cascade by @sebringrose in #92
- Update README.md by @sebringrose in #93
- Update README.md by @sebringrose in #94
- Error handling by @sebringrose in #95
- Update README.md by @sebringrose in #96
- Update README.md by @sebringrose in #97
- Update README.md by @sebringrose in #98
- Update README.md by @sebringrose in #99
- Update README.md by @sebringrose in #100
- fix: logger in examples by @sebringrose in #101
- Update README.md by @sebringrose in #102
This release is pretty huge 💪
Cascade utility has had a complete recursive rework in order to allow middleware to return responses after awaiting next()
🔁
Logger middleware now accepts a logging function so is more inline with the other middleware and replaces the unintuitive server.logging
configuration ☎️
Tests were expanded to cover middleware error handling which allows for much cleaner error handling without server config 🍄
Docs code samples added to README and main preact example updated ✨
Full Changelog: v1.2.5...v1.3.0
v1.2.5
v1.2.4
v1.2.3
What's Changed
There have been a couple of fixes and tidying ups in the RequestContext object as well as the cacher's key now including params as well as path.
Boop 🐝
Full Changelog: v1.2.2...v1.2.3
v1.2.2
What's Changed
You can now transform static content by receiving the Uint8 array of the content in an optional "transform" function supplied to the staticHandler.
Also the ResponseCache has been totally abstracted and the memoize handler logic has been moved into the cacher middleware. The cacher middleware has a slightly different implementation that uses only the request path in the cache item key, not the full url string.
Along with these changes there have been a couple of fixes and tidying ups in the RequestContext object as well as the cacher's key now including params as well as path.
Woop 🦆
Full Changelog: v1.2.1...v1.2.2