@ironfang/n8n-nodes-ironfang 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,9 @@ Use Ironfang Render, Finance, Audit and Rig, and Ironfang's public developer
6
6
  tools, in n8n. The Ironfang action node has **162 operations**, grouped by
7
7
  product. Ironfang Trigger receives signed Audit, Finance and Render events.
8
8
 
9
- **Release: 0.4.0.** The products are named Ironfang Render, Finance and Audit
9
+ **Release: 0.4.1.** This patch makes the package installable on n8n releases
10
+ before 2.33 that use PostgreSQL; see [Installation](#installation-and-credentials).
11
+ It includes 0.4.0, in which the products are named Ironfang Render, Finance and Audit
10
12
  (formerly Renderwolf, Financewolf and Auditwolf), and the node follows: requests
11
13
  go to the `/render`, `/finance` and `/audit` API prefixes and scopes are shown as
12
14
  `render:*`, `finance:*` and `audit:*`. It adds Ironfang Rig, Finance jobs,
@@ -18,7 +20,11 @@ change; see [Compatibility with earlier names](#compatibility-with-earlier-names
18
20
 
19
21
  On self-hosted n8n, open **Settings → Community Nodes → Install** and enter
20
22
  `@ironfang/n8n-nodes-ironfang`. The old `@ironfang/n8n-nodes-renderwolf` package
21
- is deprecated. n8n Cloud installation requires n8n's manual package verification;
23
+ is deprecated. Versions 0.2.3 to 0.4.0 cannot be installed on n8n releases
24
+ before 2.33 that use PostgreSQL: n8n reports `Failed to save installed package`
25
+ with `invalid input syntax for type integer`, because those releases store a
26
+ node's newest version as an integer and these packages' newest node version was
27
+ 1.1 or 1.2. Install 0.4.1 or later, or upgrade n8n. n8n Cloud installation requires n8n's manual package verification;
22
28
  npm publishing and automated checks do not establish that approval.
23
29
 
24
30
  Create an `if_live_` platform API key at [portal.ironfang.uk](https://portal.ironfang.uk)
@@ -192,7 +198,8 @@ Result against the current API: upgrade to fix it.
192
198
 
193
199
  Existing version 1 workflows retain string `bytes` and `error`
194
200
  fields. Version 1.1 uses numeric `bytes` and structured errors; version 1.2 adds
195
- paging to the Audit lists named above and is otherwise identical. All expose exact
201
+ paging to the Audit lists named above and is otherwise identical. Version 2,
202
+ which new nodes use, behaves as 1.2 does. All expose exact
196
203
  `byteLength`, item links and `_ironfang` response metadata when available:
197
204
  request ID, HTTP status, cache status and charged credits. Continued errors
198
205
  include available problem codes and retry information. New file operations use
@@ -214,15 +221,17 @@ and replace placeholder IDs, bucket names and example invoice data before runnin
214
221
  All examples are inactive on import.
215
222
 
216
223
  The tested n8n runtime is **2.38.1**, using its filesystem binary storage.
217
- Compilation/lint/unit checks run under Node.js 22 and 24. Saved version 1, 1.1
218
- and 1.2 workflows are exercised; older n8n host releases are not certified by this
224
+ Compilation/lint/unit checks run under Node.js 22 and 24. Saved version 1, 1.1,
225
+ 1.2 and 2 workflows are exercised; older n8n host releases are not certified by this
219
226
  matrix. The published node has no external runtime dependencies.
220
227
 
221
228
  ## Development and releases
222
229
 
223
230
  Run `npm ci --ignore-scripts` and `npm run check`. With Docker, run
224
- `bash scripts/check-runtime.sh` and `bash scripts/check-webhook-runtime.sh`.
225
- These execute local fixtures, including multipart/file handling and signed
231
+ `bash scripts/check-runtime.sh`, `bash scripts/check-webhook-runtime.sh` and
232
+ `bash scripts/check-postgres-install.sh`. The last installs the build through
233
+ n8n's community-package API on PostgreSQL, against n8n 2.32.4, from a throwaway
234
+ local registry. The first two execute local fixtures, including multipart/file handling and signed
226
235
  webhooks; they make no paid API calls. CI requires both before release.
227
236
  Lint runs with inline configuration disabled, matching the submission scanner's
228
237
  handling of suppression comments. Shared code in `lib/` is also linted and packaged.
@@ -19,7 +19,11 @@ exports.renderwolf = {
19
19
  icon: { light: 'file:ironfang.svg', dark: 'file:ironfang.dark.svg' },
20
20
  usableAsTool: true,
21
21
  group: ['transform'],
22
- version: [1, 1.1, 1.2],
22
+ // n8n before 2.33 stores a community node's newest version in an integer
23
+ // column on PostgreSQL and cannot install a package whose newest version
24
+ // is fractional, so the newest version here is always a whole number.
25
+ // Version 2 behaves as 1.2 does.
26
+ version: [1, 1.1, 1.2, 2],
23
27
  subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
24
28
  description: 'Rendering and developer APIs from Ironfang',
25
29
  defaults: { name: 'Ironfang' },
@@ -32,6 +32,19 @@ live paid job. No live authenticated customer operation was used. `npm run check
32
32
  (220 tests), both real n8n 2.38.1 Docker checks and `npm audit` (zero reported
33
33
  vulnerabilities) passed locally on 21 September.
34
34
 
35
+ The 0.4.1 patch answers an install failure reported from an n8n dashboard:
36
+ `Failed to save installed package`, `invalid input syntax for type integer:
37
+ "1.1"`. n8n before 2.33.0 stores an installed community node's newest version
38
+ in an integer column on PostgreSQL (n8n-io/n8n#34717 changed it), and 0.2.3 to
39
+ 0.4.0 declared a fractional newest version. It was reproduced on n8n 2.32.4
40
+ with PostgreSQL 16 against the published 0.4.0 (the same error, with `"1.2"`),
41
+ and the 0.4.1 build then installed on the same n8n from a local registry, with
42
+ newest versions 2 and 1 recorded; it also installs on 2.38.1. The earlier
43
+ Docker checks could not see this: they load `dist/` as a custom extension on
44
+ SQLite, which records nothing. `scripts/check-postgres-install.sh` now runs in
45
+ CI before release. 224 tests and all three Docker checks passed locally on
46
+ 21 September.
47
+
35
48
  ## Automated coverage
36
49
 
37
50
  - 0.4.0 adds cases for routing saved `/renderwolf` and origin bases to the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironfang/n8n-nodes-ironfang",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "n8n nodes for Ironfang: Render, Finance, Audit, Rig, public tools and signed events",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",