Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add release post for 2.19.0 #133

Merged
merged 4 commits into from
Dec 11, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/format-release-note.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
repo: repo.repo,
pull_number: prNumber,
});
const filenames = files.map(file => file.filename);
const filenames = files.filter(file => file.status === "added").map(file => file.filename);

const { formatMarkdown } = require(".github/workflows/format-release-note.js");
formatMarkdown({ filenames })
Expand Down
44 changes: 0 additions & 44 deletions website/releases/2024-12-04-2.19.0rc0-release.md

This file was deleted.

45 changes: 45 additions & 0 deletions website/releases/2024-12-11-2.19.0-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
title: MLflow 2.19.0
slug: 2.19.0
authors: [mlflow-maintainers]
---

## 2.19.0 (2024-12-11)

We are excited to announce the release of MLflow 2.19.0! This release includes a number of significant features, enhancements, and bug fixes.

### Major New Features

- **ChatModel enhancements** - [ChatModel](https://mlflow.org/docs/latest/llms/chat-model-guide/index.html) now adopts `ChatCompletionRequest` and `ChatCompletionResponse` as its new schema. The `predict_stream` interface uses `ChatCompletionChunk` to deliver true streaming responses. Additionally, the `custom_inputs` and `custom_outputs` fields in ChatModel now utilize `AnyType`, enabling support for a wider variety of data types. **Note:** In a future version of MLflow, `ChatParams` (and by extension, `ChatCompletionRequest`) will have the default values for `n`, `temperature`, and `stream` removed. ([#13782](https://github.com/mlflow/mlflow/pull/13782), [#13857](https://github.com/mlflow/mlflow/pull/13857), [@stevenchen-db](https://github.com/stevenchen-db))

- **Tracing improvements** - [MLflow Tracing](https://mlflow.org/docs/latest/llms/tracing/index.html) now supports both automatic and manual tracing for DSPy, LlamaIndex and Langchain flavors. Tracing feature is also auto-enabled for mlflow evaluation for all supported flavors. ([#13790](https://github.com/mlflow/mlflow/pull/13790), [#13793](https://github.com/mlflow/mlflow/pull/13793), [#13795](https://github.com/mlflow/mlflow/pull/13795), [#13897](https://github.com/mlflow/mlflow/pull/13897), [@B-Step62](https://github.com/B-Step62))

- **New Tracing Integrations** - [MLflow Tracing](https://mlflow.org/docs/latest/llms/tracing/index.html) now supports **CrewAI** and **Anthropic**, enabling a one-line, fully automated tracing experience. ([#13903](https://github.com/mlflow/mlflow/pull/13903), [@TomeHirata](https://github.com/TomeHirata), [#13851](https://github.com/mlflow/mlflow/pull/13851), [@gabrielfu](https://github.com/gabrielfu))

- **Any Type in model signature** - MLflow now supports [AnyType](https://mlflow.org/docs/latest/model/signatures.html#supported-data-types) in model signature. It can be used to host any data types that were not supported before. ([#13766](https://github.com/mlflow/mlflow/pull/13766), [@serena-ruan](https://github.com/serena-ruan))

Other Features:

- [Tracking] Add `update_current_trace` API for adding tags to an active trace. ([#13828](https://github.com/mlflow/mlflow/pull/13828), [@B-Step62](https://github.com/B-Step62))
- [Deployments] Update databricks deployments to support AI gateway & additional update endpoints ([#13513](https://github.com/mlflow/mlflow/pull/13513), [@djliden](https://github.com/djliden))
- [Models] Support uv in mlflow.models.predict ([#13824](https://github.com/mlflow/mlflow/pull/13824), [@serena-ruan](https://github.com/serena-ruan))
- [Models] Add type hints support including pydantic models ([#13924](https://github.com/mlflow/mlflow/pull/13924), [@serena-ruan](https://github.com/serena-ruan))
- [Tracking] Add the `trace.search_spans()` method for searching spans within traces ([#13984](https://github.com/mlflow/mlflow/pull/13984), [@B-Step62](https://github.com/B-Step62))

Bug fixes:

- [Tracking] Allow passing in spark connect dataframes in mlflow evaluate API ([#13889](https://github.com/mlflow/mlflow/pull/13889), [@WeichenXu123](https://github.com/WeichenXu123))
- [Tracking] Fix `mlflow.end_run` inside a MLflow run context manager ([#13888](https://github.com/mlflow/mlflow/pull/13888), [@WeichenXu123](https://github.com/WeichenXu123))
- [Scoring] Fix spark_udf conditional check on remote spark-connect client or Databricks Serverless ([#13827](https://github.com/mlflow/mlflow/pull/13827), [@WeichenXu123](https://github.com/WeichenXu123))
- [Models] Allow changing max_workers for built-in LLM-as-a-Judge metrics ([#13858](https://github.com/mlflow/mlflow/pull/13858), [@B-Step62](https://github.com/B-Step62))
- [Models] Support saving all langchain runnables using code-based logging ([#13821](https://github.com/mlflow/mlflow/pull/13821), [@serena-ruan](https://github.com/serena-ruan))
- [Model Registry] return empty array when DatabricksSDKModelsArtifactRepository.list_artifacts is called on a file ([#14027](https://github.com/mlflow/mlflow/pull/14027), [@shichengzhou-db](https://github.com/shichengzhou-db))
- [Tracking] Stringify param values in client.log_batch() ([#14015](https://github.com/mlflow/mlflow/pull/14015), [@B-Step62](https://github.com/B-Step62))
- [Tracking] Remove deprecated squared parameter ([#14028](https://github.com/mlflow/mlflow/pull/14028), [@B-Step62](https://github.com/B-Step62))
- [Tracking] Fix request/response field in the search_traces output ([#13985](https://github.com/mlflow/mlflow/pull/13985), [@B-Step62](https://github.com/B-Step62))

Documentation updates:

- [Docs] Add Ollama and Instructor examples in tracing doc ([#13937](https://github.com/mlflow/mlflow/pull/13937), [@B-Step62](https://github.com/B-Step62))

For a comprehensive list of changes, see the [release change log](https://github.com/mlflow/mlflow/releases/tag/v2.19.0), and check out the latest documentation on [mlflow.org](http://mlflow.org/).
6 changes: 3 additions & 3 deletions website/src/posts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,8 @@ export const BLOGS: Blog[] = [
// Sort by date descending
export const RELEASES: Release[] = [
{
title: "MLflow 2.19.0rc0",
path: "/releases/2.19.0rc0",
title: "MLflow 2.19.0",
path: "/releases/2.19.0",
authors: [
{
name: "MLflow maintainers",
Expand All @@ -360,7 +360,7 @@ export const RELEASES: Release[] = [
image_url: "https://github.com/mlflow-automation.png",
},
],
date: "2024-12-04",
date: "2024-12-11",
version: "2.19.0",
},
{
Expand Down
Loading