- Fix ArgumentError after invoking dynamic writer via method_missing redefining reader
- Fix frozen string literal warning, add magical comment to freeze string literals everywhere
BREAKING CHANGE : requires ruby 3.3+, as ruby 3.2 is EOL, we're not testing against olders versions
Fix contact property accessors captaincontrat#36, thanks to @ur5us!
A handful of fixes, thanks to @ur5us!
- Fix console and make it useful captaincontrat#32
- Fix pagination for contacts captaincontrat#33
- Fix ID parsing for contacts API captaincontrat#34
- BREAKING CHANGES to
ContactList- adapt as hubspot is sunsetting contact list API v1
- this required a bunch of changes to the interface. Please check captaincontrat#31 for details
- notable changes:
.allis now paginated- filters parameters changed a lot. It's way more powerful but also more verbose. Find the official docs here
ContactList#portal_idis removedprocessing_typereplaces the booleandynamicupdate_name!replacesupdate!, there is no unique update endpoint anymore- please open a pull request if you need to update filters via API (documentation is here)
#contact_idsreplacescontacts#addand#removenow receive a list of contact ids instead ofContactinstances
Contact.allused the contacts list API, migrate to contacts API insteadContacts won't include lists membership anymore- Official support of ruby 4
- we've been running on ruby 4 in production for a few months but it's always nice to have CI run it here too.
I checked the other announced sunsets, this gem does not seem to be impacted, but watch out if it concerns you app. More info here: https://developers.hubspot.com/changelog
Thanks to @ur5us for the heads-up!
- Add a few ids to Hubspot::Association::ASSOCIATION_DEFINITIONS
- Add Conversation Thread #find endpoint as per https://developers.hubspot.com/docs/reference/api/conversations/inbox-and-messages#get-%2Fconversations%2Fv3%2Fconversations%2Fthreads%2F%7Bthreadid%7D
- BREAKING CHANGE for Owner: use v3 API endpoint as v2 will be stopped in a few days.
- It changes the return format of Hubspot::Owner.all as it introduces pagination.
- fixes #28 - PR #29, thanks @kpgdev!
- Add Task#search endpoint
- Add Task#update! endpoint
- BREAKING CHANGE : Ticket#create! and Task#create now takes association param (array), build it using Association.build_association_param
- Add default properties for Ticket#find
- Add various Ticket endpoints (#create!, #update!, #find)
- Add TicketProperties#create!
- Add Task#create! and Task#find
- BREAKING CHANGE : requires ruby 3.2+, as we're not testing against olders versions
- Added the possibility to add custom properties to
Meeting#findandMeeting#find_by_contact. #17
- Added the possiblity to sort and add custom filters to
Meeting#find_by_contact. #16 - BREAKING CHANGE:
Meeting#find_by_contactnow returns a hash{ meetings: [...], after: after }instead of directly returning the meetings array.
- Added
Meeting#all,Meeting#findandMeeting#find_by_contact. #14
- BREAKING: requires ruby 2.7+, as we're not testing against olders rubies. #11 + #12
- Added Resource#properties reader (thanks @ur5us!) #10
- Get a single property and a single property group (thanks @sammyd!) #9
-
API keys (
hapikey) are deprecated. Please useaccess_tokens. #7 -
Breaking change: removed previously deprecated methods
Hubspot::Utils.dump_propertiesandHubspot::Utils.restore_properties
-
Governance update: this gem is now maintained by the team over at @captaincontrat + @Intrepidd from @ecotable
-
Testing against modern ruby & activesupport versions #6
-
Breaking change regarding
Hubspot::Association, for example :before :
Hubspot::Association.batch_create([{ from_id: 1, to_id: 2, definition_id: Hubspot::Association::COMPANY_TO_CONTACT }])now:
Hubspot::Association.batch_create("Company", "Contact", [{from_id: 1, to_id: 2}]])#6 -
Removed unsupported Hubspot::
ContactList#refreshmethod #6 -
Added
Hubspot::NotFoundErrorwhich inherits fromNotFoundErrorand that is raised when the error code is 404 for finer exception handling
- #168
Hubspot.configurewill raise when given none or multiple ways to authenticate with the HubSpot API.
- #167 Updates the endpoints referenced in
CompanyPropertiesto match the new HubSpot CompanyProperty endpoints.
-
#166 Updates the endpoints referenced in
ContactPropertiesto match the new HubSpot ContactProperty endpoints. -
Other history entries have not been logged
- #148 Deprecate the use of the hubspot rake tasks. Deprecating these tasks
includes deprecating the use of
Hubspot::Utils.dump_propertiesandHubspot::Utils.restore_properties.
- #148 Fix backwards compatibility to ensure users can access the hubspot rake tasks
- #141 Add
HubSpotas an alias ofHubspot
- #134 Add support to find recently created or recently modified Companies