Lewati ke konten utama

What's new in version 2 (part 4/4)

· Satu menit membaca
Loïc Poullain
Creator of FoalTS. Software engineer.

Banner

This article presents the improvements to the session system in FoalTS version 2.

The new syntax can be used either with cookies or with the Authorization header. It adds the following new features:

  • query all sessions of a given user
  • query all connected users
  • force logout of a specific user
  • flash sessions
  • session ID regeneration
  • anonymous and authenticated sessions

FoalTS also simplifies stateful CSRF protection so that all it takes is one setting to enable it.

What's new in version 2 (part 2/4)

· Satu menit membaca
Loïc Poullain
Creator of FoalTS. Software engineer.

Banner

This article presents some improvements introduced in version 2 of FoalTS:

  • Configuration and type safety
  • Configuration and .env files (.env, .env.test, etc)
  • Available configuration file formats (JSON, YAML and JS)
  • OpenAPI schemas and validation

What's new in version 2 (part 1/4)

· Satu menit membaca
Loïc Poullain
Creator of FoalTS. Software engineer.

Banner

This article presents some improvements introduced in version 2 of FoalTS:

  • the new CLI commands
  • the service and application initialization
  • the AppController interface
  • custom error-handling & hook post functions
  • accessing file metadata during uploads