Joy Framework Joy Versions Save

A full stack web framework written in janet

0.5.1

4 years ago

Joy was still using the old version of cipher without jhydro. This fixes that.

0.5.0

4 years ago
  • Breaking changes for routing
  • No more per route middleware
  • Delete json-encode/decode functions
  • Rely on defglobal for routes tokens
  • Handle nil responses in built in middleware
  • Simplify routing by using some and grouping middleware per handler
  • (defroutes name [] []) instead of (def name (routes [] []))
  • Massive anti-csrf changes: encrypting, base64 encoding and storing the token in the session + hidden form fields
  • New module for base64 encoding/decoding (base64/encode), (base64/decode)
  • app has been renamed to handler
  • app is still around but it runs handlers one after the other for different middleware stacks (apis, auth...)

0.4.0

4 years ago

Joy 0.4.0

  • Add git dotfiles to template folder
  • Add first pass at code generation
  • Change all database interactions to auto kebab-case from and snake-case to db
  • Fix duplicate body-parser middleware in template
  • Add csrf-protection
  • Set path and http-only on set-cookie middleware
  • Marshal/unmarshal for cookie session serialization
  • Escape html in attributes
  • Add second pass at route code generation