Commit Graph

5500 Commits

Author SHA1 Message Date
67c0791e30 📝 docs(README.md): update langflow command in usage instructions to 'langflow run' for clarity and consistency
📝 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
2023-10-04 15:00:54 -03:00
358d595b36 Release beta 6 (#1012) 2023-10-04 14:52:42 -03:00
371d231bac 🔖 chore(pyproject.toml): bump version from 0.5.0b5 to 0.5.0b6 to reflect changes in the package 2023-10-04 14:51:47 -03:00
203929914e 🐛 fix(utils.py): remove unnecessary password verification when creating a superuser
💡 refactor(utils.py): simplify logic for creating a superuser by removing redundant password verification
2023-10-04 14:51:18 -03:00
eb1e742029 Change prefix of generated API key from "lf" to "sk"
🔄 refactor(api_key/crud.py): change prefix of generated API key from "lf" to "sk" for better readability and consistency
2023-10-04 13:54:45 -03:00
3403ee3c1c 🔄 refactor(api_key/crud.py): change prefix of generated API key from "lf" to "sk" for better readability and consistency 2023-10-04 13:54:09 -03:00
6c45b6393f 🐛 fix(endpoints.py): replace backend type string with backend name to improve readability and semantics (#1010) 2023-10-04 13:42:42 -03:00
6276e5c233 🔖 chore(pyproject.toml): bump version from 0.5.0b4 to 0.5.0b5 for package release 2023-10-04 13:42:20 -03:00
997639e325 🐛 fix(endpoints.py): replace backend type string with backend name to improve readability and semantics
 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
2023-10-04 13:40:51 -03:00
9277950b07 chore(deps): bump postcss from 8.4.25 to 8.4.31 in /docs (#999) 2023-10-04 13:07:47 -03:00
a308585d01 fix callback use client_id (#993) 2023-10-04 12:53:55 -03:00
3604db72f4 Release Beta 5 (#1009) 2023-10-04 12:51:07 -03:00
16ffde61ec 🔖 chore(pyproject.toml): bump version from 0.5.0b3 to 0.5.0b4 for package release 2023-10-04 12:50:14 -03:00
62711a08cd 🔧 chore(server.py): configure gunicorn to use UvicornWorker as the worker class for improved performance and compatibility 2023-10-04 12:49:30 -03:00
f9d9adf60b 🐛 fix(manager.py): catch and log exceptions when tearing down services to prevent silent failures
🐛 fix(utils.py): catch and log exceptions when tearing down services and superuser to prevent silent failures
2023-10-04 12:49:10 -03:00
e72c04a94a 🐛 fix(__main__.py): set OBJC_DISABLE_INITIALIZE_FORK_SAFETY environment variable on MacOS to avoid error when running gunicorn
 feat(__main__.py): load environment variables from .env file to override existing environment variables
2023-10-04 12:48:30 -03:00
a185ee4f9b Release 0.5.0 Beta 3 (#1008) 2023-10-04 10:39:09 -03:00
5f57d82004 🔖 chore(pyproject.toml): bump version from 0.5.0b2 to 0.5.0b3 for package release 2023-10-04 10:36:19 -03:00
f229524cf5 🐛 fix(__main__.py): change default number of worker processes from 2 to 1 to improve performance 2023-10-04 10:34:37 -03:00
1e503ecfe2 bump version (#1007) 2023-10-04 10:28:02 -03:00
f7a404be22 bump version 2023-10-04 10:27:19 -03:00
05e7743c68 Release 0.5.0b0 (#1006) 2023-10-04 10:23:45 -03:00
4ee7c9d01d 🔖 chore(pyproject.toml): update package version from 0.5.0b0 to 0.5.0b1 to reflect changes in the package 2023-10-04 10:21:10 -03:00
0a61f389c8 🔧 chore(manager.py): remove unused initialize_services function
🔧 chore(utils.py): refactor initialize_services function to use a list of factory and dependencies for better readability and maintainability
2023-10-04 10:20:47 -03:00
a6b30e1b8b 🔧 chore(alembic): change columns to be nullable in migration script
🔧 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
2023-10-04 10:20:32 -03:00
d17d127b81 🔖 chore(pyproject.toml): update package version from 0.5.0a7 to 0.5.0b0 to reflect the beta release (#1005) 2023-10-04 09:09:21 -03:00
f9da0009ed 🔖 chore(pyproject.toml): update package version from 0.5.0a7 to 0.5.0b0 to reflect the beta release 2023-10-04 09:08:40 -03:00
95e9561ac9 Fixes table creation (#1004) 2023-10-04 09:07:22 -03:00
78c54d6736 🐛 fix(manager.py): handle table creation errors and log warnings for existing tables
 feat(manager.py): improve table creation process by checking if tables already exist before creating them
2023-10-04 09:03:03 -03:00
3724876620 🐛 fix(utils.py): remove unnecessary check for None value in handle_partial_variables function
🔀 refactor(utils.py): simplify dictionary comprehension in handle_partial_variables function
2023-10-03 22:14:32 -03:00
d01d8c2945 Merge branch 'fix_tests' into session_id 2023-10-03 21:43:51 -03:00
5058daab16 🔒 chore(poetry.lock): update langchain package version from 0.0.303 to 0.0.306
📦 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
2023-10-03 21:42:14 -03:00
ef83859d71 🔖 chore(pyproject.toml): update package version to 0.5.0a7 for langflow
🔖 chore(pyproject.toml): update langchain dependency to version 0.0.306 for compatibility improvements
2023-10-03 21:41:07 -03:00
f25e390e8c 🐛 fix(utils.py): handle_partial_variables now filters out partial variables with None values to prevent errors in LangChain 2023-10-03 21:33:45 -03:00
2b7062a3ec 🔧 chore(chat.py): refactor error logging in try_running_celery_task function to improve readability and reduce noise
🐛 fix(chat.py): change error logging level from error to debug in try_running_celery_task function to reduce noise
2023-10-03 21:32:25 -03:00
917d8f78d9 chore(deps): bump postcss from 8.4.25 to 8.4.31 in /docs
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.25 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.25...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-03 22:48:14 +00:00
c67d7da5e2 fix(typesContext.tsx): import Edge from reactflow to fix missing type declaration
feat(typesContext.tsx): add deleteEdge function to typesContext to delete edges from reactFlowInstance
fix(PageComponent/index.tsx): add deleteEdge function to delete selected edges from typesContext
2023-10-03 19:46:22 -03:00
9751c5cb62 🔒 test(test_setup_superuser.py): add mock for verify_password function to fix test failure 2023-10-03 18:14:32 -03:00
9c70a3fe20 🐛 fix(manager.py): add inspector to check if table "flow" exists before creating tables again
The change was made to fix a bug where the tables were being recreated even if they already existed. By adding an inspector to check if the table "flow" exists before recreating the tables, we can prevent unnecessary table creation and improve performance.
2023-10-03 18:13:41 -03:00
6618efc409 🔨 refactor(base.py): remove unused import from langchain module in base.py
🔨 refactor(base.py): remove unused import from langchain.utilities module in base.py
🔨 refactor(base.py): remove unused import from langchain.requests module in base.py
🔨 refactor(base.py): remove unused import from langchain.sql_database module in base.py
2023-10-03 17:59:48 -03:00
b3c515f231 Release 0.5.0a6 (#1001) 2023-10-03 17:41:12 -03:00
bf512e6636 🔖 chore(pyproject.toml): bump version from 0.5.0a5 to 0.5.0a6 for package release 2023-10-03 17:40:25 -03:00
dc559e61ae 🐛 fix(manager.py): refactor create_db_and_tables method to check if database and tables already exist before creating them 2023-10-03 17:39:50 -03:00
a8f444656b Release 0.5.0a5 (#1000) 2023-10-03 17:09:51 -03:00
fd02e2b869 🔖 chore(pyproject.toml): bump version from 0.5.0a4 to 0.5.0a5 for package release 2023-10-03 17:09:06 -03:00
ad406541f2 🐛 fix(manager.py): improve readability by splitting a long line into multiple lines
🐛 fix(utils.py): add comment to explain the reason for the check
2023-10-03 17:08:38 -03:00
65c6516575 🔀 chore(constants.py): update import statements to use the correct module paths for PromptTemplate
🔀 chore(utils.py): update import statements to use the correct module paths for PromptTemplate
🔀 chore(test_custom_component.py): update import statements to use the correct module paths for PromptTemplate
2023-10-03 17:05:59 -03:00
f7884af3af 🐛 fix(manager.py): migrate flows to default superuser if they don't have a user id associated with them when auto_login is enabled
🐛 fix(utils.py): handle case when superuser already exists during creation to prevent UNIQUE constraint violation
2023-10-03 17:05:46 -03:00
65d3b2113b fix(applies.css): add max-w-full class to .api-modal-tabs to ensure it takes up the full width on smaller screens 2023-10-03 16:32:09 -03:00
3017525160 Release 0.5.0a4 (#997) 2023-10-03 14:51:19 -03:00