Playsonify Versions Save

An opinionated micro-framework to help you build practical JSON APIs with Play Framework (or akka-http)

2.0.0

5 years ago

This is a major release with several breaking changes, while the idea is the same, the project has changed a lot.

  • Update mill to 0.2.8
  • The ApplicationError doesn't depend on play anymore
  • The playsonify-core module is added, it contains the common classes for all the modules, depending only on scalactic.
  • The playsonify-play module is added, it contains the classes that depend on play-framework
  • The playsonifytest module is renamed to playsonify-play-test
  • Add experimental support for akka-http
  • Add the playsonify-sql module.

1.2.0

6 years ago
  • Added FutureListOps to FutureOr implicits.
  • Added FieldOrderingParser.
  • Added the PaginatedQuery and PaginatedResult models.
  • Added the PaginatedQuery and PaginatedResult models.
  • Added the WrappedString, WrappedInt and WrappedLong value classes.
  • Updated mill to 0.2.0.

1.1.0

6 years ago

Changes

  • Improved the ApplicationError, now it is mandatory to override the toPublicErrorList method to avoid having errors that can't be rendered, this increases the type-safety.
  • You are free to choose to map a ServerError to a PublicError, there are some scenarios where this is useful.
  • An Exception is now optional while defining a ServerError, useful when forwarding an error coming from another server.
  • The auth type from AbstractAuthenticatorService is now covariant, useful when you don't need to authenticate requests.
  • ApplicationErrorMapper has been removed!

1.0.0

6 years ago

Initial public version.