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
Uh oh!
There was an error while loading. Please reload this page.
-
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:
transportConfigto the Transporter class for HTTP client layer customization.Requests Class Updates:
searchmethod for querying specific ticket requests.listmethods with optional parameters forsort_byandsort_order.Organization Related Enhancements:
listByUser,count,countByUser,related,showMany, andbulkDelete.Endpoint Enhancements:
EndpointCheckerclass for evaluating endpoint capabilities.assembleUrlfunction.assembleUrlfunction.Various Class & Method Additions:
OrganizationFieldsandOrganizationMemberships.Localesclass with new methods for Zendesk API.Brands,Automations,Attachments,Activity Stream, and more.Transporterclass, extracted fromClient, now handles request logic.Miscellaneous:
forumsandforumsubscriptionsendpoints as they're no longer in service.Fixes:
/being appended to URLs by filtering out undefined or empty string segments.assembleUrl.remoteUri -> endpointUriissue.Removed:
forumsandforumsubscriptions- endpoints no longer in service.Changed:
xoconfiguration into its separate file and excluded it from npm packaging.doc -> oldand thendoctodocs.Migration Procedure (if necessary):
Transporterclass.forumsorforumsubscriptions, 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