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.
Enable Importing Specific Clients Without Pulling in Dependencies for All Clients #320: Resolved a tree-shaking issue where importing a single client would still include all clients in the output bundle when using bundlers. Now, only the required client code is included. Thanks to Nao Yonashiro for reporting the issue and proposing a fix.
TypeError: form_data_1.default is not a constructor when adding attachment #327: Replaced the
form-data
library withformdata-node
to enable compatibility withESM
projects when adding attachments via theissueAttachment.addAttachment
method. Thanks to Paweł Król for reporting the issue and Matyáš Kroupa for implementing the fix.Improvement: The type of the
projectIdOrKey
property was updated fromstring
tonumber | string
for project update operations. This enhancement improves type safety and flexibility when handling project identifiers.Enhancement: Added a
mimeType
property to theversion2.issueAttachments.addAttachment
,version3.issueAttachments.addAttachment
, andserviceDesk.serviceDesk.attachTemporaryFile
methods. This allows specifying the file type. IfmimeType
is not provided, a default type is inferred from the filename.Examples:
👎 Before:
👍 Now: