Commit Graph
70 Commits
Author SHA1 Message Date
MatsuandClaude Opus 4.8 024d04397b chore: Remove shamefully-hoist (#32569)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 10:03:07 +00:00
TongboandBao ee7aa0b66a fix(Postgres Node): Spread array queryReplacement across multiple bind values (#31704)
Co-authored-by: Bao <bao0541@users.noreply.github.com>
2026-06-04 15:02:31 +00:00
Alexander Gekov 4df05683cc fix(Postgres Node): Return empty array for SELECTs that match no rows (#30528) 2026-05-28 08:03:40 +00:00
Gauthier POGAM--LE MONTAGNERandGarrit Franke 11ebf61471 feat(Postgres Node): Sort PostgreSQL schemas and tables alphabetically when fetching (#28036)
Co-authored-by: Garrit Franke <32395585+garritfra@users.noreply.github.com>
2026-04-24 13:50:17 +00:00
荻升 7d51406656 fix(Postgres Node): Enable non-numeric comparisons for WHERE clause operators (#18544) 2026-02-05 09:10:38 +00:00
f73fae6fe7 fix: Escape special characters in queries (#23133)
Co-authored-by: Dimitri Lavrenük <dimitri.lavrenuek@n8n.io>
Co-authored-by: Dimitri Lavrenük <20122620+dlavrenuek@users.noreply.github.com>
2026-01-09 12:39:13 +00:00
RomanDavydchukandShireen Missi 3aeb247bf2 fix(Postgres Node): Add Continue on Error support for type validation errors in RMC (#23235)
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
2025-12-19 13:01:39 +00:00
RomanDavydchuk 42cda59ee5 fix(PostgreSQL Node): Input items with array being modified (#22426) 2025-11-28 19:03:01 +02:00
Elias Meire 669a7b5a9d fix(Postgres Node): Fix citext and user defined field type mapping (#19780) 2025-09-24 22:30:44 +03:00
Michael Kret f2eb38617f feat(MySQL Node): Hints for executeQuery and select operations (#16753) 2025-07-04 13:57:18 +03:00
Elias Meire 3add0b82ba fix(Postgres Node): Fix inserting null or undefined in type=json columns (#14672) 2025-04-16 16:36:23 +02:00
Michael Kret f85b851851 feat(Postgres Node): Batching warning for executeQuery operation insert query (#14287) 2025-04-01 10:57:26 +03:00
Alex Grozavandकारतोफ्फेलस्क्रिप्ट™ 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
Michael KretandDana b5632545c5 fix(Postgres Node): RMC do not mark collumn as required if identity_generation is BY DEFAULT (#13752)
Co-authored-by: Dana <152518854+dana-gill@users.noreply.github.com>
2025-03-13 07:35:50 +02:00
Dana 6c266acced fix(Postgres Node): Accommodate null values in query parameters for expressions (#13544) 2025-02-27 16:39:08 +01:00
Shireen Missi 2ef6f111d0 fix: Manually reverted PR 11716 Do not assign all paired items (no-changelog) (#13429) 2025-02-21 19:38:35 +00:00
कारतोफ्फेलस्क्रिप्ट™ dbb9475b7b refactor(core): Remove NodeExecutionOutput. Add execution hints directly to the context (#13111) 2025-02-10 16:51:01 +01:00
Michael Kret 4c2546dc78 feat: Do not assign all paired items (no-changelog) (#11716) 2025-02-06 13:46:28 +00:00
Shireen Missiandकारतोफ्फेलस्क्रिप्ट™ 83ce3a9096 fix(Postgres Node): Allow using composite key in upsert queries (#12639)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
2025-01-17 08:42:46 +00:00
Danny Martini 35cb10c5e7 refactor(Postgres Node): Backport connection pooling to postgres v1 (#12484) 2025-01-16 11:09:12 +01:00
Dana 9dd068632b fix(Postgres Node): Allow passing in arrays to JSON columns for insert (#12452) 2025-01-08 09:41:51 +00:00
Danny Martiniandकारतोफ्फेलस्क्रिप्ट™ 2ca37f5f7f fix(Postgres Node): Re-use connection pool across executions (#12346)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-12-27 09:15:37 +01:00
DanaandShireen Missi 06b86af735 fix(Postgres Node): Account for JSON expressions (#12012)
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
2024-12-20 18:35:23 +01:00
कारतोफ्फेलस्क्रिप्ट™ bafac73eb5 refactor: Impose import/order linting rule across nodes packages (no-changelog) (#12314) 2024-12-19 18:46:14 +01:00
Dana 0c15e30778 fix(Postgres Node): Allow users to wrap strings with $$ (#12034) 2024-12-16 17:02:48 +00:00
Ria ScholzandElias Meire 3c57f46aae fix(Postgres Node): Special datetime values cause errors (#11225)
Co-authored-by: Elias Meire <elias@meire.dev>
2024-10-22 12:02:39 +02:00
oleg ef5b7cf9b7 feat(core): Implement Dynamic Parameters within regular nodes used as AI Tools (#10862) 2024-10-02 13:31:22 +02:00
Michael Kret 4a63cff5ec fix(Postgres Node): Falsy query parameters ignored (#10960) 2024-09-26 16:09:13 +01:00
Iván Ovejero 05e609d714 build: Upgrade nodelinter to 1.16.2 (no-changelog) (#10779) 2024-09-12 16:53:36 +02:00
Ricardo Espinoza c4eb3746d7 refactor: Use NodeConnectionType consistently across the code base (no-changelog) (#10595) 2024-08-29 09:55:53 -04:00
कारतोफ्फेलस्क्रिप्ट™ be52176585 refactor(core): Allow custom types on getCredentials (no-changelog) (#10567) 2024-08-27 15:23:58 +02:00
Michael KretandShireen Missi ce46bf516a fix(Google Sheets Node): Better error when column to match on is empty (#10442)
Co-authored-by: Shireen Missi <shireen@n8n.io>
2024-08-16 15:59:59 +01:00
Shireen Missi 519fc4d753 fix(Postgres Node): Expressions in query parameters for Postgres executeQuery operation (#10217) 2024-07-31 08:39:37 +01:00
Jon 4d37b9669f docs: Update add options text (no-changelog) (#10049) 2024-07-29 13:27:23 +01:00
Michael Kret 00ec253337 fix(Postgres Node): Option to treat query parameters enclosed in single quotas as text (#10214) 2024-07-29 14:48:11 +03:00
कारतोफ्फेलस्क्रिप्ट™andMichael Kret 85aa560a5d refactor(core): Centralize SSH Tunnel management (#9906)
Co-authored-by: Michael Kret <michael.k@radency.com>
2024-07-04 12:29:44 +02:00
Iván Ovejero 44ea4c73eb refactor: Remove unused lint directives (no-changelog) (#9842) 2024-06-24 12:13:18 +02:00
Michael KretandGiulio Andreini 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
aya e896889394 feat(Postgres Node): Add option IS NOT NULL and hide value input fields (#9241) 2024-05-02 10:08:57 +01:00
Michael Kret 08e35027f1 fix(Postgres Node): Convert js arrays to postgres type, if column type is ARRAY (#9160) 2024-04-18 12:58:04 +03:00
Michael Kret 58518b684b feat(Postgres Node): Options keepAlive and keepAliveInitialDelayMillis (#9067) 2024-04-09 18:41:51 +03:00
कारतोफ्फेलस्क्रिप्ट™ 457cac4cf9 fix(Postgres Node): Close connection pool only if it's not already closed or closing (#8690) 2024-02-21 11:27:21 +01:00
Tomi Turtiainenandकारतोफ्फेलस्क्रिप्ट™ 9a1cc56806 fix: Set '@typescript-eslint/return-await' rule to 'always' for node code (no-changelog) (#8363)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-01-17 17:08:50 +02:00
Elias MeireandMichael Kret 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
Elias MeireandGiulio Andreini 071e6d6b6e feat(editor): Add fullscreen view to code editor (#8084)
## Summary

<img width="1240" alt="image"
src="https://github.com/n8n-io/n8n/assets/8850410/2819f4ce-c343-431a-8a88-a1bc9c4b572a">
<img width="2649" alt="image"
src="https://github.com/n8n-io/n8n/assets/8850410/36862aaf-cc4c-4668-bdc8-cf5a6f00babe">

1. Add code node and open it
3. Click the fullscreen button in the bottom right
4. A fullscreen dialog should appear and allow editing the code
5. Changes made in the fullscreen dialog should be applied to the
original code editor when closed

It should work the same way for HTML/SQL/JSON editors

⚠️ Modal layout was updated so that modals/dialogs are centered, try to
test some modals

## Related tickets and issues
https://linear.app/n8n/issue/NODE-1009/add-fullscreen-view-to-code-node



## 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: Giulio Andreini <andreini@netseven.it>
2024-01-04 17:23:24 +01:00
Michael Kret 435392cbfe fix(Postgres Node): Do not include id column in upsert fields selection if it's not unique (#7975)
## Summary
Do not include id column in upsert fields selection if it's not unique
Forum:
https://community.n8n.io/t/postgres-node-insert-or-update-unique-column-name/32520
2023-12-11 17:34:24 +02:00
Jon 97e39c39d9 docs: Replace references to set node (no-changelog) (#7973)
## Summary
This replaces the set node references with edit fields.

Ref: https://n8nio.slack.com/archives/C036PA5D42D/p1702040900165709
2023-12-11 10:10:03 +00:00
Iván Ovejero 62c096710f refactor: Run lintfix (no-changelog) (#7537)
- Fix autofixable violations
- Remove unused directives
- Allow for PascalCased variables - needed for dynamically imported or
assigned classes, decorators, routers, etc.
2023-10-27 14:15:02 +02:00
Michael Kret e2c3c7aceb fix(core): Missing pairing info (#7326)
Github issue / Community forum post (link here to close automatically):
2023-10-10 18:36:20 +03:00
Michael Kret 763d4514fa fix(Postgres Node): Node requires comma-separated string even when using a single parameter through an expression (#7300)
Github issue / Community forum post (link here to close automatically):
2023-09-29 13:27:31 +03:00