-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release: v4.1.0 #346
base: master
Are you sure you want to change the base?
Release: v4.1.0 #346
Conversation
…nts (#355) * chore: Vulnerability fix `npm fix audit` * chore: fix error when running vitest RangeError: options.minThreads and options.maxThreads must not conflict Fixed by adding `--minWorkers=8` to `test:unit` in package.json * test: define unit test for v3 enhanced search * feat: implement v3 enhanced search * chore: fix broken anchor * test: define unit test for v2 enhanced search * feat: implement v2 enhanced search * chore: fix typo in v2 * chore: fix wrong interface name * test: define unit test for v3 jiraExpressions Only implemented unit test for the newly added function evaluateJiraExpressionUsingEnhancedSearch() * feat: implement v3 jiraExpressions Implemented new function evaluateJiraExpressionUsingEnhancedSearch() * test: define unit test for v2 jiraExpressions Only implemented unit test for the newly added function evaluateJiraExpressionUsingEnhancedSearch() * feat: implement v2 jiraExpressions Implemented new function evaluateJiraExpressionUsingEnhancedSearch() * chore: change minWorkers to 1 for vitest --------- Co-authored-by: Vladislav Tupikin <[email protected]>
* fix: accept number for all projectIdOrKey * fix: accept string for projectId `projectId` is `int64` on Jira API. The API accepts both number string and number. * fix: duplicate key * fix: CreateProjectAvatar discrepancy
Hey, thanks for the great work! Is there a timeline for this release or can it be safely used pre-release? I need the |
Hey @uncaught! We don’t have strict timelines for releasing this version, but we’re aiming to do it as soon as possible. There are definitely several tasks that need to be completed before shipping it. @nessgor helped me add new features to the Version2Client; we still need to test them and then tick off the checkboxes in the description of this PR. Once that’s done, we’ll be able to release this version. |
General Improvements: Enhanced JSDoc documentation across the project for better clarity and developer experience.
Deprecation: Marked the
InstanceInformation.getLicense
method as deprecated.Deprecation: Marked the
Issues.getCreateIssueMeta
method as deprecated.Deprecation: Marked the
PageBeanFieldConfigurationDetails
class as deprecated. UsePaginated<FieldConfigurationDetails>
instead.Deprecation: Marked the
WorkflowUpdateResponse
andWorkflowCreateResponse
classes as deprecated.New APIs: Added the following classes to support additional Jira APIs:
AppDataPolicies
: Manage app access rule data policies, allowing developers to set and retrieve rules controlling app access (documentation).ClassificationLevels
: Define and manage classification levels for sensitive information in Jira (documentation).IssueBulkOperations
: Perform bulk operations on issues, such as moving multiple issues between projects or updating multiple fields in one request. For additional guidance, refer to Bulk operation APIs: additional examples and FAQ (documentation).Plans
: Manage advanced roadmaps plans, including creating, duplicating, updating, archiving, and trashing plans (documentation).PrioritySchemes
: Create, retrieve, update, and delete issue priority schemes to standardize prioritization across projects (documentation).ProjectClassificationLevels
: View and manage classification levels within individual projects to ensure compliance with organizational standards (documentation).ServiceRegistry
: Access and manage attributes related to Jira Service Management’s service registry, which helps organize and maintain services (documentation).TeamsInPlan
: Configure settings for Atlassian and custom teams within advanced roadmaps plans, including creating, updating, and deleting team configurations (documentation).Improvement: Changed the return type of
ProjectKeyAndNameValidation.getValidProjectKey
andProjectKeyAndNameValidation.getValidProjectName
fromunknown
tostring
for improved type safety and usability.Improvement: Added the
approximateLastUsed
parameter to theFilters.createFilter
method.Improvement: Added the
isSubstringMatch
parameter to theFilters.getFiltersPaginated
method.Improvement: Updated the
IssueComments.updateComment
method to allow passing a plain string for the comment instead of requiring a specific object format.Improvement: Added the
parentId
parameter to theIssueComments.deleteComment
method.Improvement: Added the
releasedProjectKeys
property to theProjects.updateProject
method.Improvement: Added the
avatarId
parameter to theIssuePriorities.createPriority
method. This parameter will replaceiconUrl
starting March 16, 2025. TheiconUrl
parameter is now marked as deprecated.Improvement: Added the
priorityName
andexpand
properties to theIssuePriorities.searchPriorities
method.Improvement: Added the
avatarId
parameter to theIssuePriorities.updatePriority
method. This parameter will replaceiconUrl
starting March 16, 2025. TheiconUrl
parameter is now marked as deprecated.Improvement: Added the
issueId
property to theUserSearch.findAssignableUsers
method.Improvement: Added the optional
skipNotFoundPrecomputations
property to theJqlFunctionsApps.updatePrecomputations
method.Improvement: Added the
failFast
parameter to theIssues.getIssue
method.Improvement: Added the
failFast
parameter to theIssueSearch.searchForIssuesUsingJql
method.Improvement: Added the
ari
andmetadata
parameters to theProjectComponents.createComponent
method.Improvement: Added the optional
componentSource
parameter to theProjectComponents.getProjectComponentsPaginated
method.Improvement: Added the optional
componentSource
parameter to theProjectComponents.getProjectComponents
method.Improvement: Added the
approvers
anddriver
parameters to theProjectVersions.createVersion
andProjectVersions.updateVersion
methods.Improvement: Replaced the
maxResults
property withmaxResult
in theUserSearch.findUserKeysByQuery
method.Improvement: Added the
extendAdminPermissions
parameter to the following methods in theDashboard
class:Dashboard.createDashboard
Dashboard.updateDashboard
Dashboard.copyDashboard
New Method: Added the
getCustomFieldsConfigurations
method to theIssueCustomFieldConfigurationApps
class.New Method: Added the
replaceCustomFieldOption
method to theIssueCustomFieldOptions
class.New Methods: Added the following methods to the
WorkflowSchemes
class:readWorkflowSchemes
: Retrieve workflow schemes.updateSchemes
: Update workflow schemes.updateWorkflowSchemeMappings
: Update workflow scheme mappings.New Method: Added the
getNotificationSchemeForProject
method to theProjects
class.New Method: Added the
getBulkScreenTabs
method to theScreenTabs
class.New Method: Added the
deletePriority
method to theIssuePriorities
class.New Method: Added the
getPrecomputationsByID
method to theJqlFunctionsApps
class.New Methods: Added the following methods to the
Workflows
class:readWorkflows
: Retrieve workflows.workflowCapabilities
: Get workflow capabilities.createWorkflows
: Create new workflows.validateCreateWorkflows
: Validate workflow creation.updateWorkflows
: Update existing workflows.validateUpdateWorkflows
: Validate workflow updates.New Methods: Added the following methods to the
Issues
class:getBulkChangelogs
: Retrieve changelogs for multiple issues in bulk.bulkFetchIssues
: Fetch multiple issues in bulk.getCreateIssueMetaIssueTypes
: Retrieve metadata for issue types when creating issues.getCreateIssueMetaIssueTypeId
: Retrieve metadata for a specific issue type by ID when creating issues.getIssueLimitReport
: Retrieve a report on issue limits.New Methods: Added the following methods to the
IssueSearch
class:countIssues
: Count issues matching a query.searchForIssuesIds
: Search for issue IDs using a query.searchForIssuesUsingJqlEnhancedSearch
: Search and reconcile issues using JQL.searchForIssuesUsingJqlEnhancedSearchPost
: Search and reconcile issues using JQL via POST request.New Methods: Added the following methods to the
IssueWorklogs
class:bulkDeleteWorklogs
: Delete multiple worklogs in bulk.bulkMoveWorklogs
: Move multiple worklogs in bulk.New Method: Added the
evaluateJiraExpressionUsingEnhancedSearch
method to theJiraExpressions
class.New Method: Added the
findComponentsForProjects
method to theProjectComponents
class.New Methods: Added the following methods to the
ProjectVersions
class:deleteRelatedWork
: Delete related work for a version.updateRelatedWork
: Update related work for a version.createRelatedWork
: Create related work for a version.getRelatedWork
: Retrieve related work for a version.New Method: Added the
getProjectUsagesForWorkflowScheme
method to theWorkflowSchemes
class.New Method: Added the
getWorkflowProjectIssueTypeUsages
method to theWorkflows
class.New Methods: Added the following methods to the
Status
class:getProjectIssueTypeUsagesForStatus
getProjectUsagesForStatus
getWorkflowUsagesForStatus
Fix: Updated the following methods in
Version2Client
andVersion3Client
to make theparameters
argument mandatory (as it should have been initially):IssueFieldConfigurations.createFieldConfiguration
IssueFieldConfigurations.createFieldConfigurationScheme
IssueLinks.linkIssues
IssueTypeSchemes.createIssueTypeScheme
IssueTypeSchemes.assignIssueTypeSchemeToProject
IssueTypeScreenSchemes.createIssueTypeScreenScheme
JQL.parseJqlQueries
TimeTracking.setSharedTimeTrackingConfiguration
WorkflowSchemeProjectAssociations.assignSchemeToProject
IssueTypes.createIssueType
IssueSearch.matchIssues
IssueSearch.searchForIssuesUsingJql
JiraExpressions.evaluateJiraExpression
Users.setUserColumns
Users.getUser
Fix: Improved the
Avatars.storeAvatar
method:mimeType
parameter to specify the type of the uploaded avatar.avatar
parameter fromany
toBuffer | ArrayBuffer | Uint8Array | any
for better type safety.size
parameter to0
.Fix: Improved the
IssueTypes.createIssueTypeAvatar
method:mimeType
parameter to specify the type of the uploaded avatar.avatar
parameter with the typeBuffer | ArrayBuffer | Uint8Array
.size
parameter to0
.Fix: Improved the
ProjectAvatars.createProjectAvatar
method:mimeType
parameter to specify the type of the uploaded avatar.avatar
parameter fromany
toBuffer | ArrayBuffer | Uint8Array | any
.size
parameter to0
.Change: Removed the
filter
parameter from theJqlFunctionsApps.getPrecomputations
method (experimental method, not a breaking change).Change: Renamed
JiraExpressionEvaluateContextBean
toJiraExpressionEvaluateContext
.Improvement: Added type
string
for propertiesprojectId
in parameters and models:Version
GetFieldConfigurationSchemeProjectMapping
GetHierarchy
GetIssueTypeSchemeForProjects
GetIssueTypeScreenSchemeProjectAssociations
GetIssueTypesForProject
GetProjectEmail
GetWorkflowSchemeProjectAssociations
UpdateProjectEmail
Improvement: Added type
number
for propertiesprojectIdOrKey
in parameters and models:AddActorUsers
ArchiveProject
CreateProjectAvatar
DeleteActor
DeleteProject
DeleteProjectAsynchronously
DeleteProjectAvatar
DeleteProjectProperty
GetAllProjectAvatars
GetAllStatuses
GetFeaturesForProject
GetProjectComponents
GetProjectComponentsPaginated
GetProjectProperty
GetProjectPropertyKeys
GetProjectRole
GetProjectRoleDetails
GetProjectRoles
GetProjectVersions
GetProjectVersionsPaginated
Restore
SetActors
SetProjectProperty
ToggleFeatureForProject
UpdateProject
UpdateProjectAvatar