# Dify 0.4.0 — Release & Upgrade Intelligence
- **Product:** Dify (https://dify.ai)
- **Version:** 0.4.0
- **Released:** Jan 02, 2024
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/dify/updates/0.4.0/

## Executive Summary (TL;DR)
Dify 0.4.0. Source highlight: **🎉🎉 Dify's Version 0.4 is out now.**

## New Features
- **Context Size Definition:** Introduced distinct `context size` settings, separate from `Max Tokens`, to handle the different limits and sizes in models like OpenAI's `GPT-4 Turbo`.
- feat: add billing switch.
- feat: add email template for invite new user in workspace
- add link to canny to README, plus some rewording
- feat: add roadmap and feedback link
- feat: nginx add "restart: always"

## Improvements
- **App Generation Update:** Replacing the old `Redis Pubsub` queue with `threading.Queue` for a more reliable, performant, and straightforward workflow.
- ppt & pptx improve

## Bug Fixes
- **Updates & Fixes:** We've updated other model providers to be in sync with the latest version APIs and features, and squashed a series of minor bugs for a smoother experience.
- fix: not return annotation author error happens
- fix typo
- Fix: delete member dropdown not shown
- fix: settings/members dropdown ui
- fix gpt 4v upload image issue
