Skip to content

Latest commit

 

History

History
133 lines (89 loc) · 3.17 KB

File metadata and controls

133 lines (89 loc) · 3.17 KB

druid-query-toolkit

1.2.2

Patch Changes

  • e780b81: inflateDatesForIndexes can deal with bigint

1.2.1

Patch Changes

  • 9a4ff78: Bump node to 20.19.5
  • 13d4a6d: Add npm trusted publishing support for automated releases via OIDC

1.2.0

Minor Changes

  • b94b2c1: - Switch to AbortSignal in query executor
    • Use a single object parameter in query executor

1.1.5

Patch Changes

  • d6e628c: Fixed spacing when removing SET statements

1.1.4

Patch Changes

  • d3f9a75: Fix rouge new line being added when there is no context

1.1.3

Patch Changes

  • a7e1b22: Add flatten method and extend filterAnd for nested expressions

1.1.2

Patch Changes

  • 77ba601: Fixing arguments of SqlFunction.timeShift

1.1.1

Patch Changes

  • 76d8d4d: Propogate context in case of an alias also

1.1.0

Minor Changes

  • 30dec4b: Allow parsing SET statements in an otherwise unparsable string and more integrations"

1.0.4

Patch Changes

  • 6e40a00: Added support for SET syntax"

1.0.3

Patch Changes

  • 6d71e89: Add changeDecorator method to SqlQuery

1.0.2

Patch Changes

  • e68c6a9: Do not unwrap AND in parens when not flattening

1.0.1

Patch Changes

  • 740a5f6: More filter patterns supported

1.0.0

Major Changes

  • 6704028: Promote to version 1.0.0

    Changes since 0.19.1:

    • Time relative pattern filter now accepts an origin and correctly handles timezones
    • Added docs and cleaned up names
    • Fixed handling of null values in values filter patterns
    • Added licenses
    • Added author to pachage.json
    • Added aggregator to segment metadata decoding
    • Fix package.json main/module/types fields
    • Make @druid-toolkit/query CJS only again
    • Improve indentation in formatting
    • Fix default spaces around EXTEND
    • Added support for IS NOT DISTINCT FROM
    • Mark spacing and keywords as readonly
    • Allow join clause to accept join conditions with either USING or ON syntax
    • Add support for array types
    • Added isArray and parsing
    • Fix type-o in the word double
    • Expanded addSelect
    • Better group by column detection
    • Switch to peggy+ts-pegjs to generate parser
    • fix location of UNION ALL in query stringification
    • Added alwaysUseCurrentTimestamp to WhereTimeClauseEditor and inlineMaxDataTime to SqlQuery
    • Don't try to convert nulls into dates
    • Rolled back prettier
    • better parsing of groupby clause
    • Allow anchor timestamp as part of a relative pattern
    • allow anchorTimestamp in filter pattern
    • Added startBound and endBound to time-relative filter patterns
    • Make it so that ROW does not show up in IN
    • support for flipped time ranges
    • Allow parsing of INSERT INTO EXTERN
    • Allow addWhere and addHaving to be called empty
    • Fixed issue with get by lobel
    • Parsing for JSON_VALUE(... RETURNING ...)
    • Parse PARTITION BY in window functions
    • Added setAlias route method
    • Better error message for truncated results
    • Make addWhere not change WHERE to TRUE
    • Add support for NATURAL keyword
    • Parse RANGE/ROWS in window functions
    • COUNT(*) could have a window also
    • Added defaultQueryContext
    • Fix first table finder
    • Handle Infinity in changeLimitValue