JavaScript & React libraryChangelog

Changelog

2.4.1

cosmograph

  • Guard Type Legend Initialization
  • Handle annotation text clicks
  • Fix Data Update Races
  • Restore Annotation Clicks
  • Declare addToSelection on ICosmograph.selectPoints
  • Add Annotation Arrows
  • Annotations component
  • Rename customLabels to annotations
  • Fix column autodetect for lat / lon datasets
  • Fix selected data render table readiness
  • Configurable Point Label placement
  • Remove hardcoded inline cluster label styles
  • Add fixed color domains
  • Fix cluster label styling
  • Update AI docs
  • Refresh graph summaries and labels
  • Update example to use direct data processing
  • Add direct DuckDB data processing
  • Adds configurable quantile bounds via quantileExtent

general

  • Fix silent graph-build cancellation race
  • Distribute AI Assets by Package

react

  • Add Prepared Data Hook

react | utils

  • Fix function comparison

2.3.2

  • Handle _isRemoved state

timeline

  • Better tick placement logic
  • Better handle Year and Numeric data

2.3.1

cosmograph

  • Fix path alias resolution for CSS files

2.3.0

cosmograph

  • JSON schemas for config interfaces
  • Configurable cluster labels limit; fixes
  • Cache sanitized labels for better performance
  • Cache images in IndexedDB
  • Preserve aspect ratio ot loaded images
  • Keep image size aligned with point size
  • Load images concurrently
  • Tweak shapes and links handling utils
  • Tweak initial point spread based on their count
  • Change pointSamplingDistance to 100
  • Support for point shapes and images

fix

  • Prefetch images from cache before applying point shapes
  • Don’t call cosmos render after setImageData to avoid hover point reset
  • Use input point sizes for images on the first graph build

general

  • Experimental AI docs
  • Better error reporting
  • Fix for hidePointShapesForLoadedImages while images are loading
  • Better formatting for date labels
  • Fix label colors update after point color change
  • Tweak pointGreyoutOpacity
  • Properly reset image loading on graph destroy or update
  • Cache images; loading optimizations; Refactor
  • Abort image loading then column gets unselected

2.2.1

general

  • Restore support for config options and a callback removed in cosmos.gl 3.0

2.2.0

cosmograph

  • Add getSampledLinks and getSampledLinkPositionsMap methods
  • Fix incorrect method call in screenToSpacePosition
  • Reduce default space size to 4096 for better iOS support
  • Add setZoomTransformByPointPositions method to set zoom based on point positions
  • Enhance onRectSelected callback to include point indices
  • Update getPointIndicesByExactValues to handle null values
  • Update @interacta/css-labels to version 0.3.0
  • Fix resetSelectionOnEmptyCanvasClick
  • Fix table name references in link retrieval methods
  • Enhance captureScreenshot method to support scaling

cosmograph > bars

  • Multi-selection support, animation and sorting controls

cosmograph > labels

  • Fix weight resolution logic for points with pointLabelWeightBy
  • Update @interacta/css-labels to 0.4.0 and sanitize label content with DOMPurify to prevent XSS
  • Updated label handling for focused points
  • Update select all button text and adjust background colors
  • Fix disabled state handling for accessor button
  • Fix ‘all fields’ result selection didin’t apply zoom and point selection
  • Added zoom/focus on select configuration props

general

  • Update “@cosmos.gl/graph” to “3.0.0-beta.6”
  • Update “@cosmos.gl/graph” to “3.0.0-beta.5” and “@interacta/css-labels” to “0.6.0”
  • Update “@cosmos.gl/graph” to “3.0.0-beta.4”
  • Update “@cosmos.gl/graph” to “3.0.0-beta.2”

2.1.0

cosmograph

  • Remove deprecated methods
  • Always update links on graph rebuild if they exist, not just when they changed

cosmograph > cosmographselectioncomponent

  • Set active state before reset to prevent queries with invalid accessor

cosmograph > bars+timeline+histogram

  • Add initialSelection property

cosmograph > data kit

  • Allow including all columns using ['*'] for pointIncludeColumnsandlinkIncludeColumns`

cosmograph > labels

  • Add showSelectedLabels option to control visibility of selected point labels during filtering
  • Added event listener for pointSizeScaleUpdated to trigger label rendering based on point size scale updates
  • Improve rendering performance and new props for better label customization
  • Update labels visibility logic in some conditions

cosmograph > layout

  • Fix randomSeed prop

cosmograph > search

  • Add selectConnectedPoints option to configuration
  • Update accessor handling and improve search field logic
  • Fix css variables for footer

cosmograph > timeline

  • Fixed default formatter that caused incorrect parsing for some dates

general

  • Update “@cosmos.gl/graph” to “2.6.4”
  • Sync styles for search input and suggestions

ui > timeline

  • Add support for symlog scale in timeline configuration

2.0.1

cosmograph

  • Improved error handling

cosmograph > cosmographsizelegend

  • Fixed legend for LinkWidthStrategy.Count when no accessor provided

cosmograph > data kit

  • New createMissingPoints prop for preparing links configuration

cosmograph > histogram & timeline

  • Fix setSelection method
  • Add useQuantiles option for quantized extent limitation

cosmograph > histogram + timeline

  • Include outliers into the edge selections when useQuantiles is true

cosmograph > search

  • Remove multifieldSearch option and implement “all fields” option

cosmograph > search & filtering

  • Support array (VARCHAR[]) data handling

cosmograph > timeline

  • Fix fetchData method

general

  • Update README.md