Skip to content

Releases: sqonk/phext-datakit

1.3.0

28 Dec 02:20
Compare
Choose a tag to compare
  • Further type hinting.
  • Compliance with PHPStan code analysis.
  • New rolling window methods added to Vector, DataFrame, PackedSequence and PackedArray: Continually apply a callback to a moving fixed window on the dataset.
  • Bug fixes.

1.2.0

09 Oct 07:16
Compare
Choose a tag to compare
  • Preliminary compatibility with PHP 8.2
  • CSVImporter class, that provides an object orientated approach to working with CSV files.
  • Importer class now uses CSVImporter as it's underlying engine for all of its CSV methods.
  • DataFrame round() now converts datapoints to a string in order to maintain the specified precision.
  • Increased type hints
  • Now requires Plotlib 1.1.1 or later.

1.1.0

02 Nov 13:13
Compare
Choose a tag to compare
  • Dropped compatibility with PHP 7.3 and 7.4
  • Compatible with PHP 8.1 (as of RC5)
  • Upped PHEXT-core minimum version to 1.1
  • Upped PHEXT-plotlib minimum version to 1.1
  • Improved type hinting

1.0.0

04 Feb 01:24
Compare
Choose a tag to compare

Current state good enough for a 1.0 release. This release is functionally the same as 0.6.4 other than it now requires PlotLib 1.0 or later.

0.6.4

03 Feb 11:03
Compare
Choose a tag to compare
  • New replace() method for DataFrame. Replace the entire value set of a column with a new set of values.
  • New method splitby() for Vector. Hooks into equivilent array method in core lib.

** Now requires PHEXT core 1.0.4 as a minimum.

0.6.3

20 Jan 06:35
Compare
Choose a tag to compare
  • Bug fixes.
  • Improvements to versatility for SMA and EMA classes (implements ArrayAccess, Countable and Iterable).
  • Both SMA and EMA now maintain their history of averages that can be recalled at any time.
  • Return types on PackedArray/PackedSequence.
  • Ability to run a traversal with DOMScraper using a generator.

0.6.2

12 Jan 07:52
Compare
Choose a tag to compare
  • Now requires PlotLib 0.5 or later.
  • Provides unit tests for charting methods.
  • Charting methods box() and hist() of DataFrame now have standardised GD font being used.
  • Fixed incorrect return type against box() method of DataFrame.

Improvements and Maintenance

25 Dec 23:41
Compare
Choose a tag to compare
  • Improved examples and documentation.
  • DataFrame round() method improved to accept a specific set of columns to operate on.
  • DataFrame support for import of vertical datasets where data array is an associative array of column headers and column values.
  • Return type added to various methods where the result is constant for DataFrame and Vector.
  • Minor improvements to some tests for DataFrame.

New Classes, PHP 8 Tested and Improvements

10 Dec 00:59
Compare
Choose a tag to compare
  • New CSV class for producing CSV documents.
  • PHP 8 tested.
  • Vector, DataFrame and GroupedDataFrame all declared final. They are not designed with subclassing in mind and may produce unpredictable behaviour if done so.
  • Some exceptions have been changed to non-critical user-level warnings where it makes sense to allow execution to continue.
  • Other minor adjustments.

Maintenance Release

30 Oct 05:22
Compare
Choose a tag to compare
  • Vector ->get() can now take a callback as the key, allowing customised filtering to locate a specific item, designed for multi-dimensional vectors or vectors containing objects.
  • Bug fix to the sorting of strings within a PackedArray.