-
Notifications
You must be signed in to change notification settings - Fork 2
fix(deps): update dependency hubspot-api-client to v12 #247
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
base: main
Are you sure you want to change the base?
Conversation
d80fe50
to
a79385d
Compare
9dd1cac
to
c915f6a
Compare
a0404f0
to
314f3e4
Compare
eb8523f
to
fbfcd59
Compare
1f28a83
to
8418099
Compare
8a54511
to
36461e8
Compare
36461e8
to
853a287
Compare
298a1bc
to
db63944
Compare
After some contract testing with the hubspot-api-client and looking into the changelog from v6 to v12 I've found the following that would impact the functionality if we approve this PR Breaking Changes that impact us:
Functions That Need Updates:
|
20e3e8b
to
64a94bf
Compare
64a94bf
to
68efe38
Compare
for more information, see https://pre-commit.ci
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
for more information, see https://pre-commit.ci
This branch has now been updated to completely migrate from Setup Steps
Testing Plan
python manage.py configure_hubspot_properties
python manage.py sync_hubspot_ids_to_db
|
This PR contains the following updates:
==6.1.0
->==12.0.0
Release Notes
HubSpot/hubspot-api-python (hubspot-api-client)
v12.0.0
Compare Source
v11.1.0
Compare Source
v11.0.0
v10.0.0
v9.0.0
Automation Actions client
automation.actions.definitions_api.create()
method to acceptpublic_action_definition_egg
instead ofextension_action_definition_input
and returnedPublicActionDefinition
insteadExtensionActionDefinition
.automation.actions.definitions_api.get_by_id()
method to returnPublicActionDefinition
instead ofExtensionActionDefinition
.automation.actions.definitions_api.get_page()
method to returnCollectionResponsePublicActionDefinitionForwardPaging
instead ofCollectionResponseExtensionActionDefinitionForwardPaging
.automation.actions.definitions_api.update()
method to acceptpublic_action_definition_patch
instead ofextension_action_definition_patch
and returnedPublicActionDefinition
insteadExtensionActionDefinition
.automation.actions.functions_api.create_or_replace()
method to returnPublicActionFunctionIdentifier
instead ofActionFunctionIdentifier
.automation.actions.functions_api.create_or_replace_by_function_type()
method to returnPublicActionFunctionIdentifier
instead ofActionFunctionIdentifier
.automation.actions.functions_api.get_by_function_type()
method to returnPublicActionFunction
instead ofActionFunction
.automation.actions.functions_api.get_by_id()
method to returnPublicActionFunction
instead ofActionFunction
.automation.actions.functions_api.get_page()
method to returnCollectionResponsePublicActionFunctionIdentifierNoPaging
instead ofCollectionResponseActionFunctionIdentifierNoPaging
.automation.actions.revisions_api.get_by_id()
method to returnPublicActionRevision
instead ofActionRevision
.automation.actions.revisions_api.get_page()
method to returnCollectionResponsePublicActionRevisionForwardPaging
instead ofCollectionResponseActionRevisionForwardPaging
.POST_ACTION_EXECUTION
toautomation.actions.models.PublicActionFunctionIdentifier
andautomation.actions.models.PublicActionFunction
.automation_field_type
toautomation.actions.models.InputFieldDefinition
.automation.actions.models.OutputFieldDefinition
.automation.actions.models.PublicExecutionTranslationRule
.automation.actions.models.FieldTypeDefinition
:CMS clients
attach_to_lang_group()
,detach_from_lang_group()
andupdate_langs()
methods of all Api clients(cms.blogs.authors.blog_authors_api
,cms.blogs.blog_posts.blog_posts_api
andcms.blogs.tags.blog_tags_api
) returnNone
instead ofError
._property
tocms.blogs.authors.blog_authors_api.get_by_id()
andcms.blogs.authors.blog_authors_api.get_page()
.cms.source_code.content_api.get()
method tocms.source_code.content_api.download()
.cms.source_code.content_api.replace()
method tocms.source_code.content_api.create_or_update()
.hash
tocms.source_code.models.AssetFileMetadata
.properties
tocms.source_code.metadata_api.get()
.CRM Associations and Objects clients
category
fromErrorCategory
tostring
incrm.associations.models.StandardError
.crm.associations.v4.schema.definitions_api.delete()
method tocrm.associations.v4.schema.definitions_api.archive()
.object_id
andcrm.associations.v4.basic_api.to_object_id
incrm.associations.v4.basic_api.archive()
,crm.associations.v4.basic_api.create()
andcrm.associations.v4.basic_api.create_default()
methods fromint
tostring
.object_id
incrm.associations.v4.basic_api.get_page()
method fromint
tostring
.to_object_id
andfrom_object_id
incrm.associations.v4.models.LabelsBetweenObjectPair
tostring
.to_object_id
incrm.associations.v4.models.MultiAssociatedObjectWithLabel
tostring
.category
inErrorCategory
tostring
incrm.associations.v4.models.StandardError
.errors
incrm.associations.v4.models.BatchResponsePublicDefaultAssociation
fromStandardError1[]
toStandardError[]
.inverse_label
tocrm.associations.v4.models.PublicAssociationDefinitionCreateRequest
andcrm.associations.v4.models.PublicAssociationDefinitionUpdateRequest
.crm.time_line.events_api.create_batch()
method to returnNone
instedBatchResponseTimelineEventResponse
.category
fromErrorCategory
tostring
incrm.time_line.models.StandardError
.crm.objects.associations_api
.postal_mail
topostal_mail_id
incrm.objects.postal_mail.basic_api()
.after
fromint
tostring
in all CRM modelsPublicObjectSearchRequest
.id_property
in all CRM modelsSimplePublicObjectBatchInput
.CRM Extensions client
crm.extinsions.cards_api.archive()
method from(app_id, card_id)
to(card_id, app_id)
.crm.extinsions.cards_api.create()
method to returnPublicCardResponse
insteadCardResponse
.crm.extinsions.cards_api.get_all()
method to returnPublicCardListResponse
insteadCardListResponse
.crm.extinsions.cards_api.get_by_id()
method from(app_id, card_id)
to(card_id, app_id)
and method returnPublicCardResponse
insteadCardResponse
.crm.extinsions.cards_api.update()
method from(app_id, card_id, card_patch_request)
to(card_id, app_id, card_patch_request)
and method returnPublicCardResponse
insteadCardResponse
.serverless_function
andcard_type
tocrm.extinsions.models.CardFetchBody
andcrm.extinsions.models.CardFetchBodyPatch
.audit_history
tocrm.extinsions.models.PublicCardResponse
.marketing_events
tocrm.extinsions.models.CardObjectTypeBody
.developer_hapikey
tocrm.extinsions.videoconferencing.settings_api
.fetch_accounts_uri
tocrm.extinsions.videoconferencing.models.ExternalSettings
.CRM Extensions Accounting Apis
as deprecated.CRM clients
import_template
andimport_source
params tocrm.imports.models.PublicImportResponse
.crm.lists.memberships_api()
tocrm.lists.list_app_membership_api()
.crm.lists.lists_api()
tocrm.lists.list_app_api()
.list_id
andlist_ids: list[]
fromint
tostring
in all methods of apicrm.lists.list_app_api()
.list_id
,request_body: list[]
andsource_list_id
fromint
tostring
in all methods of apicrm.lists.list_app_membership_api()
.crm.lists.memberships_api.add_remove()
tocrm.lists.list_app_membership_api.add_and_remove()
.crm.lists.models.CollectionResponseLong
tocrm.lists.models.CollectionResponseJoinTimeAndRecordId
.results: list[int]
toresults: list[JoinTimeAndRecordId]
incrm.lists.models.CollectionResponseJoinTimeAndRecordId
.list_id
,business_unit_id
,subscription_ids: list[]
,email_id
,app_id
,updated_by_id
,rtype: list[]
,record_ids_to_remove: list[]
,record_ids_to_add: list[]
,record_ids_removed: list[]
,records_ids_added: list[]
andrecord_ids_missing: list[]
fromint
tostring
in allcrm.lists.models
in which these parameters are present.validate_deal_stage_usages_before_delete
tocrm.pipelines.pipelines_api.archive()
,crm.pipelines.pipelines_api.replace()
andcrm.pipelines.pipelines_api.update()
methods.write_permissions
param tocrm.pipelines.models.PipelineStage
.description
param tocrm.schemas.models.ObjectTypeDefinitionPatch
.option_sort_strategy
,show_currency_symbol
,form_field
,referenced_object_type
,text_display_hint
,searchable_in_global_search
and
number_display_hint
tocrm.schemas.models.ObjectTypePropertyCreate
.Marketing client
archive()
,create()
,do_cancel()
,get_by_id()
,replace()
andupdate()
frommarketing.events.marketing_events_external_api()
tomarketing.events.basic_api
.do_upsert()
frommarketing.events.marketing_events_external_api()
tomarketing.events.batch_api()
.archive_batch()
toarchive()
frommarketing.events.marketing_events_external_api.archive_batch()
tomarketing.events.batch_api.archive()
.do_email_upsert_by_id()
anddo_upsert_by_id()
frommarketing.events.marketing_events_external_api()
tomarketing.events.subscriber_state_changes()
.marketing.events.settings_external_api()
tomarketing.events.settings_api()
.is_large_value
tomarketing.events.models.PropertyValue
.category
fromErrorCategory
tostring
inmarketing.events.models.StandardError
.lifecycle_stages
tomarketing.forms.models.HubSpotFormConfiguration
.legal_consent_options
fromobject
toHubSpotFormDefinitionAllOfLegalConsentOptions
in allmarketing.forms.models
where parameter exists.field_type
parameter, now defaults topayment_link_radio
insteadfile
inDependentFieldDependentField
inmarketing.forms.models
.marketing.forms.models.HubSpotFormDefinitionPatchRequestLegalConsentOptions
tomarketing.forms.models.HubSpotFormDefinitionAllOfLegalConsentOptions
.other
toallowed_values
inmarketing.forms.models
.Events, Files and OAuth clients
files.files
tofiles
.files.files_api.get_metadata()
.expires_at
tofiles.models.File
andfiles.models.FileUpdateInput
.category
fromErrorCategory
tostring
infiles.models.StandardError
.index_table_name
,index_table_name
,object_property_propname
,property_propname
andid
toget_page()
method.events.send_api.behavioral_events_tracking_api()
toevents.send_api.custom_event_data_api()
.prev
toevents.models.Paging
.scope_to_scope_group_pks, trial_scopes, trial_scope_to_scope_group_pks
fromoauth.models.AccessTokenInfoResponse
.Client APIs
crm.extensions.calling.recording_settings_api
API.crm.companies.gdpr_api
API.crm.deals.gdpr_api
API.crm.objects.line_items.gdpr_api
API.crm.objects.calls.gdpr_api
API.crm.objects.communications.gdpr_api
API.crm.objects.emails.gdpr_api
API.crm.objects.feedback_submissions.gdpr_api
API.crm.objects.meetings.gdpr_api
API.crm.objects.notes.gdpr_api
API.crm.objects.postal_mail.gdpr_api
API.crm.objects.tasks.gdpr_api
API.crm.objects.products.gdpr_api
API.crm.objects.quotes.gdpr_api
API.crm.objects.tickets.gdpr_api
API.crm.line_items.gdpr_api
API.marketing.events.basic_api
API.marketing.events.batch_api
API.marketing.events.subscriber_state_changes_api
API.v8.2.1
Updated
PublicUser
model insettings.users.models
:super_admin
: boolean.send_welcome_email
: boolean.v8.2.0
Compare Source
v8.1.1
v8.1.0
v8.0.0
Compare Source
v7.5.0
Compare Source
Added
crm.properties
API clientv7.4.0
Compare Source
Added
crm.associations.v4
API clientcrm.imports.public_imports_api
API clientcrm.extensions.cards.sample_response_api
API clientfetch_all
funcFixed
auth.oauth.refresh_tokens_api.archive_refresh_token
methodv7.3.1
Compare Source
Added
Fixed
crm.associations.types_api
v7.3.0
Compare Source
Added
Deprecated
v7.2.2
Compare Source
v7.2.1
Compare Source
v7.2.0
Compare Source
Added
v7.1.0
Compare Source
Changed
Fixed
v7.0.0
Compare Source
Changed (Breaking changes)
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.