Skip to content

Releases: sejori/peko

JSDoc updates

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

Full Changelog: v0.4.1...v0.4.2

Server config interface

06 Jul 17:49
181e82b
Compare
Choose a tag to compare

Server class, middleware cascade & API streamlined

06 Jul 17:42
181e82b
Compare
Choose a tag to compare

What's Changed

  • Auth middleware by @sebringrose in #35
  • Handler cleanup by @sebringrose in #36
  • Cascading middleware by @sebringrose in #37
  • Server class by @sebringrose in #38

Full Changelog: v0.3.0...v0.4.0

RequestContext for Middleware & Handlers

15 Jun 18:47
181e82b
Compare
Choose a tag to compare

What's Changed

  • The (request: Request , params: HandlerParams) => response pattern has been replaced by (ctx: RequestContext) => Response.
  • RenderContext (prev HandlerParams) is now a class containing request and data as properties (accessing properties of ctx.request was a type error if ctx is object).
  • Middleware can now be supplied as an array or single function and take only one argument, RequestContext.
  • Types have been redistributed into the relevant files.
  • Many lib and examples files have been rewritten for improved readability and layout.
  • All of the examples have been updated to the latest API.
  • The default Cache-Control header of ssr and static handlers has been fixed (was previously permanently caching assets)

Full Changelog: v0.2.2...v0.3.0

Type corrections

08 Jun 16:57
181e82b
Compare
Choose a tag to compare

v0.2.1 - Handler Improvements & SSE

08 Jun 14:17
181e82b
Compare
Choose a tag to compare

What's Changed

  • Browser cache utilization by @sebringrose in #30
  • Events by @sebringrose in #31
  • BREAKING CHANGE: refactored ssr handler by @sebringrose in #32
  • fix: update ssr jsDocs by @sebringrose in #33

Full Changelog: v0.2.0...v0.2.1

V0.2.0 Release! Internal API & Documentation

13 May 08:51
181e82b
Compare
Choose a tag to compare

v0.1.3 - Deno Deploy Support

12 May 18:04
181e82b
Compare
Choose a tag to compare

What's Changed

  • Deno deploy by @sebringrose in #28
  • Integration testing by @sebringrose in #29

Full Changelog: v0.1.2...v0.1.3

v0.1.2 - eta-Templating & custom-SSR & Cacher-util refactor

09 May 17:01
181e82b
Compare
Choose a tag to compare

What's Changed

  • templating updates + eta & custom-srr examples by @sebringrose in #24
  • Util refactor by @sebringrose in #26

Full Changelog: v0.1.1...v0.1.2

v0.1.1

03 May 16:21
181e82b
Compare
Choose a tag to compare

JSDoc comments added to major functions + minor README & example fixes by @sebringrose