Skip to content

Releases: uwdata/arquero

v4.8.2

11 Jun 16:13
Compare
Choose a tag to compare

Changes from v4.8.1:

  • Fix spread() column generation bug. (#209)

v4.8.1

07 Jun 22:03
Compare
Choose a tag to compare

Changes from v4.8.0:

  • Fix selection helper return typings. (#203)
  • Update dependencies, CI node versions.

v4.8.0

28 May 08:38
Compare
Choose a tag to compare

Changes from v4.7.2:

  • Add escape() expression helper to "escape" JavaScript functions and values from internal parsing.
  • Add names() selection helper for renaming columns by index. (#195)
  • Add support for array literals and escaped values in expression parsing.
  • Fix rollup() output early exit condition to support literal expressions without aggregate operations.
  • Improve TypeScript types. (#182)

Description

This version adds the aq.escape() expression helper: this allows users to pass in JavaScript functions that are invoked as-is to process row objects: no internal parsing and rewriting, thus supporting closures! The helper can be applied anywhere Arquero accepts single-table table expressions, though note that it sidesteps internal optimizations and breaks portability (serialization) of Arquero queries to worker threads or other data sources. The escape() function also accepts literal values, for example allowing Date or Map instances to be assigned directly as a column values.

This version also adds the aq.names() selection helper that makes it easier to select and rename columns based on their integer column indices.

v4.7.2

20 May 13:33
Compare
Choose a tag to compare

Changes from v4.7.1:

  • Improve JSDoc comments and typings. (#125)

v4.7.1

20 May 12:17
Compare
Choose a tag to compare

Changes from v4.7.0:

  • Fix explicit parser lookup with autoType false. (#184)
  • Fix TypeScript type errors for op helper methods. (#182)

v4.7.0

18 May 14:27
Compare
Choose a tag to compare

Changes from v4.6.0:

  • Add table transform() method to allow lightweight application of custom transformations.
  • Add agg() helper method as a shorthand for computing a single aggregate value.
  • Add default 100 row limit to toHTML() and toMarkdown(). (#175)
  • Update to toHTML() to align column header similarly to the column body. (#176)

v4.6.0

12 May 20:56
Compare
Choose a tag to compare

Changes from v4.5.0:

v4.5.0

09 May 21:26
Compare
Choose a tag to compare

Changes from v4.4.0:

  • Add decimal separator option to fromCSV(). (#160)
  • Add table object() method to extract individual row objects.
  • Add table values() method to return an iterator over column values, respecting filter and orderby criteria.
  • Add table array() method to return a column value array, respecting filter and orderby criteria.
  • Add more detailed messages for variable and function lookup errors.
  • Fix error message for when no window functions are allowed.
  • Refactor expression parser error message handler.
  • Deprecate table columnArray() method in favor of table array() method.

v4.4.0

28 Apr 11:02
Compare
Choose a tag to compare

Changes from v4.3.0:

  • Add array constructor argument to table columnArray() method.
  • Update dependencies, including Apache Arrow v4. (thanks @domoritz!)

v4.3.0

23 Apr 14:33
Compare
Choose a tag to compare

Changes from v4.2.0: