github langgenius/dify 0.14.1
v0.14.1

latest release: v0.8.3-fix1
23 hours ago

✨ What’s New in v0.14.1? ✨

We’re excited to bring you version 0.14.1, packed with enhancements and new features designed to elevate your workflow and performance. Here’s what you can look forward to:

🚀 New Features

  • Gemini Models: Gemini models have received a robust upgrade. With integrated response metadata, you can manage token counting more efficiently, thanks to enhancements by @totsukash in #11743.

  • OpenAI O1 Model: Take advantage of the new OpenAI O1 model with updated pricing and a larger token limit, providing even greater flexibility for your projects, courtesy of @laipz8200 in #11780.

  • OpenDAL Integration: Introducing Apache OpenDAL™, the visionary approach to storage — One Layer, All Storage. This tool seamlessly integrates with a variety of object storage solutions like AWS S3 and Google Cloud Storage and includes an automatic retry feature to ensure reliability and ease of use. Brought to you by the ingenious work of @laipz8200 in #11754.

🛠️ Enhancements

  • Docker Proxy Improvements: Enhanced proxy support for Docker environments ensures smoother and more streamlined deployments, improved by @longfengpili in #11681.

  • Improved Docker API Startup: We've slashed API startup times by 50% when running in Docker, meaning faster development cycles and less downtime, thanks to the efforts of @laipz8200 in #11762.

🐛 Bug Fixes

  • Memory Leak Fix: Addressed a memory leak caused by Pypdfium2, ensuring your system runs smoothly and resources are optimized. This fix is credited to @yihong0618 in #11700.

  • Image Icon Display: Resolved issues with missing image icons to ensure all visuals render correctly, as fixed by @crazywoola in #11701.

  • Tidb Now Optional in Docker Compose: The Tidb service has been made optional in Docker setups, providing you with more configuration flexibility, led by @bowenliang123 in #11729.

This version is all about providing a more efficient, flexible, and streamlined platform, ensuring you can focus on innovation without the technical hiccups. Welcome to v0.14.1—happy coding! 🚀


Upgrade Guide

Docker compose deployments

Warning

The files in the docker-legacy directory will soon stop being maintained and will be removed from the repository. If you are still using them, please switch to the new version as soon as possible.

  1. Back up your customized docker-compose YAML file (optional)

    cd docker
    cp docker-compose.yaml docker-compose.yaml.$(date +%s).bak
  2. Get the latest code from the main branch

    git checkout main
    git pull origin main
  3. Stop the service,Command, please execute in the docker directory

    docker compose down
  4. Back up data

    tar -cvf volumes-$(date +%s).tgz volumes
  5. Upgrade services

    docker compose up -d

Source Code deployments

  1. Stop API server, Worker and Web frontend Server.

  2. Get the latest code from the release branch:

    git checkout 0.14.1
  3. Update Python dependencies:

    cd api
    poetry install
  4. Then, let's run the migration script:

    poetry run flask db upgrade
  5. Finally, run API server, Worker and Web frontend Server again.


What's Changed

New Contributors

Full Changelog: 0.14.0...0.14.1

Don't miss a new dify release

NewReleases is sending notifications on new releases.