Skip to content

1.0.0-beta.95 Introducing gzip/deflate support for input data

Choose a tag to compare

@lahmatiy lahmatiy released this 16 Apr 13:45
  • Added built-in support for loading gzip and deflate encoded data. Encoding is detected by inspecting the payload header, enabling automatic decoding prior to standard data decoding or parsing.
  • Added compression field in DatasetResource object
  • Added useAcceptForFilePicker option to upload extension, defaulting to false. Discovery.js supports a wide range of data formats and encodings, relying on file content rather than extensions. Since many supported files have extensions not effectively handled by the accept attribute (due to its limited flexibility and inability to inspect file content) using accept often causes more issues than it solves, and is now disabled by default.
  • Added support for footer option in cols definition of table view (see Setup footer cell display)
  • Fixed displaying object values in the value column of table view, it was unexpandable (no details) since refactoring in 1.0.0-beta.85
  • Fixed sidebar re-rendering on page state changes
  • Added debouce option for content-filter view (#108)
  • Extended ViewModel#view.renderList() method to take options renderList(container, itemConfig, data, context, offset, options), options is:
    type RenderListOptions = {
        limit: number | false;
        moreContainer: HTMLElement;
        onSliceRender: (restCount: number, offset: number, limit: number, totalCount: number) => void
    }