# @evidence-dev/sdk

## 4.0.2

### Patch Changes

- d5d698799: Update packages to resolve CVEs
- cc197d2e7: Remove references to Evidence Cloud

## 4.0.1

### Patch Changes

- 937971eaa: Package updates for CVEs. See https://github.com/evidence-dev/evidence/pull/3255
- aff6f859d: Package updates for CVEs. See https://github.com/evidence-dev/evidence/pull/3253
- Updated dependencies [937971eaa]
  - @evidence-dev/universal-sql@3.0.1

## 4.0.0

### Patch Changes

- Updated dependencies [b28f63f23]
  - @evidence-dev/universal-sql@3.0.0

## 3.0.10

### Patch Changes

- Updated dependencies [6d2782e64]
  - @evidence-dev/universal-sql@2.2.11

## 3.0.9

### Patch Changes

- 0fd376985: Handle malformed source directories when creating new sources
- 64486c669: bump vitest
- fc185c44c: Fix type errors
- Updated dependencies [64486c669]
- Updated dependencies [fc185c44c]
  - @evidence-dev/universal-sql@2.2.10

## 3.0.8

### Patch Changes

- 17eb07aff: Override nanoid to 3.3.8
- bcb0bf5dd: Update vite to 5.4.14
  - @evidence-dev/universal-sql@2.2.9

## 3.0.7

### Patch Changes

- 243229f46: Improve error logging for source queries
  - @evidence-dev/universal-sql@2.2.8

## 3.0.6

### Patch Changes

- c7547d83f: Fix: Ensure that length is loaded before we returned undefined for out of range indeces
  - @evidence-dev/universal-sql@2.2.7

## 3.0.5

### Patch Changes

- f81376743: Make query debug logs a little quieter
  - @evidence-dev/universal-sql@2.2.6

## 3.0.4

### Patch Changes

- 309e27b51: fix virtual/references fields in datasource plugin schemas
- 730321d90: Enable strict mode for sources
- Updated dependencies [f416a339d]
  - @evidence-dev/universal-sql@2.2.5

## 3.0.3

### Patch Changes

- 706963a42: Upgrade nanoid to 5.0.9
  - @evidence-dev/universal-sql@2.2.4

## 3.0.2

### Patch Changes

- 2efb8df3e: fix environment variable display in settings page
  - @evidence-dev/universal-sql@2.2.3

## 3.0.1

### Patch Changes

- 288f87ec6: evidence.plugins.yaml file is optional
  - @evidence-dev/universal-sql@2.2.2

## 3.0.0

### Major Changes

- e2c95d172: Theming & Appearances

### Patch Changes

- Updated dependencies [e2c95d172]
  - @evidence-dev/icons@1.0.2
  - @evidence-dev/universal-sql@2.2.1

## 2.0.0

### Patch Changes

- d2ce60038: bump duckdb to 1.29.0, fix bugs emerging from that
- Updated dependencies [d2ce60038]
  - @evidence-dev/universal-sql@2.2.0

## 1.5.1

### Patch Changes

- b5a096723: ignore non-strings in `addBasePath`
  - @evidence-dev/universal-sql@2.1.11

## 1.5.0

### Minor Changes

- b72e4a809: Remove plugin connector

### Patch Changes

- @evidence-dev/universal-sql@2.1.10

## 1.4.8

### Patch Changes

- 08923de11: Support Node 22: bump echarts and vite
  - @evidence-dev/universal-sql@2.1.9

## 1.4.7

### Patch Changes

- 00516897e: fix plugin resolution when hoisted by package managers
- 1de1eca52: Add deployment.basePath config option
  - @evidence-dev/universal-sql@2.1.8

## 1.4.6

### Patch Changes

- c82ba1516: Support digits 2-9 in source names
  - @evidence-dev/universal-sql@2.1.7

## 1.4.5

### Patch Changes

- b2126ac1a: add --profile flag to sdk-handled cli commands, add debugging profiling and logs to build-parquet
- Updated dependencies [b2126ac1a]
  - @evidence-dev/universal-sql@2.1.6

## 1.4.4

### Patch Changes

- a91b26fb3: Remove console.debug statement
- cbb8b16f4: Added logger export

## 1.4.3

### Patch Changes

- e0abcc56d: Avoid sharedPromise returned from fetch functions when running on the server
- e0abcc56d: Allow query to run fetch synchronously for SSR

## 1.4.2

### Patch Changes

- 952abbd16: Add config export
  getEvidenceConfig is no longer asynchronous
  getEvidenceConfig supports passing a custom schema
  Created unnestZodError util
- c8315da2e: Update svelte to resolve security vulnerability
- 06313c848: fix prerendered arrow files not loading
- Updated dependencies [bad1038c1]
  - @evidence-dev/telemetry@2.1.3

## 1.4.1

### Patch Changes

- 057558028: Fix an issue caused by QueryDebugger keeping queries in memory

## 1.4.0

### Minor Changes

- 999fffa38: Change input store interactions

### Patch Changes

- 999fffa38: Add diff utilities for tracking object store histories
- 999fffa38: Improve sdk debug behavior for better consistency
- 1e5e5f1da: Dont throw error if sources directory doesn't exist when running sources
- 67dbd116b: Adds support for Multiline strings as source config
  Moves snowflake private key to multi-line string field
- 999fffa38: Add more static events to Query

## 1.3.10

### Patch Changes

- f7253ad4b: Fix noisy "Failed to pre-render columns" log during build
- Updated dependencies [c0e1799e2]
  - @evidence-dev/universal-sql@2.1.5

## 1.3.9

### Patch Changes

- 8c2982505: Modify default search threshold behavior for Query
- Updated dependencies [8c2982505]
  - @evidence-dev/universal-sql@2.1.4

## 1.3.8

### Patch Changes

- 32035eeaa: Override fast-xml-parser version to >=4.4.1 to resolve vulnerability
- Updated dependencies [3572fcfd7]
- Updated dependencies [907efee29]
  - @evidence-dev/telemetry@2.1.2

## 1.3.7

### Patch Changes

- e50e7ed58: Pre-render column information using DESCRIBE query
- fbdfe2dd6: Fix sources HMR on Windows

## 1.3.6

### Patch Changes

- 3571b0b3a: Update scripts, fix build

## 1.3.5

### Patch Changes

- 08818477d: Export sharedPromise from utils/index.d.ts to get type when importing
- db8326efa: Minor changes to exports

## 1.3.4

### Patch Changes

- 20af8e6b6: Fix issue where datasources were not being removed from the manifest when they were removed from the project
- 55bc6a52b: - Creating new sources now updates the manifest file properly
  - .schema.json files are being created again
- e8a5d9964: Fix support for Advanced datasources

## 1.3.3

### Patch Changes

- 244c795be: Remove postinstall script

## 1.3.2

### Patch Changes

- b84ef07ac: Add buildOptions.batchSize to connection.yaml spec
- c14bc0a66: Added specific updates to manifest support
- c14bc0a66: Added concept of locatedFiles to manifest
- f15071659: Added plugins/datasources export to SDK
- d6b25b02c: Fix source query triggering HMR on the page
- 93a838ca2: Added legacy compatibility functionality to getEvidenceConfig
- df9159f2b: Added queryCreated event and query time fields to Query
- 3daa83ffc: Fixed issue with nested directories in sources
- 6cdedceb0: Remove db-orchestrator
- Updated dependencies [b84ef07ac]
- Updated dependencies [6cdedceb0]
  - @evidence-dev/universal-sql@2.1.3
  - @evidence-dev/telemetry@2.1.1
  - @evidence-dev/icons@1.0.1

## 1.3.1

### Patch Changes

- 8a0ba1414: User queries have comments and semicolons handled better

## 1.3.0

### Minor Changes

- 5705a7eb: Added Aggregation functions min, max, median

### Patch Changes

- dc8f01be: QueryBuilder functions now inherit several parent options

## 1.2.3-features-b.0

### Patch Changes

- dc8f01be2: QueryBuilder functions now inherit several parent options

## 1.2.2

### Patch Changes

- 4e3b925e: Fix JSON serialization

## 1.2.1

### Patch Changes

- 25ea0fe4: Query.createReactive now handles sync updates better
- e400971e: SetTrackProxy is now callable to ensure that function values don't break pages

## 1.2.0

### Minor Changes

- 1e1486f3: Added Query.createReactive as a canonical way to have reactive queries; converted preprocessor to leverage this
- 1e1486f3: Created new input proxy, added tests, converted to use this instead of existing in-place proxy + detection method

### Patch Changes

- 276718dd: Add /utils export and a batchup util
- 7f85e600: version bumps

## 1.1.1

### Patch Changes

- cb6db1a1: Fix for Query not respecting noResolve properly
  Skeleton slot for QueryLoad was not properly passing the "loaded" slot prop

## 1.1.0

### Minor Changes

- dc073f6e: Moved /query-store export to /usql

### Patch Changes

- a95db3d3: Move types to devDependencies
- Updated dependencies [7620a1af]
- Updated dependencies [a95db3d3]
  - @evidence-dev/universal-sql@2.1.2

## 1.0.2

### Patch Changes

- Updated dependencies [5e0bbf31]
  - @evidence-dev/universal-sql@2.1.1

## 1.0.1

### Patch Changes

- 73421976: upgrade svelte deps

## 1.0.0

### Patch Changes

- 21b95fc8: Update USQL version to workspace
- Updated dependencies [ca3e593b]
  - @evidence-dev/universal-sql@2.1.0

## 0.0.1

### Patch Changes

- 6338875: Adjusted types and tsconfig
- 02752bd: Implement evidence-sdk connections edit
- b55d8e2: Add \$evidence/build with BUILD_ID and BUILD_DATE exports
- 76c9332: Ensure directory recursion works properly for wrapped simple connectors
- ab01260: Enter edit mode for freshly created sources
- eda12cb: - Add file watcher for static assets
- 4192323: Remove svelte-preprocess dep
- 1dfaf71: Added basic support for layout plugins
- 1dfaf71: Refreshed the add cli command
- d036482: Internalized @evidence-dev/query-store
- ec88e75: - Don't die when app.d.ts does not exist in a headless project
  - Check dev deps for sdk package to avoid overwriting the version
  - Svelte compatibility (no sveltekit)
    - Do not ignore files not prefixed with +
    - Add new copy style
  - Better error messaging
  - Copy ./components into template
    - Layouts can also specify where components should be placed
  - Try to handle paths better
    - This still needs improvements, .evidence vs \_evidence, headless vs regular projects, adapter-node vs adapter-static all can cause problems.
  - Added a slide deck example layout + project
- 4bdbb48: Update log output for add command
- 956686c: Create \$evidence/config virtual export for accessing the current project's configuration
- 94bad8b: Initial Preview version
- 20fc555: Implemented Build command for evidence projects
- 6b69c23: Lost track
- 74d88ad: Remove expect error directive
- 41da2c3: Allow datasource connectors to return a table with url instead of rows to point to remote parquet file
- 76c9332: Remove unused \$evidence/queries/\* types
- 76c9332: Ensure that caching and filtering rules are respected when evaluating queries
- 76c9332: Handle uncaught exceptions / unhandled promise rejections
- 1dfaf71: Added a plugin installation command
- 76c9332: Remove filter field from layout plugin specification, needs re-evaluation and more planning
- c8319d8: Change projectRoot to attempt to auto-detect if we are running in a template
- 13800a3: Include a static directory when copying to template
- 76c9332: Remove the template directory before re-copying from the template package
- 76c9332: Improve error messages for a malformed component manifest
- a8f6aab: - No longer uses fork to create a child process
  - Can accept projects w/o a components directory now

## 0.0.1-preview.11

### Patch Changes

- b55d8e2: Add \$evidence/build with BUILD_ID and BUILD_DATE exports
- d036482: Internalized @evidence-dev/query-store
- 956686c: Create \$evidence/config virtual export for accessing the current project's configuration
- 20fc555: Implemented Build command for evidence projects
- 41da2c3: Allow datasource connectors to return a table with url instead of rows to point to remote parquet file

## 0.0.1-preview.10

### Patch Changes

- eda12cb: - Add file watcher for static assets
- 74d88ad: Remove expect error directive

## 0.0.1-preview.9

### Patch Changes

- 4bdbb48: Update log output for add command
- c8319d8: Change projectRoot to attempt to auto-detect if we are running in a template
- 13800a3: Include a static directory when copying to template

## 0.0.1-preview.8

### Patch Changes

- a8f6aab: - No longer uses fork to create a child process
  - Can accept projects w/o a components directory now

## 0.0.1-preview.7

### Patch Changes

- 76c9332: Ensure directory recursion works properly for wrapped simple connectors
- ec88e75: - Don't die when app.d.ts does not exist in a headless project
  - Check dev deps for sdk package to avoid overwriting the version
  - Svelte compatibility (no sveltekit)
    - Do not ignore files not prefixed with +
    - Add new copy style
  - Better error messaging
  - Copy ./components into template
    - Layouts can also specify where components should be placed
  - Try to handle paths better
    - This still needs improvements, .evidence vs \_evidence, headless vs regular projects, adapter-node vs adapter-static all can cause problems.
  - Added a slide deck example layout + project
- 76c9332: Remove unused \$evidence/queries/\* types
- 76c9332: Ensure that caching and filtering rules are respected when evaluating queries
- 76c9332: Handle uncaught exceptions / unhandled promise rejections
- 76c9332: Remove filter field from layout plugin specification, needs re-evaluation and more planning
- 76c9332: Remove the template directory before re-copying from the template package
- 76c9332: Improve error messages for a malformed component manifest

## 0.0.1-preview.6

### Patch Changes

- Lost track

## 0.0.1-preview.5

### Patch Changes

- Added basic support for layout plugins
- Refreshed the add cli command
- Added a plugin installation command

## 0.0.1-preview.4

### Patch Changes

- ab01260: Enter edit mode for freshly created sources

## 0.0.1-preview.3

### Patch Changes

- 4192323: Remove svelte-preprocess dep

## 0.0.1-preview.2

### Patch Changes

- 02752bd: Implement evidence-sdk connections edit

## 0.0.1-preview.1

### Patch Changes

- 6338875: Adjusted types and tsconfig

## 0.0.1-preview.0

### Patch Changes

- Initial Preview version
