Skip to content

version 0.15.0 - Ouagadougou

Choose a tag to compare

@nyamsprod nyamsprod released this 09 Sep 20:22
· 18 commits to main since this release

Added

  • BC BREAK: Rename stack to stack_call
  • BC BREAK: Rename stack_dump to stack_cdump
  • BC BREAK: Rename stack_dd to stack_cdd
  • BC BREAK: Rename stack_metrics to stack_bench
  • BC BREAK: Rename stack_mdump to stack_bdump
  • BC BREAK: Rename stack_mdd to stack_bdd
  • BC BREAK: Rename Stack::execute to Stack::call
  • BC BREAK: Rename Stack::metrics to Stack::benchmark
  • BC BREAK: Rename Stack::dumpMetrics to Stack::dumpBenchmark
  • BC BREAK: Rename Stack::ddMetrics to Stack::ddBenchmark
  • Added AggregatedMetrics to distinguish raw and calculated metrics
  • Added Report::row to make the Report public API consistent
  • Added Report::column to have a single source of truth for statistics generation
  • Added OtlExporter to export data to an Open Telemetry server
  • Added MetricType Enum to list possible metrics supported by the package
  • Added Profiler missing aggregated related methods.
  • Added MetricsAssertions missing aggregation methods preset
  • Added CallbackDumper to simplify dd implementation
  • Added the Renderer interface
  • Added the StackMetadata renderer to enable rendering the stack_* metadata

Fixed

  • BC BREAK: Statistics no longer exposes its main unit it now exposes its type using the MetricType enum.
  • Timeline::dump and Timeline::dd can take an optional filter callable.
  • ViewExporter no longer needs or requires the Renderer which is removed
  • BC BREAK: Move all the classes related to export in their own namespace Bakame\Stackwatch\Exporter

Deprecated

  • None

Remove

  • Removed all Metrics static method related to aggregated data. use Report::metrics() instead.
  • Removed Metrics::add method
  • Removed the internal Renderer class
  • BC BREAK: Remove access to Report properties (they are made private to improve the public API)