Skip to content

Releases: Lemon-Framework/Lemon

3.5.0

09 Sep 17:27
Compare
Choose a tag to compare

Added

  • Session testing
  • >>>= as alias to then in pipe (epic haskell moment)
  • legendary is_user_podvodnik function

Changed

  • Response Zest to ResponseFactory
  • Session contract

Have fun dudes

3.4.2

31 Aug 09:10
Compare
Choose a tag to compare

Fix

  • TestCase now creates application only once for each test in setUp, and is accessible by $this->application
  • Reporter now doesnt show project directory prefix in stacktrace

3.4.1

30 Aug 11:08
Compare
Choose a tag to compare

Fix

  • Escaping of link attributes in Juice. (Please if you use echo tags in your templates update and remove compiled templates)
  • Reporter warning reporting

3.4.0

22 Aug 12:14
Compare
Choose a tag to compare

Good afternoon! How you doing? I hope you are doing fine.

Added

  • Contracts, this means that every service has its interface so testing is way better now
  • TestCase for phpunit which makes website testing possible.

Have fun dudes! πŸ‹

3.3.0

18 Aug 21:03
Compare
Choose a tag to compare

Good evening!

Added

  • response() helper which is equivalent to Response::resolve()
  • __toString method on Response
  • Response::cookies() which returns all cookies

Removes

  • optional parts in dynamic routing
  • ClosureSerializer

Changes

  • middlewares are now executed after route callback and they can access their response by injecting \Lemon\Http\Response

Fixes

  • Container::call() now actually passes arguments by their name

Most of these updates were because of Squeezer and we're not finished yet.

Good night and have fun. πŸ‹

3.2.0

17 Aug 13:55
Compare
Choose a tag to compare

Adds

  • Haskell-like Maybe type
  • ClosureSerializer which returns code of given closure
  • Route::controller()

Enjoy! πŸ‹

3.1.1

15 Aug 16:19
Compare
Choose a tag to compare

Fix

  • csrf on different methods
  • validation of required values
  • sqlite file path

Adds

  • Env::file()

3.1.0

14 Aug 17:43
Compare
Choose a tag to compare

Added

  • better controller support (now you can do [Controller::class, 'method'], instead of [new Controler(), 'method'])
  • help command

Changed

  • Lifecycle to Application
  • container services can be overwritten

Fixed

  • csrf middleware (now supports all methods and not just POST/PUT)
  • template:clear description

3.0.2

13 Aug 11:47
Compare
Choose a tag to compare

Fix

  • maintenance mode

Removes

  • kernel config

3.0.1

04 Aug 12:05
Compare
Choose a tag to compare

3.0.1 - Bug release

Fix

  • Juice layout
  • Route::template