Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Releases: bakame-php/period-visualizer

version 0.6.0

20 Sep 21:05
Compare
Choose a tag to compare
  • The OutputWriter is now a property of GanttChartConfig
  • Renamed Graph to Chart
  • Renamed Graph::display to Chart::display
  • Renamed ConsoleGraph to GanttChart
  • Renamed ConsoleConfig to GanttChartConfig
  • Adding Dataset::appendAll
  • Adding GanttChartConfig::leftMargin
  • Adding GanttChartConfig::withLeftMargin
  • Improved GanttChart implementation
  • Improved ConsoleOutput implementation
  • Changed OutputWriter::writeln signature

version 0.5.1

28 Jul 13:24
Compare
Choose a tag to compare
  • Bug fix Dataset::labelMaxLength when Dataset is empty
  • Bug fix ConsoleGraph::display when Dataset only contains empty Sequence instances.
  • Improve ConsoleGraph implementation.

version 0.5.0

25 Jul 10:38
Compare
Choose a tag to compare
  • Moved all interfaces into a Contract dedicated namespace
  • Added the Dataset class.
  • Added the Graph interface and the ConsoleGraph implementation.
  • Added the OutputWriter interface and the ConsoleOutput implementation, ConsoleOutput no longer relies on echo
  • Added support for label and graph gutter in ConsoleConfig class
  • Added support for label alignment in ConsoleConfig class
  • Moved graph features out of the ConsoleOutput class to ConsoleGraph
  • Merge the Matrix class feature into the ConsoleGraph and removed it
  • Renamed the LabelGenerator implementing classes and moved them in the main namespace
  • Removed the Viewer class

version 0.4.0

17 Jun 20:21
Compare
Choose a tag to compare
  • Added support for boundary type in:
    • Added Matrix::TOKEN_* public constants
    • Changed Matrix::build returned array content
    • Added the following ConsoleConfig methods:
      • ConsoleConfig::endIncluded
      • ConsoleConfig::withEndIncluded
      • ConsoleConfig::startExcluded
      • ConsoleConfig::withStartIncluded
    • Renamed the following ConsoleConfig methods:
      • ConsoleConfig::getTail with ConsoleConfig::startIncluded
      • ConsoleConfig::withTead with ConsoleConfig::withEndExcluded
      • ConsoleConfig::getHead with ConsoleConfig::endExcluded
      • ConsoleConfig::withHead with ConsoleConfig::withEndExcluded
  • Improve Package UX/DX
    • Removed the get prefix from all ConsoleConfig getter methods
    • Changed the suffix from all LabelGenerator classes from Type to Generator
    • Changed LabelGenerator::getLabels method name to LabelGenerator::generate
    • Added LabelGenerator::format method to format a single label
    • Made ConsoleOutput optional in the Viewer constructor method
    • Added Viewer::unions
    • Added Viewer::setLabelGenerator and Viewer::setOutput are chainable
    • Changed arguments order in Viewer::__construct
    • Added $prefix and $suffix parameters to the AffixGenerator

version 0.3.1

21 Dec 11:11
Compare
Choose a tag to compare
  • Enforces strict types on the library

version 0.3.0

21 Dec 10:34
Compare
Choose a tag to compare
  • Removed the OutputInterface.
  • Made ConsoleOutput::render private only ConsoleOutput::display stays public.
  • Improve Matrix code.

version 0.2.2

20 Dec 10:27
Compare
Choose a tag to compare
  • Bug Fix ConsoleOutput::render method. No newline character must be added at the end of the line.

version 0.2.1

20 Dec 09:35
Compare
Choose a tag to compare
  • Bug Fix ConsoleOutput::render method. Once the matrix is created we just use it and we non longer rely on the submitted data.

version 0.2.0

20 Dec 09:24
Compare
Choose a tag to compare
  • The OutputInterface::render and the OutputInterface::display array signature has changed.

The array format is that of a tuple where:
- the first value represents the period or the sequence label
- the second value represents the period or the sequence

  • The Matrix and the Viewer class are updated accordingly with refactoring to improve the calculation speed.
  • The ConsoleConfig accepts a default color keywords to tell that the output should fellow the default colors from the console.
  • The default color keyword replaces the white color keyword as the default keyword used if no color is specified.

version 0.1.0

19 Dec 12:25
Compare
Choose a tag to compare

Initial release