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

feat(container): update image langgenius/dify-api to v0.14.2 #225

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 27, 2024

This PR contains the following updates:

Package Update Change
langgenius/dify-api minor 0.6.11 -> 0.14.2

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

langgenius/dify (langgenius/dify-api)

v0.14.2

Compare Source

✨ What’s New in v0.14.2? ✨

We’re thrilled to announce the release of v0.14.2, packed with new features and critical enhancements. Here’s everything new in this update:

🚀 New Features
retry
  • Workflow Retry Functionality: We've enhanced workflow resilience with a retry feature by @​zxhlyh. Your nodes will make repeat attempts if they face execution errors, minimizing disruptions.

  • Order Support in Models: Now you can specify the order between text and files when using models like Gemini and Claude, thanks to the work of @​laipz8200. This gives you precise control over data flow.

  • Azure GPT-4o-2024-11-20 Model: Thanks to @​agungbesti, this powerful model is now part of our lineup, offering advanced capabilities for your needs.

  • Gemini-2.0-flash-thinking-exp-1219: Explore this cutting-edge model brought to you by @​hjlarry—designed to enhance your application capabilities.

✨ Enhancements
  • HTTP Request Node File Type Detection: Improved by @​tancheng33 to ensure better handling of file uploads.

  • Memory Optimization: Reduced memory usage from 800+ MB to 500+ MB, thanks to the optimizations by @​yihong0618.

  • Partial Success Status in App Logs: With the help of @​Nov1c444, we’ve introduced a new log metric to capture partial successes across app operations.

  • Workflow Parallel Depth Limit Configuration: Gain more control over concurrency in your workflows with this new setting by @​laipz8200.

We owe a huge thank you to all the contributors for their hard work and dedication. Your continuous support and input drive our improvement.

As always, keep the feedback coming, and happy building with Dify! 🚀

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.2
  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: langgenius/dify@0.14.1...0.14.2

v0.14.1

Compare Source

✨ 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: langgenius/dify@0.14.0...0.14.1

v0.14.0

Compare Source

✨ Discover What's New in v0.14.0 ✨

We’re excited to bring you the latest v0.14.0 update. Let's dive straight into some of the standout features and improvements. As always, we extend a special thanks to our contributors!

⚡ New Features
🔗 Improved Error Handling

continue on error

Enhanced functionality for workflows and chatflows allows nodes like LLM and HTTP requests to continue operations even when errors occur. Big shoutout to @​zxhlyh and @​Nov1c444 for their work in #​11474 and #​11458.

🎨 Revamped User Interface
Creation Exploration
create template

With the fresh entry point for app creation and template exploration, user experience becomes more intuitive, assisting in quick and efficient startup. Thanks to @​douxc for this in #​10847.

📁 File Previews Directly in Chat

Now, video, audio, and PDF file previews are accessible right within the chat, simplifying on-the-go information access. Credit goes to @​charli117 in #​11466.

Learn more in our blog

🧠 Model Updates
🌍 Gemini 2.0 and Flash Exp in Google

This enhancement by @​hjlarry and @​wangiii, found in #​11570 and #​11604, boosts overall performance.

🔢 Grok-2-1212 and Grok-2-Vision-1212 in XAI

Optimizing the model functionality, thanks to @​hjlarry in #​11672.

🧙 QwQ and Llama3.3 Models in Siliconflow

Expands compatibility and versatility, contributed by @​orangeclk in #​11492.

📷 Abab6.5t-Chat Model in Minimax

Broaden available models by @​acelyc111 in #​11484.

🔧 Other Highlights
🏦 Storage Integration

Features integration of Apache OpenDAL storage for enhanced system-wide storage capabilities. Work done by @​laipz8200 in #​11508.

📖 Knowledge Base Enhancements

Added support for MDX files in the Knowledge Base to improve content flexibility. Credit to @​yihong0618 in #​11565.

🔧 Logging and Dev Tools

Logs now include trace IDs for smoother debugging, thanks to @​luckylhb90 in #​11599. Plus, @​fujita-h added handy Docker commands in #​11616.

🔧 Bug Fixes

Various minor bugs have been addressed, including iteration node errors and proper release of rate-restricting requests. Thanks to @​yihong0618, @​liuzhenghua, and others for resolving these issues in #​11504, #​11540, and more.

🌈 Additional Enhancements

Lindorm VDB support and configurable max submit count, thanks to @​AlwaysBluer and @​kazuhisa-wada in #​11574 and #​11673.

Every update in this release reinforces the platform's robustness and adaptability—many thanks to all contributors! Let's continue building this powerful community together! 🚀


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.0
  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

Configuration

📅 Schedule: Branch creation - "on saturday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

github-actions bot commented Apr 27, 2024

--- HelmRelease: ai-apps/dify-app Deployment: ai-apps/dify-app

+++ HelmRelease: ai-apps/dify-app Deployment: ai-apps/dify-app

@@ -40,13 +40,13 @@

           value: api
         envFrom:
         - configMapRef:
             name: dify-env-configs
         - secretRef:
             name: dify-env-secrets
-        image: langgenius/dify-api:0.6.11
+        image: langgenius/dify-api:0.14.2
         imagePullPolicy: Always
         livenessProbe:
           failureThreshold: 3
           initialDelaySeconds: 0
           periodSeconds: 10
           tcpSocket:
--- HelmRelease: ai-apps/dify-app Deployment: ai-apps/dify-app-worker

+++ HelmRelease: ai-apps/dify-app Deployment: ai-apps/dify-app-worker

@@ -40,13 +40,13 @@

           value: worker
         envFrom:
         - configMapRef:
             name: dify-env-configs
         - secretRef:
             name: dify-env-secrets
-        image: langgenius/dify-api:0.6.11
+        image: langgenius/dify-api:0.14.2
         imagePullPolicy: Always
         name: main
         volumeMounts:
         - mountPath: /app/api/storage
           name: data
       volumes:

Copy link

github-actions bot commented Apr 27, 2024

--- kubernetes/apps/ai/dify/app Kustomization: flux-system/cluster-apps-ai-dify-app HelmRelease: ai-apps/dify-app

+++ kubernetes/apps/ai/dify/app Kustomization: flux-system/cluster-apps-ai-dify-app HelmRelease: ai-apps/dify-app

@@ -43,13 +43,13 @@

                 name: dify-env-configs
             - secretRef:
                 name: dify-env-secrets
             image:
               pullPolicy: Always
               repository: langgenius/dify-api
-              tag: 0.6.11
+              tag: 0.14.2
         replicas: 1
         strategy: Recreate
       web:
         containers:
           web:
             env:
@@ -74,13 +74,13 @@

                 name: dify-env-configs
             - secretRef:
                 name: dify-env-secrets
             image:
               pullPolicy: Always
               repository: langgenius/dify-api
-              tag: 0.6.11
+              tag: 0.14.2
         replicas: 1
         strategy: Recreate
     ingress:
       main:
         annotations:
           external-dns.alpha.kubernetes.io/target: external.

@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 526edfd to d112cc6 Compare May 2, 2024 10:46
@renovate renovate bot changed the title fix(container): update image langgenius/dify-api to v0.6.5 fix(container): update image langgenius/dify-api to v0.6.6 May 2, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from d112cc6 to b358e0c Compare May 9, 2024 08:55
@renovate renovate bot changed the title fix(container): update image langgenius/dify-api to v0.6.6 fix(container): update image langgenius/dify-api to v0.6.7 May 9, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from b358e0c to 3f64166 Compare May 13, 2024 22:48
@renovate renovate bot changed the title fix(container): update image langgenius/dify-api to v0.6.7 fix(container): update image langgenius/dify-api to v0.6.8 May 13, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 3f64166 to 9d88b5e Compare May 27, 2024 16:59
@renovate renovate bot changed the title fix(container): update image langgenius/dify-api to v0.6.8 fix(container): update image langgenius/dify-api to v0.6.9 May 27, 2024
@renovate renovate bot changed the title fix(container): update image langgenius/dify-api to v0.6.9 fix(container): update image langgenius/dify-api to v0.6.9 - autoclosed Jun 2, 2024
@renovate renovate bot closed this Jun 2, 2024
@renovate renovate bot deleted the renovate/langgenius-dify-api-0.x branch June 2, 2024 04:04
@renovate renovate bot changed the title fix(container): update image langgenius/dify-api to v0.6.9 - autoclosed fix(container): update image langgenius/dify-api to v0.6.9 Jun 4, 2024
@renovate renovate bot reopened this Jun 4, 2024
@renovate renovate bot restored the renovate/langgenius-dify-api-0.x branch June 4, 2024 20:14
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 9d88b5e to 12adb16 Compare June 5, 2024 02:01
@renovate renovate bot changed the title fix(container): update image langgenius/dify-api to v0.6.9 fix(container): update image langgenius/dify-api to v0.6.10 Jun 5, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 12adb16 to 5be0627 Compare June 14, 2024 22:32
@renovate renovate bot changed the title fix(container): update image langgenius/dify-api to v0.6.10 fix(container): update image langgenius/dify-api to v0.6.11 Jun 14, 2024
@renovate renovate bot changed the title fix(container): update image langgenius/dify-api to v0.6.11 fix(container): update image langgenius/dify-api to v0.6.11 - autoclosed Jun 25, 2024
@renovate renovate bot closed this Jun 25, 2024
@renovate renovate bot deleted the renovate/langgenius-dify-api-0.x branch June 25, 2024 04:56
@renovate renovate bot restored the renovate/langgenius-dify-api-0.x branch June 28, 2024 14:19
@renovate renovate bot changed the title fix(container): update image langgenius/dify-api to v0.6.11 - autoclosed fix(container): update image langgenius/dify-api to v0.6.11 Jun 28, 2024
@renovate renovate bot reopened this Jun 28, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 5be0627 to fe8cf7a Compare June 28, 2024 15:14
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.9.1 feat(container): update image langgenius/dify-api to v0.9.2 Oct 14, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from cca535b to 37b2e1e Compare October 21, 2024 12:59
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.9.2 feat(container): update image langgenius/dify-api to v0.10.0 Oct 21, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 37b2e1e to 51993c3 Compare October 23, 2024 14:38
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.10.0 feat(container): update image langgenius/dify-api to v0.10.1 Oct 23, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 51993c3 to eae0e02 Compare October 28, 2024 11:02
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.10.1 feat(container): update image langgenius/dify-api to v0.10.2 Oct 28, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from eae0e02 to be94f7c Compare November 5, 2024 14:58
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.10.2 feat(container): update image langgenius/dify-api to v0.11.0 Nov 5, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from be94f7c to 03fbfed Compare November 11, 2024 12:36
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.11.0 feat(container): update image langgenius/dify-api to v0.11.1 Nov 11, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 03fbfed to 3d94875 Compare November 18, 2024 13:26
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.11.1 feat(container): update image langgenius/dify-api to v0.11.2 Nov 18, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 3d94875 to 146b66c Compare November 25, 2024 11:49
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.11.2 feat(container): update image langgenius/dify-api to v0.12.0 Nov 25, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 146b66c to 72033d4 Compare November 26, 2024 11:30
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.12.0 feat(container): update image langgenius/dify-api to v0.12.1 Nov 26, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 72033d4 to dcb4fae Compare December 3, 2024 11:47
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.12.1 feat(container): update image langgenius/dify-api to v0.13.0 Dec 3, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from dcb4fae to 2a16da2 Compare December 5, 2024 11:48
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.13.0 feat(container): update image langgenius/dify-api to v0.13.1 Dec 5, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 2a16da2 to 4ac78f3 Compare December 9, 2024 14:19
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.13.1 feat(container): update image langgenius/dify-api to v0.13.2 Dec 9, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 4ac78f3 to 1291ac2 Compare December 16, 2024 09:45
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.13.2 feat(container): update image langgenius/dify-api to v0.14.0 Dec 16, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 1291ac2 to 8a080aa Compare December 18, 2024 14:47
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.14.0 feat(container): update image langgenius/dify-api to v0.14.1 Dec 18, 2024
@renovate renovate bot force-pushed the renovate/langgenius-dify-api-0.x branch from 8a080aa to 6cfe587 Compare December 23, 2024 14:25
@renovate renovate bot changed the title feat(container): update image langgenius/dify-api to v0.14.1 feat(container): update image langgenius/dify-api to v0.14.2 Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants