कारतोफ्फेलस्क्रिप्ट™
aac207a947
feat: Reduce initial memory spike at server startup (no-changelog) ( #4735 )
...
* feat: Reduce initial memory spike at server startup (no-changelog)
This changes the frontend types generation to generate less garbage for the GC to collect.
* switch to stream pipelines for writing all the static files
and, move all static file generation before the server starts
2022-11-28 17:41:44 +01:00
कारतोफ्फेलस्क्रिप्ट™
b6c57e19fc
feat(core): Lazy-load nodes and credentials to reduce baseline memory usage ( #4577 )
2022-11-23 16:20:28 +01:00
कारतोफ्फेलस्क्रिप्ट™
0b754a4f85
refactor: Improve error logging/reporting for cli
( #4691 )
...
* use response error classes instead of `ResponseError` everywhere
* improve error logging in dev mode or when telemetry is disabled
2022-11-22 14:00:36 +01:00
Mutasem Aldmour
30e5d3d04c
feat(core): Add license support to n8n ( #4566 )
...
* add sdk
* add license manager
* type fix
* add basic func
* store to db
* update default
* activate license
* add sharing flag
* fix setup
* clear license
* update conosle log to info
* refactor
* use npm dependency
* update error logs
* add simple test
* add license tests
* update tests
* update pnpm package
* fix error handling types
* Update packages/cli/src/config/schema.ts
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
* make feature enum
* add warning
* update sdk
* Update packages/cli/src/config/schema.ts
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
2022-11-21 15:41:24 +01:00
Iván Ovejero
d35d63a855
feat(core): Add credential runtime checks and prevent tampering in manual run ( #4481 )
...
* ✨ Create `PermissionChecker`
* ⚡ Adjust helper
* 🔥 Remove superseded helpers
* ⚡ Use `PermissionChecker`
* 🧪 Add test for dynamic router switching
* ⚡ Simplify checks
* ⚡ Export utils
* ⚡ Add missing `init` method
* 🧪 Write tests for `PermissionChecker`
* 📘 Update types
* 🧪 Fix tests
* ✨ Set up `runManually()`
* ⚡ Refactor to reuse methods
* 🧪 Clear shared tables first
* 🔀 Adjust merge
* ⚡ Adjust imports
2022-11-11 11:14:45 +01:00
कारतोफ्फेलस्क्रिप्ट™
698d96a617
refactor: Setup typescript project references across workflow, core, and cli ( #4519 )
...
* refactor: use consistent folder structure across workflow, core, and cli
* setup typescript project references across workflow, core, and cli
2022-11-09 15:25:00 +01:00