Releases: uwdata/mosaic
Releases · uwdata/mosaic
v0.20.1
v0.20.0
Changelog
- Add
JoinNode
SQL AST node type. - Add
join
,cross_join
,asof_join
, andpositional_join
helper functions. - Add
from
helper method for creating table references for query from and join contexts. - Add SQL code generation visitors, enabling future support for other DB dialects.
- Add
CUSTOM
AST node type with pass through of SQL codegen visitor. - Update vgplot
bin
transform to use aCUSTOM
node type. - Use
DESC
rather thanDESCRIBE
for broader compatibility.
Full Changelog: v0.19.1...v0.20.0
v0.19.1
Changelog
- Update flechette dependency to fix unsafe reference to
SharedArrayBuffer
.
Full Changelog: v0.19.0...v0.19.1
v0.19.0
Changelog
- Add
caseSensitive
option to selectionclauseMatch
method. - Add
clauseMatchAny
method for text matching over multiple columns. - Add more set operations (union by name, intersect all, etc). (thanks @kwonoh)
- Add TIMESTAMP WITH TIME ZONE support to Rust server. (thanks @kwonoh)
- Add DuckDB Go server, including production deployment options. (thanks @derekperkins)
- Add list_contains, list_has_all, list_has_any functions (thanks @derekperkins)
- Add list, unnest SQL functions.
- Add OPFS support in DuckDBConfig (thanks @derekperkins)
- Add dataframe interoperability to
MosaicWidget
usingnarwhals
(thanks @peter-gy) - Fix query consolidation to preserve DISTINCT queries.
- Fix
Query.sample
to acceptnull
orundefined
values to remove sample settings. - Fix
table
input to usenull
clause value (not empty array) for empty selections. - Fix
errorbarY
mark method to use explicit type. - Fix empty data handling in grid utilities and raster marks.
- Fix coordinatory
query
method types to get proper table return type. - Fix client to disable before destroy. (thanks @severo)
- Fix makeClient types re:
destroy
method. (thanks @severo) - Fix selection
predicate
to support null or undefined client. (thanks @donghaoren) - Fix selection clause source types to avoid unnecessary casts. (thanks @donghaoren)
- Fix typo in selection documentation. (thanks @declann)
- Update selection clause method type definitions.
- Update dependencies.
New Contributors
- @declann made their first contribution in #850
- @severo made their first contribution in #865
- @donghaoren made their first contribution in #873
Full Changelog: v0.18.0...v0.19.0
v0.18.0
Changelog:
- Port
mosaic-core
andmosaic-sql
packages to TypeScript. - Expose database connector classes (
SocketConnector
,DuckDBWasmConnector
), deprecate initializer methods (socketConnector
,wasmConnector
). - Reorganize monorepo structure, grouping related packages into subfolders.
- Fix inclusion of type definitions in published packages.
- Update dependencies.
Full Changelog: v0.17.0...v0.18.0
v0.17.0
Changelog:
- Breaking: Drop
rows
andrange
methods from SQL aggregate and window function AST nodes, instead use newframe
method to set window frame leveraging newWindowFrame
AST node support. - Breaking: Simplify server API, remove support for saving and loading data bundles.
- Add more expressive SQL AST node for
WindowFrame
. - Add SQL AST support for aggregate and window function argument
ORDER BY
. - Add SQL AST helpers for time intervals:
years
,months
,days
,hours
,minutes
,seconds
,milliseconds
,microseconds
. - Add support for
count_star
aggregate function (used internally by DuckDB). - Add SQL AST
sample
support toFromClause
node. - Add SQL AST support for
LIMIT
andOFFSET
clause expressions (not just constant numbers). - Add SQL AST support for percentage-based
LIMIT
clauses. - Add SQL AST support for
COLLATE
expressions. - Add options type hint for SQL AST
Verbatim
node. - Add improved support for cloning SQL AST nodes.
- Add declarative spec support for some SQL AST updates.
- Add new
window-frame
example test specification. - Update TypeScript setup, unify config, and export types from all packages.
- Update docs to load data from Cloudflare R2.
- Update vitest packages config.
- Update dependencies.
Full Changelog: v0.16.2...v0.17.0
v0.16.2
Changelog
- Fix SQL
rewrite
helper so that it does not mutate input.
Full Changelog: v0.16.1...v0.16.2
v0.16.1
Changelog
- Breaking: Modify Rest and Socket connector methods to accept an options object, not a URI string. The server
uri
is now passed as an option instead. - Add
ipc
option to connectors to pass Flechette extraction options for Arrow IPC decoding. - Add types for database connectors, move to class-based implementations.
- Add types for inputs package.
- Add DuckDB
ENUM
type interpretion support. (thanks @kwonoh!) - Fix Param mutation issue in Jupyter widget.
- Fix some Mosaic client types. (thanks @kwonoh!)
- Update lint rules, fix violations.
- Update dependencies.
New Contributors
- @derekperkins made their first contribution in #769
Full Changelog: v0.16.0...v0.16.1
v0.15.0
Highlights
- This version adds the ability to selectively enable/disable clients.
- It also simplifies and streamlines the client lifecycle to use a single
prepare
call as part of client initialization. It includes the breaking change of removing the Mosaic clientfield
andfieldInfo
lifecycle methods. Instead of these methods, clients can directly call mosaic-core'squeryFieldInfo
within a client'sprepare
lifecycle method.
Changelog
- Breaking: Drop client
fields
andfieldInfo
lifecycle methods, rely solely onprepare
instead. ThequeryFieldInfo
can be used instead to lookup field info directly; it uses the same types as the removed methods. - Add client
enabled
property. Whenenabled
is set to false, the client will not initialize nor respond to query requests and selection updates. This setting can improve performance, for example by suppressing updates to off-screen interface components. Whenenabled
is set to true, any pending initialization or query requests will then proceed. - Add
enabled
andfilterStable
options tomakeClient
helper utility. - Update inputs and plot package to call
queryFieldInfo
within the clientprepare
method. - Refactor initialization logic between coordinator and client.
- Add tests for client
enabled
property.
Full Changelog: v0.14.1...v0.15.0
v0.14.1
Changelog
- Add exports for histogram binning utility methods in the sql package.
- Fix preaggregator to abort if active clause is null.
Full Changelog: v0.14.0...v0.14.1