Skip to content

v5.1.0

Choose a tag to compare

@rfns rfns released this 23 Sep 11:59
· 10 commits to master since this release

FEATURES

  • Added construtor parameters include and exclude to filter which type of error should be reported.
  • Added router method OnExceptionCatch to make it possible to overwrite internal error messages and the exception itself. This won't affect the exception send to the reporter.
  • Added %frontier.Parameters object in order to separate context-wide settings.
  • Added JSON output indentation parameter %frontier.Parameters.INDENTSIZE.
  • Added parameter %frontier.Parameters.MAXIMUMDEPTH to allow the router to define the maximum depth an object can be marshalled to. Defaults to 7, which should be enough for most of cases.
  • Added parameter %frontier.Parameters.DIRECTWRITE, which takes the place of %frontier.DirectWrite. Although the old parameter is kept for compatibility, it should not be used anymore.
  • Added %frontier.OutputDevice to make it possible to recover writing capability inside dispatchable methods.

IMPROVEMENTS

  • Improved cyclic reference filtering when marshalling objects.
  • Added extension normalization when handling uploads, this makes the extension filter usage easier to adapt.
  • Disabled writing inside dispatchable methods by using a NULL device.
  • Improved list detection when serializing it from a SQL result.
  • Improved rendering speed when using DirectWrite by mixing serialization and unmarshalling when required.

FIXES

  • Fixed an error on validating invalid ids when marshalling objects.
  • Fixes serialization based on routine indirection.

CHORE

  • Fixed somes mistakes in the documentation.