diff --git a/.github/workflows/format-release-note.yml b/.github/workflows/format-release-note.yml index e4a3ace16..0c6fb78ac 100644 --- a/.github/workflows/format-release-note.yml +++ b/.github/workflows/format-release-note.yml @@ -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 }) diff --git a/website/releases/2024-12-04-2.19.0rc0-release.md b/website/releases/2024-12-04-2.19.0rc0-release.md deleted file mode 100644 index 353d7b06b..000000000 --- a/website/releases/2024-12-04-2.19.0rc0-release.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: MLflow 2.19.0rc0 -slug: 2.19.0rc0 -authors: [mlflow-maintainers] ---- - -MLflow 2.19.0rc0 is a release candidate for 2.19.0. To install, run the following command: - -```sh -pip install mlflow==2.19.0rc0 -``` - -We are excited to announce the release of MLflow 2.19.0rc0! This release includes a number of significant features, enhancements, and bug fixes. - -### Major New Features - -- **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 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)) - -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)) - -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)) - -Small bug fixes and documentation updates: - -[#13972](https://github.com/mlflow/mlflow/pull/13972), [#13968](https://github.com/mlflow/mlflow/pull/13968), [#13917](https://github.com/mlflow/mlflow/pull/13917), [#13912](https://github.com/mlflow/mlflow/pull/13912), [#13906](https://github.com/mlflow/mlflow/pull/13906), [#13846](https://github.com/mlflow/mlflow/pull/13846), [@serena-ruan](https://github.com/serena-ruan); [#13969](https://github.com/mlflow/mlflow/pull/13969), [#13959](https://github.com/mlflow/mlflow/pull/13959), [#13957](https://github.com/mlflow/mlflow/pull/13957), [#13958](https://github.com/mlflow/mlflow/pull/13958), [#13925](https://github.com/mlflow/mlflow/pull/13925), [#13882](https://github.com/mlflow/mlflow/pull/13882), [#13879](https://github.com/mlflow/mlflow/pull/13879), [#13881](https://github.com/mlflow/mlflow/pull/13881), [#13869](https://github.com/mlflow/mlflow/pull/13869), [#13870](https://github.com/mlflow/mlflow/pull/13870), [#13868](https://github.com/mlflow/mlflow/pull/13868), [#13854](https://github.com/mlflow/mlflow/pull/13854), [#13849](https://github.com/mlflow/mlflow/pull/13849), [#13847](https://github.com/mlflow/mlflow/pull/13847), [#13836](https://github.com/mlflow/mlflow/pull/13836), [#13823](https://github.com/mlflow/mlflow/pull/13823), [#13811](https://github.com/mlflow/mlflow/pull/13811), [#13820](https://github.com/mlflow/mlflow/pull/13820), [#13775](https://github.com/mlflow/mlflow/pull/13775), [#13768](https://github.com/mlflow/mlflow/pull/13768), [#13764](https://github.com/mlflow/mlflow/pull/13764), [@harupy](https://github.com/harupy); [#13960](https://github.com/mlflow/mlflow/pull/13960), [#13914](https://github.com/mlflow/mlflow/pull/13914), [#13862](https://github.com/mlflow/mlflow/pull/13862), [#13892](https://github.com/mlflow/mlflow/pull/13892), [#13916](https://github.com/mlflow/mlflow/pull/13916), [#13918](https://github.com/mlflow/mlflow/pull/13918), [#13915](https://github.com/mlflow/mlflow/pull/13915), [#13878](https://github.com/mlflow/mlflow/pull/13878), [#13891](https://github.com/mlflow/mlflow/pull/13891), [#13863](https://github.com/mlflow/mlflow/pull/13863), [#13859](https://github.com/mlflow/mlflow/pull/13859), [#13850](https://github.com/mlflow/mlflow/pull/13850), [#13844](https://github.com/mlflow/mlflow/pull/13844), [#13835](https://github.com/mlflow/mlflow/pull/13835), [#13818](https://github.com/mlflow/mlflow/pull/13818), [#13762](https://github.com/mlflow/mlflow/pull/13762), [@B-Step62](https://github.com/B-Step62); [#13913](https://github.com/mlflow/mlflow/pull/13913), [#13848](https://github.com/mlflow/mlflow/pull/13848), [#13774](https://github.com/mlflow/mlflow/pull/13774), [@TomeHirata](https://github.com/TomeHirata); [#13936](https://github.com/mlflow/mlflow/pull/13936), [#13954](https://github.com/mlflow/mlflow/pull/13954), [#13883](https://github.com/mlflow/mlflow/pull/13883), [@daniellok-db](https://github.com/daniellok-db); [#13947](https://github.com/mlflow/mlflow/pull/13947), [@AHB102](https://github.com/AHB102); [#13929](https://github.com/mlflow/mlflow/pull/13929), [#13922](https://github.com/mlflow/mlflow/pull/13922), [@Ajay-Satish-01](https://github.com/Ajay-Satish-01); [#13857](https://github.com/mlflow/mlflow/pull/13857), [@stevenchen-db](https://github.com/stevenchen-db); [#13773](https://github.com/mlflow/mlflow/pull/13773), [@BenWilson2](https://github.com/BenWilson2); [#13705](https://github.com/mlflow/mlflow/pull/13705), [@williamjamir](https://github.com/williamjamir); [#13745](https://github.com/mlflow/mlflow/pull/13745), [#13743](https://github.com/mlflow/mlflow/pull/13743), [@WeichenXu123](https://github.com/WeichenXu123); [#13895](https://github.com/mlflow/mlflow/pull/13895), [@chenmoneygithub](https://github.com/chenmoneygithub) - -Please try it out and report any issues on [the issue tracker](https://github.com/mlflow/mlflow/issues). diff --git a/website/releases/2024-12-11-2.19.0-release.md b/website/releases/2024-12-11-2.19.0-release.md new file mode 100644 index 000000000..be8ef24e7 --- /dev/null +++ b/website/releases/2024-12-11-2.19.0-release.md @@ -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/). diff --git a/website/src/posts.ts b/website/src/posts.ts index 4768d10b6..202ad342d 100644 --- a/website/src/posts.ts +++ b/website/src/posts.ts @@ -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", @@ -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", }, {