Skip to content

v0.4.0: More views and simplified setup

Choose a tag to compare

@tessarin tessarin released this 20 Nov 16:55
· 54 commits to main since this release
14d41a4

Changes

  • Added a view for generating JSON responses.
  • Added a view for generating plain text responses.
  • Views can now modify Plack::Responses to configure them as needed.
  • Introduced a dedicated setup subroutine, enabling delayed initialization rather than compile-time setup.
  • The main package now includes a default starting point, reducing the amount of required setup code.

Fixes

  • HTML view is now a descendant of the base view class.
  • Corrected typos in the documentation.