Skip to content

Latest commit

 

History

History
79 lines (62 loc) · 3.51 KB

CHANGELOG.md

File metadata and controls

79 lines (62 loc) · 3.51 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.1.7] - 2023-02-24

Added

  • Pivot now emits update events on available-field-keys, row-field-keys and col-field-keys props
  • Pivot is now reactive to changes on available-field-keys, row-field-keys and col-field-keys props

[1.1.6] - 2021-11-25

Changed

  • value slot prop labels is now cached and should avoid updating component when a header is checked/unchecked.

[1.1.5] - 2021-09-13

Changed

  • Replaced value slot row/col slot props with labels slot prop This new slot prop gathers row/col and adds field data, allowing cell value rendering based on field keys.

[1.1.4] - 2021-08-20

Changed

  • Replaced custom HashTable with ManyKeysMap

Added

  • Pivot and PivotTable have a new reducerInitialValue prop to allow complex reducers (same API as JS Array.reduce())

[1.1.3] - 2021-08-19

Changed

  • Reduced build size by half by using lodash-es and importing only required functions

[1.1.2] - 2021-08-16

Nothing new - failed npm publish 1.1.1

[1.1.1] - 2021-08-16

Fixed

  • Replaced browser library export default with export function install
  • The project has no more lint issues

[1.1.0] - 2021-08-13

Changed

  • The project now uses vue-cli 3 instead of custom webpack config files
  • Pivot and PivotTable import changed: From: import Pivot from '@marketconnect/vue-pivot-table' To: import { Pivot } from '@click2buy/vue-pivot-table'

[1.0.0] - 2020-03-27

Changed

  • Pivot component fields, row-fields and col-fields props were replaced by a global fields prop and available-field-keys, row-field-keys, col-field-keys props to affect fields to each draggable area of the Pivot
  • Internal rows/cols now use Arrays instead of Objects with row-${index}/col-${index} keys, valuesHashTable keys were also updated
  • The value slot now receives row/col as Arrays

Added

  • Pivot: dropdown on fields to allow user configuration:
    • Field header attributes filter
    • Field values filter
  • Pivot field label slot

[0.3.0] - 2020-02-19

Added

  • This CHANGELOG file to help keeping up with latest updates
  • headerSlotsNames and footerSlotsNames props on fields definition. This allows to generate multiple levels of header/footer for a single field. For example, for a "Country" field you can generate a header with the name, and a second header with the flag of the country.

[0.2.1] - 2019-10-13

Added

  • col and row params to the value slot to allow value customization based on specific column/row

[0.1.0] - 2019-10-13

Added

  • computing slot to display user feedback while the aggregations for table values are running

Changed

  • Previous implementation was iterating over data multiple times, cols and rows are now computed at the same time as values (therefore iterating over data only once)
  • Values hash now uses a HashTable (class defined in a separate file), and the table keys are objects without required order
  • Cols and rows are now sorted in computed properties, and use thenBy.js which improves readability
  • Computations are done in a task created with setTimeout (kind of dirty but no alternative) which avoids blocking js execution and allows user feedback

[0.0.1] - 2018-09-06

First release