Commit Graph

120 Commits

Author SHA1 Message Date
Ricardo Espinoza
2b05dbea8c feat(editor): Add "Go to Sub-workflow" menu context action to Workflow Tool (#15396) 2025-05-15 08:27:02 -04:00
Ricardo Espinoza
e2b9ada4b5 feat(editor): Allow jumping into sub-workflow with shortkey (#15200) 2025-05-12 07:24:36 -04:00
Benjamin Schroth
8b467e3f56 feat(core): Implement partial execution for all tool nodes (#15168) 2025-05-12 12:31:17 +02:00
Benjamin Schroth
54dcdedece feat(editor): Support partial executions of tool nodes (#14945) 2025-05-01 08:32:47 +02:00
कारतोफ्फेलस्क्रिप्ट™
3e5e3a585c refactor(core): Trim down NodeHelpers (no-changelog) (#14829) 2025-04-23 13:46:46 +02:00
Charlie Kolb
73748e300e feat(core): Add special @tool displayOption (#14318)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2025-04-04 09:22:13 +02:00
Alex Grozav
8215e0b59f refactor: Migrate NodeConnectionType to const object type (no-changelog) (#14078)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2025-03-21 14:01:26 +02:00
jeanpaul
b6d5092258 fix(editor): Disable test step option in context menu for sub-nodes (#13816) 2025-03-11 14:56:49 +01:00
Michael Kret
7227a29845 fix(Google Calendar Node): Updates and fixes (#10715)
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
2025-01-10 11:16:29 +02:00
Ivan Atanasov
d4116630a6 feat: (Execute Workflow Node): Inputs for Sub-workflows (#11830) (#11837)
Co-authored-by: Charlie Kolb <charlie@n8n.io>
Co-authored-by: Milorad FIlipović <milorad@n8n.io>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-12-20 17:01:22 +01:00
कारतोफ्फेलस्क्रिप्ट™
5a055ed526 refactor(core): Move execution engine code out of n8n-workflow (no-changelog) (#12147) 2024-12-12 13:54:44 +01:00
कारतोफ्फेलस्क्रिप्ट™
2d36b42798 fix(core): Fix supportedNodes for non-lazy loaded community packages (no-changelog) (#11329) 2024-12-10 14:48:39 +01:00
Thomas B
90f8b09af0 docs: Update Skip SSL to mention it is insecure (no-changelog) (#11935) 2024-12-02 13:56:14 +00:00
oleg
565f8cd8c7 feat(editor): Improve how we show default Agent prompt and Memory session parameters (#11491) 2024-11-12 11:33:20 +01:00
oleg
9b6123dfb2 fix(AI Agent Node): Throw better errors for non-tool agents when using structured tools (#11582) 2024-11-08 16:15:33 +01:00
कारतोफ्फेलस्क्रिप्ट™
a092b8e972 fix(core): Use the correct docs URL for regular nodes when used as tools (#11529) 2024-11-04 12:31:17 +01:00
oleg
ef5b7cf9b7 feat(core): Implement Dynamic Parameters within regular nodes used as AI Tools (#10862) 2024-10-02 13:31:22 +02:00
oleg
b5f4afe12e fix(Chat Trigger Node): Fix Allowed Origins paramter (#11011) 2024-09-30 15:42:37 +02:00
Tomi Turtiainen
4f0a1a953f refactor: Enable import/order for design-system, workflow and @n8n packages (#10847) 2024-09-18 10:19:33 +03:00
Shireen Missi
1dea8f4c7d fix: Fix the issue in Trigger Nodes where poll time was not loaded (#10695)
Co-authored-by: Elias Meire <elias@meire.dev>
Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
2024-09-05 17:52:51 +01:00
oleg
da44fe4b89 feat(core): Implement wrapping of regular nodes as AI Tools (#10641)
Co-authored-by: JP van Oosten <jp@n8n.io>
2024-09-04 12:06:17 +02:00
Ricardo Espinoza
c4eb3746d7 refactor: Use NodeConnectionType consistently across the code base (no-changelog) (#10595) 2024-08-29 09:55:53 -04:00
oleg
84e54beac7 feat(editor): Implement workflowSelector parameter type (#10482) 2024-08-22 16:59:12 +02:00
oleg
e5dda5731d fix(OpenAI Chat Model Node): Respect baseURL override for /models (#10076) 2024-07-17 08:25:16 +02:00
Michael Kret
19213efc30 fix: Remove Request Options from sub nodes (no-changelog) (#9853)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-06-25 14:53:31 +03:00
Iván Ovejero
e33a47311f refactor: Upgrade to TypeScript 5.5 (no-changelog) (#9828) 2024-06-24 17:49:59 +02:00
Iván Ovejero
44ea4c73eb refactor: Remove unused lint directives (no-changelog) (#9842) 2024-06-24 12:13:18 +02:00
Jan Oberhauser
4e568631be feat(core): Add batching and other options to declarative nodes (#8885)
Co-authored-by: Michael Kret <michael.k@radency.com>
2024-06-07 08:39:31 +03:00
Michael Kret
b91e50fc92 feat: Run once for each item tooltip (#9486)
Co-authored-by: Elias Meire <elias@meire.dev>
2024-06-04 10:18:17 +03:00
Michael Kret
870412f093 feat(core): Node hints improvements (no-changelog) (#9387)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-05-22 13:35:29 +03:00
Michael Kret
da6088d0bb feat(core): Node hints(warnings) system (#8954) 2024-05-13 15:46:02 +03:00
Michael Kret
2bf0a3933e feat(Webhook Node): Setting to enable multiple outputs/methods (#9086)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-04-24 08:46:16 +03:00
Iván Ovejero
a3b59843d5 refactor(core): Lint for cyclomatic complexity in BE packages (no-changelog) (#9111) 2024-04-10 14:02:02 +02:00
Michael Kret
e84c27c0ce feat(Webhook Node): Overhaul (#8889)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-03-28 10:46:39 +02:00
oleg
a3a931bdd1 fix(editor): Do not throw an error when calculating dynamic inputs/outputs (no-changelog) (#8858)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-03-11 10:34:59 +01:00
Michael Kret
ed7d6b7b3a feat(core): Display conditions in displayOptions (no-changelog) (#7888) 2024-01-24 18:04:46 +02:00
Elias Meire
bed04ec122 fix(Postgres Node): Stop marking autogenerated columns as required (#8230)
## Summary

Postgres columns can be
- [generated as
identity](https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-identity-column/)
- [generated by a custom
expression](https://www.postgresql.org/docs/current/ddl-generated-columns.html)

In these 2 cases, the column is not required when inserting a new row.
This PR makes sure these types of column are not marked required in n8n.

### How to test

1. Create a Postgres table with all types of generated columns:
for version >= 10
  ```sql
  CREATE TABLE "public"."test_table" (
      "id" int8 NOT NULL DEFAULT nextval('test_table_id_seq'::regclass),
      "identity_id" bigint GENERATED ALWAYS AS IDENTITY,
      "id_plus" numeric GENERATED ALWAYS AS (id + 5) STORED,
      "title" varchar NOT NULL,
      "created_at" timestamp DEFAULT now(),
      PRIMARY KEY ("id")
  )
  ```
  Before 10 you have to use serial or bigserial types:
  ```sql
  CREATE TABLE distributors (
     did    serial not null primary key,
     name   varchar(40) NOT NULL CHECK (name <> '')
);
  ```
2. Add a postgres node to canvas and try to insert data without the
generated columns
3. Should successfully insert

More info in Linear/Github issue ⬇️ 

## Related tickets and issues
- fixes #7084
-
https://linear.app/n8n/issue/NODE-816/rmc-not-all-id-fields-should-be-required
-
https://linear.app/n8n/issue/NODE-681/postgres-cant-map-automatically-if-database-requires-a-field

## Review / Merge checklist
- [ ] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.
- [ ] Tests included.
> A bug is not considered fixed, unless a test is added to prevent it
from happening again.
   > A feature is not complete without tests.

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2024-01-05 12:37:33 +01:00
Tomi Turtiainen
cd3f5b5b1f fix: Fix template credential setup for nodes that dont have credentials (#8208)
Fix template credential setup for templates whose workflow includes
nodes that require credentials but the workflow definition does not have
them defined. Like for example
https://n8n.io/workflows/1344-save-email-attachments-to-nextcloud/
2024-01-04 10:21:36 +02:00
Elias Meire
8a5343401d feat(editor): Filter component + implement in If node (#7490)
New Filter component + implementation in If node (v2)

<img width="3283" alt="image"
src="https://github.com/n8n-io/n8n/assets/8850410/35c379ef-4b62-4d06-82e7-673d4edcd652">

---------

Co-authored-by: Giulio Andreini <andreini@netseven.it>
Co-authored-by: Michael Kret <michael.k@radency.com>
2023-12-13 14:45:22 +01:00
Elias Meire
675ec21d33 feat: Data transformation nodes and actions in Nodes Panel (#7760)
- Split Items List node into separate nodes per action
- Review node descriptions
- New icons
- New sections in subcategories

---------

Co-authored-by: Giulio Andreini <andreini@netseven.it>
Co-authored-by: Deborah <deborah@starfallprojects.co.uk>
Co-authored-by: Michael Kret <michael.k@radency.com>
2023-12-08 11:40:05 +01:00
Iván Ovejero
67702c2485 refactor(core): Switch plain errors in workflow to ApplicationError (no-changelog) (#7877)
Ensure all errors in `workflow` are `ApplicationError` or children of it
and contain no variables in the message, to continue normalizing all the
errors we report to Sentry

Follow-up to: https://github.com/n8n-io/n8n/pull/7873
2023-11-30 12:46:45 +01:00
Michael Kret
99a9ea497a feat(core): Add Support for custom CORS origins for webhooks (#7455)
node-850
https://community.n8n.io/t/add-ability-to-set-cors-allow-list-in-n8n-webhooks/7610
https://community.n8n.io/t/configure-cors-pre-flight-request-option-method-in-the-roadmap/32189

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-11-22 17:49:56 +01:00
Elias Meire
a9ab73896e fix(HubSpot Node): Fetching available parameters fails when using expressions (#7672)
This fix affects all nodes, will fix this issue in all nodes

Github issue / Community forum post (link here to close automatically):

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-11-13 12:28:55 +01:00
Elias Meire
14035e1244 feat(editor): Add HTTP request nodes for credentials without a node (#7157)
Github issue / Community forum post (link here to close automatically):

---------

Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-11-13 12:11:16 +01:00
Jan Oberhauser
655efeaf66 feat(core): Add optional Error-Output (#7460)
Add an additional optional error output to which all items get sent that
could not be processed.
![Screenshot from 2023-10-18
17-29-15](https://github.com/n8n-io/n8n/assets/6249596/e9732807-ab2b-4662-a5f6-bdff24f7ad55)

Github issue / Community forum post (link here to close automatically):
https://community.n8n.io/t/error-connector-for-nodes/3094

https://community.n8n.io/t/error-handling-at-node-level-detect-node-execution-status/26791

---------

Co-authored-by: OlegIvaniv <me@olegivaniv.com>
2023-10-30 18:42:47 +01:00
कारतोफ्फेलस्क्रिप्ट™
35bb42c1b9 refactor(core): Avoid passing around static state like default timezone (no-changelog) (#7221) 2023-10-27 14:17:52 +02:00
OlegIvaniv
2febc61ec9 feat(Switch Node): Add support for infinite Switch outputs (#7499)
Github issue / Community forum post (link here to close automatically):
https://community.n8n.io/t/add-more-outputs-to-switch-node/3864

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-10-25 14:34:47 +02:00
कारतोफ्फेलस्क्रिप्ट™
00a4b8b0c6 feat(core): Add support for building LLM applications (#7235)
This extracts all core and editor changes from #7246 and #7137, so that
we can get these changes merged first.

ADO-1120

[DB Tests](https://github.com/n8n-io/n8n/actions/runs/6379749011)
[E2E Tests](https://github.com/n8n-io/n8n/actions/runs/6379751480)
[Workflow Tests](https://github.com/n8n-io/n8n/actions/runs/6379752828)

---------

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Alex Grozav <alex@grozav.com>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-10-02 17:33:43 +02:00
Michael Kret
3a474552b2 feat(Set Node): Overhaul (#6348)
Github issue / Community forum post (link here to close automatically):
https://github.com/n8n-io/n8n/pull/6348

---------

Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Marcus <marcus@n8n.io>
2023-09-19 13:16:35 +03:00
कारतोफ्फेलस्क्रिप्ट™
6aa7b93473 refactor(core): Deprecate prepareOutputData (no-changelog) (#7091) 2023-09-05 12:59:02 +02:00