Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Upgrade typeorm to 0.3.x #5151

Merged
merged 3 commits into from
Jan 13, 2023
Merged

refactor: Upgrade typeorm to 0.3.x #5151

merged 3 commits into from
Jan 13, 2023

Conversation

netroy
Copy link
Member

@netroy netroy commented Jan 12, 2023

@netroy netroy force-pushed the N8N-3904-upgrade-typeorm branch from 37c123f to e38b2d3 Compare January 12, 2023 21:45
@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Jan 12, 2023
krynble
krynble previously approved these changes Jan 13, 2023
Copy link
Contributor

@krynble krynble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Tested Tags, workflows, user creation and update, running workflows, permissions, queue mode execution (trigger), webhooks, it all seems to be working fine.

What worries me is that now the find-type operation can return null instead of undefined and this could lead to potential issues. I saw that you've covered tons of places, so if there is still something it's probably minimal.

Nice job, thanks for updating this!

@netroy netroy merged commit 0a5ab56 into master Jan 13, 2023
@netroy netroy deleted the N8N-3904-upgrade-typeorm branch January 13, 2023 17:12
@n8n-assistant n8n-assistant bot added the Upcoming Release Will be part of the upcoming release label Jan 13, 2023
MiloradFilipovic added a commit that referenced this pull request Jan 16, 2023
* master: (38 commits)
  📚 Add warning about latest version
  fix: Upgrade `jsonwebtoken` to address CVE-2022-23540 (#5116)
  refactor: Upgrade typeorm to 0.3.x (#5151)
  refactor(core): Remove linting exceptions in nodes-base (no-changelog) (#4944)
  📚 Update CHANGELOG.md and main package.json to 0.211.0
  🔖 Release n8n@0.211.0
  ⬆️ Set n8n-core@0.151.0, n8n-editor-ui@0.177.0, n8n-nodes-base@0.209.0 and n8n-workflow@0.133.0 on n8n
  🔖 Release n8n-editor-ui@0.177.0
  ⬆️ Set n8n-design-system@0.51.0 and n8n-workflow@0.133.0 on n8n-editor-ui
  🔖 Release n8n-design-system@0.51.0
  🔖 Release n8n-nodes-base@0.209.0
  ⬆️ Set n8n-core@0.151.0 and n8n-workflow@0.133.0 on n8n-nodes-base
  🔖 Release n8n-node-dev@0.90.0
  ⬆️ Set n8n-core@0.151.0 and n8n-workflow@0.133.0 on n8n-node-dev
  🔖 Release n8n-core@0.151.0
  ⬆️ Set n8n-workflow@0.133.0 on n8n-core
  🔖 Release n8n-workflow@0.133.0
  fix(PayPal  Trigger Node): Omit verification on sandbox env (#5150)
  fix(core): Throw error in UI on expression referencing missing node but do not fail execution (#5158)
  fix(Zoom Node): Add notice about deprecation of Zoom JWT app support (#5156)
  ...

# Conflicts:
#	packages/editor-ui/src/constants.ts
@janober
Copy link
Member

janober commented Jan 16, 2023

Got released with n8n@0.211.1

@janober janober removed the Upcoming Release Will be part of the upcoming release label Jan 16, 2023
netroy added a commit that referenced this pull request Nov 21, 2023
When we upgrade typeorm in #5151, we switched from no pooling to a
default pool-size of 10. This somehow significantly deteriorates the
performance of queries when the application is under load.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants