Commit graph

15,705 commits

Author SHA1 Message Date
Edwin Jose
b48e57a223
fix: improve composio gmail component stability (#7673)
* tool change check

* optimised logic

* Update composio_base.py

* update to the init logic

* Update gmail_composio.py

* update default tool logic

* Update src/backend/base/langflow/base/composio/composio_base.py

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

* Update test_gmail.py

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-04-22 15:14:56 +00:00
Mendon Kissling
ed04e4abc3
docs: modify the langflow docker image (#7730)
* mac-update

* add-step-for-dockerfile

* test-and-cleanup

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-04-22 13:08:57 +00:00
Gabriel Luiz Freitas Almeida
71d1f06f2e
feat: add deprecation warning for AUTO_LOGIN (#7691)
* feat: Update API key authentication logic and add deprecation warning

- Introduced a deprecation warning for the upcoming change in v1.5 regarding AUTO_LOGIN authentication, which will require a valid API key or JWT.
- Modified the authentication logic to check for API key or JWT in query parameters or headers before falling back to superuser credentials.
- Enhanced the clarity of authentication requirements for users integrating with Langflow.

* fix: Update deprecation warning message for API key authentication
2025-04-17 22:31:14 +00:00
Mendon Kissling
6b8d622c5a
docs: v2 files api examples (#7369)
* initial

* more

* v1-and-v2-upload

* local-storage-note

* tested-delete-download-delete-all-and-list

* add-put-command-and-test

* test-upload

* file-name-and-extension

* docs: update API reference for file uploads

* add-api-var

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

* capitalization

* v1-v2-clarification

* last-clarification

* file-name-and-extension

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-04-17 19:02:45 +00:00
Rodrigo Nader
eff2a30489
feat: add EmbeddingModelComponent for generating embeddings (#7204)
* feat: add EmbeddingModelComponent for generating embeddings

- Introduced a new EmbeddingModelComponent to generate embeddings using specified providers, starting with OpenAI.
- Updated the __init__.py file to include the new component in the exports.
- The component includes various input fields for configuration, such as provider selection, model name, API key, and additional parameters.

* update the tests.

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-04-17 18:55:31 +00:00
Edwin Jose
0ba8f6559c
feat: Adds MCP_SSE to be filled from frontend (#7594)
* add mcp sse to copy field

* add MCP_SSE from frontend

* [autofix.ci] apply automated fixes

* refactor: reorder imports in mcp_component.py for consistency

*  (mcp-server.spec.ts): refactor code to use consistent selector for sse_url textarea element in tests

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-04-17 18:02:37 +00:00
Edwin Jose
67f744cdf2
feat: update Anthropic Tool calling model list and filters (#7630)
* update to models

* Update anthropic_constants.py

* Update anthropic_constants.py

* Update anthropic.py

* update template
2025-04-17 18:02:26 +00:00
Mendon Kissling
b69175086e
docs: watsonx embeddings component (#7621)
* initial-content

* docs: Update IBM watsonx embeddings component

* add-back-text-embedder

* explanation-of-flow

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-04-17 17:20:38 +00:00
Gabriel Luiz Freitas Almeida
89201e459f
fix: Implement primary key renaming in Alembic migration for message, transaction, and vertex_build tables (#7686)
feat: Add constraint existence check for primary keys in migration scripts

- Implemented a function to check for existing constraints before creating temporary tables in the upgrade and downgrade functions.
- Updated primary key names dynamically to avoid conflicts during migrations for the 'vertex_build', 'transaction', and 'message' tables.
- Enhanced the robustness of the migration process by ensuring unique constraint names across different database states.
2025-04-17 15:34:43 +00:00
Mike Fortman
960d46250f
refactor: Cleanup up unused frontend files using Knip (#7506)
* extrasidebar cleanup

* shad component cleanup

* components and types batch

* controllers cleanup

* helpers and table components

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-17 15:19:22 +00:00
Mendon Kissling
29e0179794
docs: groq model example (#7643)
* grok-model-example

* spelling

* spelling

* tool-mode-enabled
2025-04-17 15:16:47 +00:00
Mendon Kissling
057108afc6
docs: add save to file component example (#7651)
* save-to-file-component-example

* cleanup

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

* add-tip-on-format

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-04-17 15:04:14 +00:00
Mendon Kissling
ee35003936
docs: vector store ingest screenshot (#7665)
update-screenshot-to-include-missing-edge
2025-04-17 14:35:32 +00:00
Jannik Maierhöfer
56e24d8c7b
docs: edit Langfuse integration page (#7384)
* docs: edit Langfuse integration page

* update-docker-compose-and-docs-review

---------

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
2025-04-17 14:17:40 +00:00
Yashraj Dighe
6dccb22e38
Fix: add missing curl to dockerfile langflow-ai/langflow-helm-charts#40 (#6971)
* add missing curl and remove empty continuation line

* add missing curl

* Update docker/build_and_push.Dockerfile

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

* Update docker/build_and_push_base.Dockerfile

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-04-17 14:16:21 +00:00
Mendon Kissling
641de6146b
docs: update nv ingest component (#7646)
* update-nv-ingest-component

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

* move-note

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-04-17 13:04:43 +00:00
Gabriel Luiz Freitas Almeida
be5260fcbc
chore: Bump version numbers for langflow and langflow-base to 1.3.4 and 0.3.4 respectively (#7677) 2025-04-17 01:44:11 +00:00
Gustavo Costa
1a04e59e68
fix: change banner when DO_NOT_TRACK == 'true' (#7678)
* change banner when DO_NOT_TRACK == 'true'

* delete blank line

* Update src/backend/base/langflow/__main__.py

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-04-16 21:15:54 +00:00
Edwin Jose
dd1205b9a3
fix: tool change check logic (#7675)
* Update composio_base.py

* fix: Fix template bug causing empty output in AgentQL component (#7489)

* Fix empty output issue in AgentQL component

* Apply suggestions from code review

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

* Add reference to AgentQL API key

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

* tool change check

* optimised logic

---------

Co-authored-by: Desiree Sng <desiree@tinyfish.io>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-04-16 20:33:36 +00:00
Gabriel Luiz Freitas Almeida
dc792004fe
ci: Fix version check in release workflow (#7676)
fix: Update version check in release workflow to pick the correct line of the output
2025-04-16 19:52:25 +00:00
Edwin Jose
c0177726e2
fix: composio Base, enabling tools without action selection (#7649)
Update composio_base.py
2025-04-16 19:28:48 +00:00
Cristhian Zanforlin Lousa
71473cbc3a
chore: Add @components tag to auto-save-off test configuration (#7674)
 (auto-save-off.spec.ts): add new "@components" tag to the test for better categorization and organization
2025-04-16 19:05:29 +00:00
Desiree Sng
65d5d93620
fix: Fix template bug causing empty output in AgentQL component (#7489)
* Fix empty output issue in AgentQL component

* Apply suggestions from code review

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

* Add reference to AgentQL API key

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-04-16 18:02:31 +00:00
Cristhian Zanforlin Lousa
b6f54ee681
fix: detect unsaved changes in FlowPage Component to enable save button when auto-save is off (nightly fix) (#7668) 2025-04-16 12:15:15 -03:00
Abhishek Patil
dc35b4ec9e
feat: Update Gmail component (#7530)
* chore: action params naming

* chore: remove comments

* chore: replaced MessageTextInput field with StrInput

* feat: add google calendar component

* feat: replaced loops with hardcoded display-name action-enum mapping to improve performance

* chore: format

* fix: add type ignore for action_key in getattr call

* feat: add google sheets component

* fix: format google calendar utils

* feat: add google meet Component

* chore: minor improvement

* chore: format & lint

* fix: google meet component

* feat: add GitHub component

* fix: format

* fix: lint

* fix: typo

* feat: add Slack Component

* fix: format

* fix: rest bool value to None

* chore: disabled slack tools temporarily

* fix: add condition to set list variables to None in when action is changed

* chore: capitalise display names

* fix: update list issues field to MessateTextInput

* fix: format/lint in slack component

* fix: google calendar logo

* fix: revert setting bool field to None

* feat: composio-core & composio-core version bump to 0.7.10

* fix: minor bugs

* feat: add accepted values to AccessType field in google meet component

* feat: add accepted values for entry point access field in Google meet component

* fix: Google Calendar display names

* feat: replace list with nested list for batch update field in Google sheets

* fix: display name in Google sheets

* fix: format

* fix: titlecase display name in google meet component

* feat: set advaced to true for advanced fields

* feat: add condition to skip empty list fields in execute_action

* chore: improve display names GitHub Component

* fix: slack component display names & minor enhancements

* feat: update condition to skip empty fields while executing action

* feat: fix google calendar field description

* feat: update googlemeet component to use new inputs & composio base class

* chore: update googlemeet component filename

* feat: update github component to use new inputs & composio base class

* feat: update google calendar to use new inputs & composio base class

* feat: update google sheets component to use new inputs & Composio base class

* feat: update slack component to use new inputs & Composio base class

* fix: format

* chore: cleanup un-used code

* chore: format

* feat: add missing fields & actions

* chore: fix typo

* feat: rm other components

* feat: improve error message format & revert composio libs bump

* chore: revert uv.lock file

* update tests

* fix: remove duplicate action field in GMAIL_FETCH_EMAILS

* fix: remove unused code

* fix: add ignore statement

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-04-15 18:16:36 +00:00
Mendon Kissling
0bf81f0bdc
docs: add ketch management banner (#7503)
* feat: Add Ketch consent management and privacy preference link to docusaurus config

* feat: Update Docusaurus footer and Ketch privacy management

- Modify Ketch script configuration for better performance
- Enhance footer styling with dark theme and copyright
- Add dynamic load for region-specific privacy link
- Update sitemap configuration to ignore preferences page

* Styled footer

* fix-merge-error

* update script to remove link if in default jurisdiction and handle GA… (#7508)

* update script to remove link if in default jurisdiction and handle GA4 tracking

* add test ketch property so we can test in feature branch

* Fix ketch script issue (#7509)

* add new html sidebar item with custom styles and new font

* update script to remove link if in default jurisdiction and handle GA4 tracking

* add test ketch property so we can test in feature branch

* fix script for ketch

---------

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* Fix Ketch script again (#7513)

* add new html sidebar item with custom styles and new font

* update script to remove link if in default jurisdiction and handle GA4 tracking

* add test ketch property so we can test in feature branch

* fix script for ketch

* Update footer css and fix ketch script

* add production logic back in

---------

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* remove-region-check

* make-footer-not-hide-ad

---------

Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: Cole Goldsmith <cole.b.goldsmith@gmail.com>
2025-04-15 17:00:55 +00:00
Mendon Kissling
3f69e38f65
docs: bump supported version (#7405)
* bump-version-and-date

* Apply suggestions from code review
2025-04-15 16:27:26 +00:00
Mendon Kissling
cd32475bb0
docs: add video link for triggering flows (#7615)
* docs: add video guide for triggering flows with Composio payloads in webhook documentation

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-04-15 16:27:20 +00:00
Mike Fortman
2c2a348a2f
refactor: reduce menu bar rerenders (#7589)
* reduce menu bar rerenders

* imports cleanup

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-15 16:20:43 +00:00
Mendon Kissling
8983516381
docs: group install tabs by package manager (#7614)
group-tabs-by-package-manager
2025-04-15 16:18:46 +00:00
Mike Fortman
ebe20e131b
refactor: Implement Lazy loading for icons in cloud deployments (#7218)
* init add lazy loading for icons

* Add more icon fixes

* [autofix.ci] apply automated fixes

* cleanup

* [autofix.ci] apply automated fixes

* add change to user management modal

* Add eager loading for common icons

* add fallback for flow id

* [autofix.ci] apply automated fixes

* ♻️ (GenericNode/index.tsx): refactor selectedNodes to selectedNodesCount for better readability and performance optimization

* add one more icon

* add missing icon

* cleanup

* [autofix.ci] apply automated fixes

* fallback fixes

* [autofix.ci] apply automated fixes

* move lucide imports

* [autofix.ci] apply automated fixes

* conditional lazy loading for cloud only

* [autofix.ci] apply automated fixes

* fix imports

* [autofix.ci] apply automated fixes

* up the shards

* add a bit of a timeout

* group icon fix and reduce playground button rerenders

* and new icons to lazy load

* [autofix.ci] apply automated fixes

* warning cleanup

* iconExists fix

* cleanup

* [autofix.ci] apply automated fixes

* move icon

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-04-15 16:00:16 +00:00
Nadeem Sajjad
871c0fdbc1
fix: duplicate pk indexes in migration (#7635) 2025-04-15 14:08:26 +00:00
Edwin Jose
d421de5b8b
feat: add tool mode unsupported list for groq Models (#7497)
* update groq Models

Tested curated list of latest models

* add tool mode tested models

* Update src/backend/base/langflow/base/models/groq_constants.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-15 13:57:55 +00:00
dependabot[bot]
ececff8e90
build(deps): bump @babel/runtime from 7.26.9 to 7.26.10 in /docs (#7073)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.26.9 to 7.26.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-15 12:18:51 +00:00
dependabot[bot]
bdf0104c2a
build(deps): bump @babel/helpers from 7.26.9 to 7.27.0 in /docs (#7627)
Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) from 7.26.9 to 7.27.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.0/packages/babel-helpers)

---
updated-dependencies:
- dependency-name: "@babel/helpers"
  dependency-version: 7.27.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-15 12:18:30 +00:00
Lucas Oliveira
7fb400d99e
fix: made reranker not disable when hybrid search is enabled (#7622)
* added toggle_disable option

* made toggle be disabled when toggle_disable is true

* added logic to disable toggle when choosing hybrid search

* Updated starter projects

* Fixed toggle_disable to be optional

* fixed toggle disable to remove toggle

*  (intComponent.spec.ts): update test assertions to match expected behavior after changes in the component's functionality

---------

Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-04-14 23:47:14 +00:00
Deon Sanchez
28675d873f
fix: update Gmail icon to Google and improve ListSelectionComponent styles (#7591)
* fix: update Gmail icon to Google and improve ListSelectionComponent styles

* fix: remove unnecessary info and improve required field handling in Composio components

* style: update ListSelectionComponent and SortableListItem for improved layout and styling

* fix: enhance ListSelectionComponent and SortableListComponent to support search functionality

* style: adjust height and padding in SortableListItem for better visual consistency

*  (intComponent.spec.ts): update test assertions to match expected behavior after changes in the component's functionality

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-04-14 23:08:43 +00:00
Gabriel Luiz Freitas Almeida
ae2ef5d8e4
chore: Update langflow and langflow-base package versions to 1.3.3 and 0.3.3 (#7625)
* chore: update package versions to 1.3.3 and 0.3.3

- Bump langflow version to 1.3.3 in pyproject.toml and uv.lock.
- Update langflow-base version to 0.3.3 in its pyproject.toml and uv.lock.

* chore: bump langflow version to 1.3.3 in package.json and package-lock.json
2025-04-14 22:38:00 +00:00
Gabriel Luiz Freitas Almeida
11ac89adf2
fix: update build_flow_and_stream with event delivery info (#7616)
refactor: Update event delivery mechanism in build_flow_and_stream function

Modified the build_flow_and_stream function to utilize the new event delivery type, STREAMING, for improved event handling. The function now returns a response from get_flow_events_response, enhancing the clarity and robustness of the event streaming process.

Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
2025-04-14 21:59:23 +00:00
Gabriel Luiz Freitas Almeida
273bd7d339
feat: Add new OpenAI model options (#7619)
* feat: Add new OpenAI model versions to constants

Added "gpt-4.1", "gpt-4.1-mini", and "gpt-4.1-nano" to the list of OpenAI model names in openai_constants.py to support the latest model updates.

* feat: Add new OpenAI model options to starter projects

Included "gpt-4.1", "gpt-4.1-mini", and "gpt-4.1-nano" in the options for various starter project configurations to support the latest model updates across multiple JSON files.

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
2025-04-14 21:14:47 +00:00
Mendon Kissling
1b6c10a897
docs: hybrid search feature (#7573)
* initial-page-and-some-overview

* steps

* remove-file

* feat: enhance Astra DB hybrid search documentation

* numbering

* clarify hybrid search

* dataframe-link

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@gmail.com>

* code-review

* collection-and-string-not-list

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@gmail.com>
2025-04-14 19:26:07 +00:00
Lucas Oliveira
7bded7f6ed
fix: remove lexical search from astra db hybrid search (#7620)
* Remove lexical search from astra db hybrid search

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-14 19:16:59 +00:00
Edwin Jose
56055043aa
feat: enhance openai model component with o1 support (#7107)
* update models

* Delete package-lock.json

* Create package-lock.json

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes

* updated templates

* update

* [autofix.ci] apply automated fixes

* Update Text Sentiment Analysis.json

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-04-14 18:17:27 +00:00
Gustavo Costa
dde91e2581
fix: add file format validation to component save-to-file (#7593)
* add _check_file_format

* [autofix.ci] apply automated fixes

* change to __adjust_file_path_with_format

* [autofix.ci] apply automated fixes

* Refactor and enhance tests for _adjust_file_path_with_format method

- Added parameterized tests to verify correct file extension handling for various formats.
- Ensured existing extensions are preserved and incorrect extensions are handled appropriately.
- Included a test for expanding the home directory symbol '~' in file paths.
- Removed outdated tests related to _check_file_format method.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-04-14 17:44:36 +00:00
github-actions[bot]
90128ca4e3
docs: OpenAPI spec version upgraded from 1.2.0 to 1.3.2 (#7492)
* docs: OpenAPI spec version upgraded from 1.2.0 to 1.3.2

* remove-var-braces-in-descriptions

---------

Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
2025-04-14 14:16:45 +00:00
github-actions[bot]
11614993dc
chore: update test durations (#7612)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2025-04-14 09:22:17 -03:00
Lucas Oliveira
801276cbb7
fix: revert "feat: adds pan and pinch nav mode like figma" (#7603)
Revert "feat: adds pan and pinch nav mode like figma (#7410)"

This reverts commit a2c5090c7a.
2025-04-12 02:35:40 +00:00
Simon Duncan
b39fdc5b7d
Fix: CLI Social Links (#7601)
* Update social CLI links

* Fix star emoji

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-12 01:44:59 +00:00
Gabriel Luiz Freitas Almeida
050230cad1
fix: Enhance foreign key constraint management and naming conventions in migrations (#7569)
* fix: ensure foreign key constraints are only dropped if they exist in upgrade script

* Updated the upgrade function to check for the existence of foreign key constraint names before attempting to drop them in the message, transaction, and vertex_build tables, enhancing robustness and preventing potential errors during migration.

* refactor: streamline foreign key constraint removal in upgrade script

* Simplified the upgrade function by directly dropping foreign key constraints for the message, transaction, and vertex_build tables without checking for their existence, enhancing code clarity and maintainability.

* feat: introduce naming convention for database constraints in Alembic environment

* Added a naming convention dictionary to standardize the naming of indexes, unique constraints, check constraints, foreign keys, and primary keys in the Alembic migration environment, enhancing consistency and clarity in database schema management.

* refactor: enhance foreign key constraint management in upgrade and downgrade scripts

* Updated the upgrade function to recreate the message, transaction, and vertex_build tables without foreign key constraints, preserving data integrity during migration.
* Improved the downgrade function to restore these tables with the appropriate foreign key constraints, ensuring consistency in the database schema.
* Introduced a naming convention for database constraints to standardize naming across migrations.

* refactor: update table schema in Alembic migration for improved data handling

* Modified the schema for the message, transaction, and vertex_build tables to enhance data integrity by changing column types and adding new fields.
* Updated data insertion queries to use quoted identifiers, preventing potential issues with SQL keywords.
* Ensured that the upgrade and downgrade functions maintain consistency in the database schema during migrations.

* refactor: enhance data insertion logic in Alembic migration scripts

* Updated data insertion queries for the message, transaction, and vertex_build tables to explicitly list columns and filter out rows with NULL IDs, improving data integrity during migrations.
* Utilized window functions to ensure uniqueness of build_id across different database systems, enhancing compatibility and robustness.
* Maintained consistency in upgrade and downgrade functions to ensure seamless schema transitions.

* Revert "Revert "fix: published flows now can add rows to the database" (#7571)"

This reverts commit a8d2fccd1c.
2025-04-11 20:24:38 +00:00
Gabriel Luiz Freitas Almeida
2b2226ffb9
fix: Standardize endpoint paths in files v2 API (#7595)
fix: standardize endpoint paths in files API

Updated the file API routes to include trailing slashes for consistency. This change affects the upload, list, and delete endpoints, ensuring they all follow the same URL structure.
2025-04-11 20:24:04 +00:00