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

fix(HubSpot Node): Migrate from v2 owners api #10013

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

Joffcom
Copy link
Member

@Joffcom Joffcom commented Jul 11, 2024

Summary

Moves the v1 and v2 node away from the v2 hubspot owners api, In v2 the id is an int and in v3 it is a string, To prevent a breaking change we convert to an int but also keep in the option that HubSpot may decide in the future to actually use non numerical characters.

v2 API: https://developers.hubspot.com/beta-docs/reference/api/crm/owners/v2#get-a-list-of-owners
v3 API: https://developers.hubspot.com/beta-docs/reference/api/crm/owners/v3#get-%2Fcrm%2Fv3%2Fowners%2F

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/NODE-1384/hubspot-owners-api-sunset

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team node/improvement New feature or request labels Jul 11, 2024
Copy link
Contributor

@ShireenMissi ShireenMissi left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

cypress bot commented Jul 11, 2024

3 flaky tests on run #5877 ↗︎

0 399 0 0 Flakiness 3

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 Joffcom 🗃️ e2e/*
Project: n8n Commit: e87b40acc0
Status: Passed Duration: 04:46 💡
Started: Jul 11, 2024 12:37 PM Ended: Jul 11, 2024 12:41 PM
Flakiness  5-ndv.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Screenshots Video
Flakiness  10-undo-redo.cy.ts • 1 flaky test

View Output Video

Test Artifacts
Undo/Redo > should undo/redo adding nodes Test Replay Screenshots Video
Flakiness  24-ndv-paired-item.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > resolves expression with default item when input node is not parent, while still pairing items Test Replay Screenshots Video

Review all test suite changes for PR #10013 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@Joffcom Joffcom merged commit 56dd491 into master Jul 12, 2024
27 checks passed
@Joffcom Joffcom deleted the node-1384-hubspot-owners-api-sunset branch July 12, 2024 07:29
@github-actions github-actions bot mentioned this pull request Jul 17, 2024
@janober
Copy link
Member

janober commented Jul 17, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team node/improvement New feature or request Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants