Update dependency node-zendesk to v4 #15
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.4.0
->^4.0.0
By merging this PR, the issue #7 will be automatically resolved and closed:
Release Notes
blakmatrix/node-zendesk (node-zendesk)
v4.0.0
: node-zendesk v4.0.0Compare Source
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.node 18
) as the transport while maintaining a smooth fallback mechanism.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
.remoteUri
withendpointUri
in connection options. Users upgrading from v3.x to v4.x should update their configurations accordingly to avoid authorization errors. (#431)Migration Procedure (if necessary):
Transporter
class.forums
orforumsubscriptions
, these have been removed and will need either replacement or removal in your application.v3.0.3
Compare Source
v3.0.2
: node-zendesk v3.0.2Compare Source
We're excited to introduce node-zendesk v3.0.2, a release focused on enhancing your Zendesk API integration experience. This version brings notable improvements, bug fixes, and optimizations to ensure seamless performance.
Highlights
Cursor-Based Pagination: This release introduces an innovative cursor-based pagination system, transforming the way you interact with the Zendesk API. Enjoy smoother navigation through results with enhanced efficiency. props to @cryptomail TYVM
Bug Fixes: We've diligently addressed several reported issues to ensure a more reliable experience. Expect improved stability and reduced chances of unexpected behavior.
How to Upgrade
Updating to v3.0.2 is simple:
Documentation
For detailed information on using the new cursor-based pagination and leveraging the updated features, please refer to the issue that prompted this change here.
Feedback and Contributions
Your feedback is invaluable to us. If you encounter any issues or have suggestions for further improvements, please don't hesitate to open an issue on GitHub.
Thank you for being a part of the node-zendesk community. Your support drives our commitment to continuous enhancement and excellence.
v3.0.1
Compare Source
v3.0.0
Compare Source
v2.2.0
Compare Source
v2.1.1
Compare Source
v2.1.0
Compare Source
v2.0.7
Compare Source
v2.0.6
Compare Source
v2.0.5
Compare Source
v2.0.3
Compare Source
v2.0.2
Compare Source
v2.0.1
Compare Source
v2.0.0
Compare Source
v1.5.0
Compare Source