Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137 changes: 137 additions & 0 deletions website/blog/releases/v1.2.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
---
date: 2025-05-13
title: 'Spice v1.2.2 (May 13, 2025)'
type: blog
authors: [jeadie]
tags: [release,databricks,embeddings,acceleration,helm,mcp]
---

Announcing the release of Spice v1.2.2! 🌟

Spice v1.2.2 introduces support for Databricks Mosaic AI model serving and embeddings, alongside the existing Databricks catalog and dataset integrations. It adds configurable service ports in the Helm chart and resolves several bugs to improve stability and performance.

## Highlights in v1.2.2

- **Databricks Model & Embedding Provider**: Spice integrates with [Databricks Model Serving](https://www.databricks.com/product/model-serving) for models and embeddings, enabling secure access via machine-to-machine (M2M) OAuth authentication with service principal credentials. The runtime automatically refreshes tokens using `databricks_client_id` and `databricks_client_secret`, ensuring uninterrupted operation. This feature supports Databricks-hosted large language models and embedding models.

```yaml
models:
- from: databricks:databricks-llama-4-maverick
name: llama-4-maverick
params:
databricks_endpoint: dbc-46470731-42e5.cloud.databricks.com
databricks_client_id: ${secrets:DATABRICKS_CLIENT_ID}
databricks_client_secret: ${secrets:DATABRICKS_CLIENT_SECRET}

embeddings:
- from: databricks:databricks-gte-large-en
name: gte-large-en
params:
databricks_endpoint: dbc-42424242-4242.cloud.databricks.com
databricks_client_id: ${secrets:DATABRICKS_CLIENT_ID}
databricks_client_secret: ${secrets:DATABRICKS_CLIENT_SECRET}
```

For detailed setup instructions, refer to the [Databricks Model Provider documentation](https://spiceai.org/docs/components/models/databricks).

- **Configurable Helm Chart Service Ports**: The Helm chart now supports custom ports for flexible network configurations for deployments. Specify non-default ports in your Helm values file.

- **Resolved Issues**:

- **MCP Nested Tool Calling**: Fixed a bug preventing nested tool invocation when Spice operates as the MCP server federating to MCP clients.

- **Dataset Load Concurrency**: Corrected a failure to respect the `dataset_load_parallelism` setting during dataset loading.

- **Acceleration Hot-Reload**: Addressed an issue where changes to acceleration enable/disable settings were not detected during hot reload of Spicepod.yaml.

## Contributors

- [@peasee](https://github.com/peasee)
- [@ewgenius](https://github.com/ewgenius)
- [@phillipleblanc](https://github.com/phillipleblanc)
- [@kczimm](https://github.com/kczimm)
- [@Jeadie](https://github.com/Jeadie)
- [@sgrebnov](https://github.com/sgrebnov)
- [@Sevenannn](https://github.com/Sevenannn)

## Breaking Changes

No breaking changes.

## Cookbook Updates

Updated cookbooks:

- [Databricks Catalogs](https://github.com/spiceai/cookbook/tree/trunk/catalogs/databricks/README.md): Includes using Databricks Service Principal
- [Databricks](https://github.com/spiceai/cookbook/tree/trunk/databricks/README.md): Includes using M2M auth
- [Python ADBC](https://github.com/spiceai/cookbook/tree/trunk/clients/adbc/README.md): Adds a dataset to be queried over ADBC.

The [Spice Cookbook](https://spiceai.org/cookbook) now includes 68 recipes to help you get started with Spice quickly and easily.

## Upgrading

To upgrade to v1.2.2, use one of the following methods:

**CLI**:

```console
spice upgrade
```

**Homebrew**:

```console
brew upgrade spiceai/spiceai/spice
```

**Docker**:

Pull the `spiceai/spiceai:1.2.2` image:

```console
docker pull spiceai/spiceai:1.2.2
```

For available tags, see [DockerHub](https://hub.docker.com/r/spiceai/spiceai/tags).

**Helm**:

```console
helm repo update
helm upgrade spiceai spiceai/spiceai
```

## What's Changed

## Dependencies

- No major dependency changes.

## Changelog

```text
- Update spark-connect-rs to override user agent string by @ewgenius in https://github.com/spiceai/spice/pull/5798
- Merge pull request by @ewgenius in https://github.com/spiceai/spice/pull/5796
- Pass the default user agent string to the Databricks Spark, Delta, and Unity clients by @ewgenius in https://github.com/spiceai/spice/pull/5717
- bump to 1.2.2 by @Jeadie in https://github.com/spiceai/spice/pull/none
- Helm chart: support for service ports overrides by @sgrebnov in https://github.com/spiceai/spice/pull/5774
- Update spice cli login command with client-id and client-secret flags for Databricks by @ewgenius in https://github.com/spiceai/spice/pull/5788
- Fix bug where setting Cache-Control: no-cache doesn't compute the cache key by @phillipleblanc in https://github.com/spiceai/spice/pull/5779
- Update to datafusion-contrib/datafusion-table-providers#336 by @phillipleblanc in https://github.com/spiceai/spice/pull/5778
- Lru cache: limit single cached record size to u32::MAX (4GB) by @sgrebnov in https://github.com/spiceai/spice/pull/5772
- Fix LLMs calling nested MCP tools by @Jeadie in https://github.com/spiceai/spice/pull/5771
- MySQL: Set the character_set_results/character_set_client/character_set_connection session variables on connection setup by @Sevenannn in https://github.com/spiceai/spice/pull/5770
- Control the parallelism of acceleration refresh datasets with runtime.dataset_load_parallelism by @phillipleblanc in https://github.com/spiceai/spice/pull/5763
- Fix Iceberg predicates not matching the Arrow type of columns read from parquet files by @phillipleblanc in https://github.com/spiceai/spice/pull/5761
- fix: Use decimal_cmp for numerical BETWEEN in SQLite by @peasee in https://github.com/spiceai/spice/pull/5760
- Support product name override in databricks user agent string by @ewgenius in https://github.com/spiceai/spice/pull/5749
- Databricks U2M Token Provider support by @ewgenius in https://github.com/spiceai/spice/pull/5747
- Remove HTTP auth from LLM config and simplify Databricks models logic by using static headers by @Jeadie in https://github.com/spiceai/spice/pull/5742
- clear plan cache when dataset updates by @kczimm in https://github.com/spiceai/spice/pull/5741
- Support Databricks M2M auth in LLMs + Embeddings by @Jeadie in https://github.com/spiceai/spice/pull/5720
- Retrieve Github App tokens in background; make TokenProvider not async by @Jeadie in https://github.com/spiceai/spice/pull/5718
- Make 'token_providers' crate by @Jeadie in https://github.com/spiceai/spice/pull/5716
- Databricks AI: Embedding models & LLM streaming by @Jeadie in https://github.com/spiceai/spice/pull/5715
```

See the full list of changes at: [v1.2.1...v1.2.2](https://github.com/spiceai/spiceai/compare/v1.2.1...v1.2.2)
10 changes: 7 additions & 3 deletions website/blog/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ duckdb:
label: 'duckdb'
permalink: '/duckdb'
description: 'DuckDB database topics and usage'
embedding:
label: 'embedding'
embeddings:
label: 'embeddings'
permalink: '/embeddings'
description: 'Embedding techniques and tools'
description: 'Embeddings related topics and usage'
evaluation:
label: 'evaluation'
permalink: '/evaluations'
Expand All @@ -114,6 +114,10 @@ gpu:
label: 'gpu'
permalink: '/gpu'
description: 'Graphics Processing Unit related topics and usage'
helm:
label: 'helm'
permalink: '/helm'
description: 'Helm Chart related topics and usage'
huggingface:
label: 'huggingface'
permalink: '/huggingface'
Expand Down