The `initialize_database()` function now handles two specific exceptions: "overlaps with other requested revisions" and "Can't locate revision identified by". If either of these exceptions occur, they will not be raised and instead the `alembic_version` table will be deleted. This change improves the error handling and ensures that the database is properly initialized.
fix(formModal/index.tsx): update template.current value when data.type is "prompt" and data.prompt is provided
fix(formModal/index.tsx): remove unnecessary updateLastMessage call when data.type is "stream" and isStream is true
- Update the version of the package "langflow" from "0.5.0b6" to "0.5.0" to indicate a stable release.
- Update the version of the package "fastapi" from "^0.100.0" to "^0.103.0" to use the latest version.
- Update the version of the package "uvicorn" from "^0.22.0" to "^0.23.0" to use the latest version.
- Update the version of the package "langchain" from "^0.0.306" to "^0.0.308" to use the latest version.
- Update the version of the package "tiktoken" from "~0.4.0" to "~0.5.0" to use the latest version.
- Update the version of the package "cohere" from "^4.21.0" to "^4.27.0" to use the latest version.
- Update the version of the package "alembic" from "^1.11.2" to "^1.12.0" to use the latest version.
- Update the version of the package "metal-sdk" from "^2.0.2" to "^2.2.0" to use the latest version.
These updates ensure that the project is using the latest versions of the dependencies and takes advantage of any bug fixes or new features introduced in the updated versions.
The "CLASSES_TO_REMOVE" list in the constants.py file has been updated to include the "RunnableSerializable" class. This change was made to ensure that the "RunnableSerializable" class is properly removed when processing the list of classes to remove.
📝 docs(README.md): update langflow command in HuggingFace Spaces section to 'langflow run' for clarity and consistency
📝 docs(README.md): remove empty line in README.md file
✨ feat(anyio.py): add name attribute to AnyIOBackend class to identify the backend by name
✨ feat(celery.py): add name attribute to CeleryBackend class to identify the backend by name
✨ feat(manager.py): add backend_name property to TaskService class to get the name of the backend
🔧 chore(api_key.py): make last_used_at field nullable in ApiKeyBase model
🔧 chore(flow.py): make data field nullable in FlowBase model
🔧 chore(user.py): make profile_image field nullable in User model
📦 chore(poetry.lock): update langchain package files with new version 0.0.306 and corresponding hashes
🔒 chore(poetry.lock): update package versions
The package versions in poetry.lock have been updated to the latest compatible versions. This ensures that the project is using the most up-to-date dependencies and improves compatibility and security.
🔧 chore(dependencies): update extended-testing, openai, and tiktoken versions
- Update extended-testing dependencies to include new packages: anthropic, arxiv, and motor
- Update openai dependency to include tiktoken version 0.3.2 to 0.6.0
- No changes to javascript, llms, qdrant, and text-helpers dependencies
🔒 chore(poetry.lock): update traitlets package version from 5.11.1 to 5.11.2 to fix a bug and improve functionality
🔐 chore(poetry.lock): update content-hash for traitlets package to ensure integrity and security of the package