Skip to content

sebastian/exporter 8.2.0

Choose a tag to compare

@github-actions github-actions released this 07 Aug 07:20
· 36 commits to main since this release
Immutable release. Only release title and notes can be modified.
8.2.0
da25224

Added

  • ObjectExporter interface, ObjectExporterChain, and ExportContext for customizing how objects are exported (an object exporter can be passed to Exporter's constructor and is consulted before the default representation of an object is used)
  • Exporter::shortenedExport() and Exporter::shortenedRecursiveExport() use the representation provided by an object exporter as well; it is collapsed to a single line and shortened when it is longer than the configured maximum length
  • Exporter::hasCustomRepresentationFor() for checking whether an object exporter provides the representation for an object