node-zendesk v4.0.0 #374
blakmatrix
announced in
Announcements
Replies: 1 comment
-
Thank you so much for this release @blakmatrix |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Announcement: node-zendesk v4.0.0 Update 🚀
We're thrilled to announce a significant update to the Node-Zendesk package!
Notable Changes:
Dependencies Removed: We've removed the following dependencies -
request
,querystring
,async
, andnconf
. As a result of removingnconf
, command-line arguments will no longer work. However, these were buggy, so this change shouldn't affect the usage much. For configuration, you can now use dotenv. Refer to our examples for more clarity.Promises & Async/Await: Callbacks have been ditched in favor of promise or async/await patterns. If you need guidance on updating your code, check out the example here.
Accessing Side Loads: To access side loads, the format is now
client.<resource>.setSideLoad()
. Ensure you use this before calling any API endpoints and after client instantiation. For instance:client.users.setSideLoad(["roles","organizations"])
.For comprehensive details, the changelog is your best friend!
Documentation: A significant documentation update is on the horizon. Keep an eye on this issue for more information.
A colossal shout out to @teebot and @cryptomail for making this release possible! 🎉
Happy Coding!
Changelog
Added:
Transporter Class Enhancements:
transportConfig
to the Transporter class for HTTP client layer customization.Requests Class Updates:
search
method for querying specific ticket requests.list
methods with optional parameters forsort_by
andsort_order
.Organization Related Enhancements:
listByUser
,count
,countByUser
,related
,showMany
, andbulkDelete
.Endpoint Enhancements:
EndpointChecker
class for evaluating endpoint capabilities.assembleUrl
function.assembleUrl
function.Various Class & Method Additions:
OrganizationFields
andOrganizationMemberships
.Locales
class with new methods for Zendesk API.Brands
,Automations
,Attachments
,Activity Stream
, and more.Transporter
class, extracted fromClient
, now handles request logic.Miscellaneous:
forums
andforumsubscriptions
endpoints as they're no longer in service.Fixes:
/
being appended to URLs by filtering out undefined or empty string segments.assembleUrl
.remoteUri -> endpointUri
issue.Removed:
forums
andforumsubscriptions
- endpoints no longer in service.Changed:
xo
configuration into its separate file and excluded it from npm packaging.doc -> old
and thendoc
todocs
.Migration Procedure (if necessary):
Transporter
class.forums
orforumsubscriptions
, these have been removed and will need either replacement or removal in your application.This discussion was created from the release node-zendesk v4.0.0.
Beta Was this translation helpful? Give feedback.
All reactions