v0.6.12
#5719
Replies: 1 comment
-
Super excited about this release! Can't wait for all the amazing use cases Dify users will work on with Langfuse. PS: I'm Clemens, a co-founder of Langfuse - feel free to ping me with any questions via clemens at langfuse dot com |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
✨ What’s New in v0.6.12? ✨
Important
In the current version:
pip
as the primary package management tool in favor ofPoetry
for the Dify API service..env
files and allowing the option to independently select Vector Database at startup.The previous Docker Compose configuration has been moved to the
docker-legacy
directory.For more details see
Upgrade to new docker compose deployment
below.Hey everyone, we’ve got a fresh update for you with v0.6.12, and it’s packed with new features, tools, and improvements. Let’s dive in:
🚀 New Features
Undo/Redo for Workflow Editor: Finally, you can undo and redo your actions in the workflow editor by @perzeuss in feat: undo/redo for workflow editor #3927.
Import and Overwrite Workflow DSL: Importing and overwriting workflow DSL is now supported, you can now manage versions indirectly through DSL Export & Import by @takatost in feat: support importing and overwriting workflow DSL #5511.
New Icons: We’ve replaced the old icons with fresh new ones by @zxhlyh in feat: new icons #5412.
Hide Workflow Steps: You now have the option to hide workflow steps in WebApp settings by @crazywoola in feat: option to hide workflow steps #5436.
Self-Hosting for Firecrawl Tool: The Firecrawl tool now supports self-hosting by @keita69 in The firecrawl tool now supports self-hosting #5528.
Latex in Chat Messages: Support for displaying Latex in chat messages by @ZuzooVn in feat: support Latex #5001.
Citations and Attributions: These are now enabled by default by @takatost in feat: make Citations and Attributions display enable default #5508.
🛠️ Tools
🤖 Model Support
Jina New Pre-defined Rerankers: Including jina-reranker-v2 by @takatost in feat: add jina new pre-defined rerankers, include: jina-reranker-v2 #5657.
Bedrock Command R Models: Added support for these models by @realjustinwu in Add bedrock command r models #4521.
Claude-3-5-Sonnet-20240620: Support added for this model by @takatost in feat: add support for claude-3-5-sonnet-20240620 #5452 and @soulteary in feat: add support for bedrock claude-3-5-sonnet-20240620 #5461.
Vertex AI Claude-3-5-Sonnet@20240620: Support added by @hellof20 in feat: add support for Vertex AI claude-3-5-sonnet@20240620 #5475.
Predefined Models for OpenRouter: Added support by @sinomoe in feat: support predefined models for openrouter #5494.
Qwen LLM: Added support by @LiXuemin in Feature/add qwen llm #5659.
Spark 4.0: Added support by @leslie2046 in feat: add support Spark4.0 #5688.
🗄️ Vector Database & Storage
🏗️ API Service Infrastructures
For additional enhancements and updates, refer to the What's Changed section below.
🎉 Upgrade to new docker compose deployment
Key Changes
Persistent Custom Environment Variables: Users can now declare environment variables in .env that remain persistent across deployments. This change ensures that custom configurations are not lost during upgrades or redeployments.
Unified Vector Database Services: All vector database services have been consolidated into a single Docker file. Users can switch between different vector databases by modifying the
VECTOR_STORE
environment variable in your local.env
. This simplifies the management of various vdb services and allows for more dynamic deployments.Mandatory .env File: Unlike the previous deployment method, the new method requires an [.env] file before running
docker compose up
. Users should start by copying the.env.example
file to create their own.env
file. This step is crucial for configuring the deployment to meet specific needs.Legacy Support: The previous deployment files have been moved to a
docker-legacy
directory. These files will no longer be maintained, but they are available for use if needed.Migrating
For existing users who's customized
docker-compose.yaml
,ssrf_proxy/squid.conf
ornginx/conf.d/default.conf
, you may need to modify the corresponding environment variables in.env
to reflect your existing changes.We are actively seeking feedback from the community to refine and enhance the deployment process. As more users adopt this new method, we will continue to make improvements based on your experiences and suggestions.
How to Get Started
To get started with the new deployment method:
docker
directory.docker/.env.example
file to a new file named.env
and customize it as needed.docker compose up
to start the services.We encourage all users to transition to this new method to take advantage of the improved flexibility and configuration options. Your feedback during this beta phase is invaluable and will help us make the deployment process even better.
For detailed configuration options and environment variable settings, refer to the
.env.example
file and the Docker Compose configuration files in thedocker
directory.Upgrade Guide
Docker compose deployments
Warning
The
docker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.Back up your customized docker-compose YAML file (optional)
Get the latest code from the main branch
Stop the service,Command, please execute in the docker directory
Back up data
tar -cvf volumes-$(date +%s).tgz volumes
Upgrade services
Source Code deployments
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
Update Python dependencies:
cd api poetry install
Then, let's run the migration script:
Finally, run API server, Worker and Web frontend Server again.
What's Changed
field_validator
andclassmethod
to fit Pydantic V2. by @laipz8200 in fix(core): Reorderfield_validator
andclassmethod
to fit Pydantic V2. #5257flask upgrade-db
command for running db upgrade with redis lock by @bowenliang123 in feat: addflask upgrade-db
command for running db upgrade with redis lock #5333novita_client
topyproject.toml
by @laipz8200 in chore: addnovita_client
topyproject.toml
#5349forwardRef
by @TinsFox in refactor: refactor the button component usingforwardRef
#4379=
by @laipz8200 in docs(api/README): Remove unnecessary=
#5380indexMethodHighQualityTip
by @GOODBOY008 in fix/i18n: correctindexMethodHighQualityTip
#5431New Contributors
Full Changelog: 0.6.11...0.6.12
This discussion was created from the release v0.6.12.
Beta Was this translation helpful? Give feedback.
All reactions