Skip to content

Release: v4.1.0 #346

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

Merged
merged 23 commits into from
Mar 3, 2025
Merged

Release: v4.1.0 #346

merged 23 commits into from
Mar 3, 2025

Conversation

MrRefactoring
Copy link
Owner

@MrRefactoring MrRefactoring commented Jan 7, 2025

  • 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. Use Paginated<FieldConfigurationDetails> instead.

  • Deprecation: Marked the WorkflowUpdateResponse and WorkflowCreateResponse 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 and ProjectKeyAndNameValidation.getValidProjectName from unknown to string for improved type safety and usability.

  • Improvement: Added the approximateLastUsed parameter to the Filters.createFilter method.

  • Improvement: Added the isSubstringMatch parameter to the Filters.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 the IssueComments.deleteComment method.

  • Improvement: Added the releasedProjectKeys property to the Projects.updateProject method.

  • Improvement: Added the avatarId parameter to the IssuePriorities.createPriority method. This parameter will replace iconUrl starting March 16, 2025. The iconUrl parameter is now marked as deprecated.

  • Improvement: Added the priorityName and expand properties to the IssuePriorities.searchPriorities method.

  • Improvement: Added the avatarId parameter to the IssuePriorities.updatePriority method. This parameter will replace iconUrl starting March 16, 2025. The iconUrl parameter is now marked as deprecated.

  • Improvement: Added the issueId property to the UserSearch.findAssignableUsers method.

  • Improvement: Added the optional skipNotFoundPrecomputations property to the JqlFunctionsApps.updatePrecomputations method.

  • Improvement: Added the failFast parameter to the Issues.getIssue method.

  • Improvement: Added the failFast parameter to the IssueSearch.searchForIssuesUsingJql method.

  • Improvement: Added the ari and metadata parameters to the ProjectComponents.createComponent method.

  • Improvement: Added the optional componentSource parameter to the ProjectComponents.getProjectComponentsPaginated method.

  • Improvement: Added the optional componentSource parameter to the ProjectComponents.getProjectComponents method.

  • Improvement: Added the approvers and driver parameters to the ProjectVersions.createVersion and ProjectVersions.updateVersion methods.

  • Improvement: Replaced the maxResults property with maxResult in the UserSearch.findUserKeysByQuery method.

  • Improvement: Added the extendAdminPermissions parameter to the following methods in the Dashboard class:

    • Dashboard.createDashboard
    • Dashboard.updateDashboard
    • Dashboard.copyDashboard
  • New Method: Added the getCustomFieldsConfigurations method to the IssueCustomFieldConfigurationApps class.

  • New Method: Added the replaceCustomFieldOption method to the IssueCustomFieldOptions 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 the Projects class.

  • New Method: Added the getBulkScreenTabs method to the ScreenTabs class.

  • New Method: Added the deletePriority method to the IssuePriorities class.

  • New Method: Added the getPrecomputationsByID method to the JqlFunctionsApps 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 the JiraExpressions class.

  • New Method: Added the findComponentsForProjects method to the ProjectComponents 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 the WorkflowSchemes class.

  • New Method: Added the getWorkflowProjectIssueTypeUsages method to the Workflows class.

  • New Methods: Added the following methods to the Status class:

    • getProjectIssueTypeUsagesForStatus
    • getProjectUsagesForStatus
    • getWorkflowUsagesForStatus
  • Fix: Updated the following methods in Version2Client and Version3Client to make the parameters 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:

    • Added the mimeType parameter to specify the type of the uploaded avatar.
    • Updated the type of the avatar parameter from any to Buffer | ArrayBuffer | Uint8Array | any for better type safety.
    • Set the default value of the size parameter to 0.
  • Fix: Improved the IssueTypes.createIssueTypeAvatar method:

    • Added the mimeType parameter to specify the type of the uploaded avatar.
    • Added the avatar parameter with the type Buffer | ArrayBuffer | Uint8Array.
    • Set the default value of the size parameter to 0.
  • Fix: Improved the ProjectAvatars.createProjectAvatar method:

    • Added the mimeType parameter to specify the type of the uploaded avatar.
    • Updated the type of the avatar parameter from any to Buffer | ArrayBuffer | Uint8Array | any.
    • Set the default value of the size parameter to 0.
  • Change: Removed the filter parameter from the JqlFunctionsApps.getPrecomputations method (experimental method, not a breaking change).

  • Change: Renamed JiraExpressionEvaluateContextBean to JiraExpressionEvaluateContext.

  • Improvement: Added type string for properties projectId in parameters and models:

    • Model Version
    • Parameter GetFieldConfigurationSchemeProjectMapping
    • Parameter GetHierarchy
    • Parameter GetIssueTypeSchemeForProjects
    • Parameter GetIssueTypeScreenSchemeProjectAssociations
    • Parameter GetIssueTypesForProject
    • Parameter GetProjectEmail
    • Parameter GetWorkflowSchemeProjectAssociations
    • Parameter UpdateProjectEmail
  • Improvement: Added type number for properties projectIdOrKey in parameters and models:

    • Parameter AddActorUsers
    • Parameter ArchiveProject
    • Parameter CreateProjectAvatar
    • Parameter DeleteActor
    • Parameter DeleteProject
    • Parameter DeleteProjectAsynchronously
    • Parameter DeleteProjectAvatar
    • Parameter DeleteProjectProperty
    • Parameter GetAllProjectAvatars
    • Parameter GetAllStatuses
    • Parameter GetFeaturesForProject
    • Parameter GetProjectComponents
    • Parameter GetProjectComponentsPaginated
    • Parameter GetProjectProperty
    • Parameter GetProjectPropertyKeys
    • Parameter GetProjectRole
    • Parameter GetProjectRoleDetails
    • Parameter GetProjectRoles
    • Parameter GetProjectVersions
    • Parameter GetProjectVersionsPaginated
    • Parameter Restore
    • Parameter SetActors
    • Parameter SetProjectProperty
    • Parameter ToggleFeatureForProject
    • Parameter UpdateProject
    • Parameter UpdateProjectAvatar

  • Special thanks to Ness Li (nessgor) for implementing the changes above. PR: #356.
  • Thanks to Niklas Correnz (uncaught) for reporting the issue: #352.

@MrRefactoring MrRefactoring added this to the v4.1.0 milestone Jan 7, 2025
@MrRefactoring MrRefactoring changed the title Version 3 simple updates Release: v4.1.0 Jan 7, 2025
MrRefactoring and others added 19 commits January 7, 2025 23:28

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…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
@uncaught
Copy link

Hey, thanks for the great work! Is there a timeline for this release or can it be safely used pre-release? I need the IssueBulkOperations-API.

@MrRefactoring
Copy link
Owner Author

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.

@MrRefactoring MrRefactoring linked an issue Feb 20, 2025 that may be closed by this pull request
* Add boilerplate for new API in Version2Client

* Check and apply changes in Version3Client to Version2Client (#359)

* fix: build error

* chore: update unit test

* fix: missing failFast in SearchAndReconcileRequest

* fix: improvement to updateComment

Forgot to clone the same improvement as addComment.

* feat: v2 IssueBulkOperations

* fix: apply the same improvement to v2 prioritySchemes

* chore: remove unused import

* fix: apply the same improvement as v3

`ProjectKeyAndNameValidation.getValidProjectName` from `unknown` to `string` for improved type safety and usability.

* fix: Apply the same fix as v3

Improvement: Added the avatarId parameter to the IssuePriorities.createPriority method. This parameter will replace iconUrl starting March 16, 2025. The iconUrl parameter is now marked as deprecated.

* fix: apply the same fix as v3

Improvement: Added the avatarId parameter to the IssuePriorities.updatePriority method. This parameter will replace iconUrl starting March 16, 2025. The iconUrl parameter is now marked as deprecated.

* fix: apply the same fix as v3

Fix: Improved the Avatars.storeAvatar method

* fix: apply the same fix as v3

Fix: Improved the IssueTypes.createIssueTypeAvatar method

* fix: apply the same deprecation notes as v3

* fix: align v3 naming to v2

issueSearch and jiraExpression with enhanced search

* Update readme.md

1. moved API token like to API token section
2. added description and link to PAT
3. moved Basic auth to bottom as it's the least preferred way to auth

* fix: rollback changes on v2

Copied v3 feat to v2 by mistake

* Update src/version2/parameters/getAvailableTransitions.ts

add number support to issue ids or keys

Co-authored-by: Vladislav Tupikin <[email protected]>

* Update src/version2/parameters/getBulkEditableFields.ts

add number support to issueIdsOrKeys

Co-authored-by: Vladislav Tupikin <[email protected]>

* fix: startAt and maxResults should be number

* fix: wrong link to v3 in version 2

* fix: incorrect version in anchor

* fix: revert changes on adding v3 only model

* Update src/version3/parameters/searchWorkflows.ts

Co-authored-by: Vladislav Tupikin <[email protected]>

* Update src/version3/parameters/searchWorkflows.ts

Co-authored-by: Vladislav Tupikin <[email protected]>

* chore: revert changes on README.md

move it to another PR

* fix: update *DTO in v3

---------

Co-authored-by: Vladislav Tupikin <[email protected]>

* `bulkFetchIssues` returned back for version2 client

* Clients added to Version2Client

* Clients added to README.md

* Integration test fixes

* Build fix

* Fixes

* Incremental improvements

* Incremental improvements

---------

Co-authored-by: Ness Li <[email protected]>
@MrRefactoring MrRefactoring marked this pull request as ready for review March 2, 2025 21:24
@MrRefactoring MrRefactoring merged commit a099929 into master Mar 3, 2025
9 of 11 checks passed
@MrRefactoring MrRefactoring deleted the release/v4.1.0 branch March 3, 2025 07:38
@MrRefactoring MrRefactoring restored the release/v4.1.0 branch March 6, 2025 18:19
MrRefactoring added a commit that referenced this pull request Apr 27, 2025
* Version 3 simple updates

* CHANGELOG updated

* New API classes added to version3 client

* `Avatar.storeAvatar` method fixed

* Few increment improvements

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* Feature/#354 deprecation of jql search and evaluate expression endpoints (#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]>

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* The latest Jira Cloud API changes pulled

* Build fixes

* Plans.updatePlan refined

* Wrong types for projectId (#356)

* 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

* CHANGELOG.md updated

* Add new API in `Version2Client` (#357)

* Add boilerplate for new API in Version2Client

* Check and apply changes in Version3Client to Version2Client (#359)

* fix: build error

* chore: update unit test

* fix: missing failFast in SearchAndReconcileRequest

* fix: improvement to updateComment

Forgot to clone the same improvement as addComment.

* feat: v2 IssueBulkOperations

* fix: apply the same improvement to v2 prioritySchemes

* chore: remove unused import

* fix: apply the same improvement as v3

`ProjectKeyAndNameValidation.getValidProjectName` from `unknown` to `string` for improved type safety and usability.

* fix: Apply the same fix as v3

Improvement: Added the avatarId parameter to the IssuePriorities.createPriority method. This parameter will replace iconUrl starting March 16, 2025. The iconUrl parameter is now marked as deprecated.

* fix: apply the same fix as v3

Improvement: Added the avatarId parameter to the IssuePriorities.updatePriority method. This parameter will replace iconUrl starting March 16, 2025. The iconUrl parameter is now marked as deprecated.

* fix: apply the same fix as v3

Fix: Improved the Avatars.storeAvatar method

* fix: apply the same fix as v3

Fix: Improved the IssueTypes.createIssueTypeAvatar method

* fix: apply the same deprecation notes as v3

* fix: align v3 naming to v2

issueSearch and jiraExpression with enhanced search

* Update readme.md

1. moved API token like to API token section
2. added description and link to PAT
3. moved Basic auth to bottom as it's the least preferred way to auth

* fix: rollback changes on v2

Copied v3 feat to v2 by mistake

* Update src/version2/parameters/getAvailableTransitions.ts

add number support to issue ids or keys

Co-authored-by: Vladislav Tupikin <[email protected]>

* Update src/version2/parameters/getBulkEditableFields.ts

add number support to issueIdsOrKeys

Co-authored-by: Vladislav Tupikin <[email protected]>

* fix: startAt and maxResults should be number

* fix: wrong link to v3 in version 2

* fix: incorrect version in anchor

* fix: revert changes on adding v3 only model

* Update src/version3/parameters/searchWorkflows.ts

Co-authored-by: Vladislav Tupikin <[email protected]>

* Update src/version3/parameters/searchWorkflows.ts

Co-authored-by: Vladislav Tupikin <[email protected]>

* chore: revert changes on README.md

move it to another PR

* fix: update *DTO in v3

---------

Co-authored-by: Vladislav Tupikin <[email protected]>

* `bulkFetchIssues` returned back for version2 client

* Clients added to Version2Client

* Clients added to README.md

* Integration test fixes

* Build fix

* Fixes

* Incremental improvements

* Incremental improvements

---------

Co-authored-by: Ness Li <[email protected]>

* Unused code removed

* Incremental improvements

---------

Co-authored-by: Ness Li <[email protected]>
MrRefactoring added a commit that referenced this pull request Apr 27, 2025
* Version 3 simple updates

* CHANGELOG updated

* New API classes added to version3 client

* `Avatar.storeAvatar` method fixed

* Few increment improvements

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* Feature/#354 deprecation of jql search and evaluate expression endpoints (#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]>

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* The latest Jira Cloud API changes pulled

* Build fixes

* Plans.updatePlan refined

* Wrong types for projectId (#356)

* 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

* CHANGELOG.md updated

* Add new API in `Version2Client` (#357)

* Add boilerplate for new API in Version2Client

* Check and apply changes in Version3Client to Version2Client (#359)

* fix: build error

* chore: update unit test

* fix: missing failFast in SearchAndReconcileRequest

* fix: improvement to updateComment

Forgot to clone the same improvement as addComment.

* feat: v2 IssueBulkOperations

* fix: apply the same improvement to v2 prioritySchemes

* chore: remove unused import

* fix: apply the same improvement as v3

`ProjectKeyAndNameValidation.getValidProjectName` from `unknown` to `string` for improved type safety and usability.

* fix: Apply the same fix as v3

Improvement: Added the avatarId parameter to the IssuePriorities.createPriority method. This parameter will replace iconUrl starting March 16, 2025. The iconUrl parameter is now marked as deprecated.

* fix: apply the same fix as v3

Improvement: Added the avatarId parameter to the IssuePriorities.updatePriority method. This parameter will replace iconUrl starting March 16, 2025. The iconUrl parameter is now marked as deprecated.

* fix: apply the same fix as v3

Fix: Improved the Avatars.storeAvatar method

* fix: apply the same fix as v3

Fix: Improved the IssueTypes.createIssueTypeAvatar method

* fix: apply the same deprecation notes as v3

* fix: align v3 naming to v2

issueSearch and jiraExpression with enhanced search

* Update readme.md

1. moved API token like to API token section
2. added description and link to PAT
3. moved Basic auth to bottom as it's the least preferred way to auth

* fix: rollback changes on v2

Copied v3 feat to v2 by mistake

* Update src/version2/parameters/getAvailableTransitions.ts

add number support to issue ids or keys

Co-authored-by: Vladislav Tupikin <[email protected]>

* Update src/version2/parameters/getBulkEditableFields.ts

add number support to issueIdsOrKeys

Co-authored-by: Vladislav Tupikin <[email protected]>

* fix: startAt and maxResults should be number

* fix: wrong link to v3 in version 2

* fix: incorrect version in anchor

* fix: revert changes on adding v3 only model

* Update src/version3/parameters/searchWorkflows.ts

Co-authored-by: Vladislav Tupikin <[email protected]>

* Update src/version3/parameters/searchWorkflows.ts

Co-authored-by: Vladislav Tupikin <[email protected]>

* chore: revert changes on README.md

move it to another PR

* fix: update *DTO in v3

---------

Co-authored-by: Vladislav Tupikin <[email protected]>

* `bulkFetchIssues` returned back for version2 client

* Clients added to Version2Client

* Clients added to README.md

* Integration test fixes

* Build fix

* Fixes

* Incremental improvements

* Incremental improvements

---------

Co-authored-by: Ness Li <[email protected]>

* Unused code removed

* Incremental improvements

---------

Co-authored-by: Ness Li <[email protected]>
MrRefactoring added a commit that referenced this pull request Apr 27, 2025
* Version 3 simple updates

* CHANGELOG updated

* New API classes added to version3 client

* `Avatar.storeAvatar` method fixed

* Few increment improvements

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* Feature/#354 deprecation of jql search and evaluate expression endpoints (#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]>

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* The latest Jira Cloud API changes pulled

* Build fixes

* Plans.updatePlan refined

* Wrong types for projectId (#356)

* 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

* CHANGELOG.md updated

* Add new API in `Version2Client` (#357)

* Add boilerplate for new API in Version2Client

* Check and apply changes in Version3Client to Version2Client (#359)

* fix: build error

* chore: update unit test

* fix: missing failFast in SearchAndReconcileRequest

* fix: improvement to updateComment

Forgot to clone the same improvement as addComment.

* feat: v2 IssueBulkOperations

* fix: apply the same improvement to v2 prioritySchemes

* chore: remove unused import

* fix: apply the same improvement as v3

`ProjectKeyAndNameValidation.getValidProjectName` from `unknown` to `string` for improved type safety and usability.

* fix: Apply the same fix as v3

Improvement: Added the avatarId parameter to the IssuePriorities.createPriority method. This parameter will replace iconUrl starting March 16, 2025. The iconUrl parameter is now marked as deprecated.

* fix: apply the same fix as v3

Improvement: Added the avatarId parameter to the IssuePriorities.updatePriority method. This parameter will replace iconUrl starting March 16, 2025. The iconUrl parameter is now marked as deprecated.

* fix: apply the same fix as v3

Fix: Improved the Avatars.storeAvatar method

* fix: apply the same fix as v3

Fix: Improved the IssueTypes.createIssueTypeAvatar method

* fix: apply the same deprecation notes as v3

* fix: align v3 naming to v2

issueSearch and jiraExpression with enhanced search

* Update readme.md

1. moved API token like to API token section
2. added description and link to PAT
3. moved Basic auth to bottom as it's the least preferred way to auth

* fix: rollback changes on v2

Copied v3 feat to v2 by mistake

* Update src/version2/parameters/getAvailableTransitions.ts

add number support to issue ids or keys

Co-authored-by: Vladislav Tupikin <[email protected]>

* Update src/version2/parameters/getBulkEditableFields.ts

add number support to issueIdsOrKeys

Co-authored-by: Vladislav Tupikin <[email protected]>

* fix: startAt and maxResults should be number

* fix: wrong link to v3 in version 2

* fix: incorrect version in anchor

* fix: revert changes on adding v3 only model

* Update src/version3/parameters/searchWorkflows.ts

Co-authored-by: Vladislav Tupikin <[email protected]>

* Update src/version3/parameters/searchWorkflows.ts

Co-authored-by: Vladislav Tupikin <[email protected]>

* chore: revert changes on README.md

move it to another PR

* fix: update *DTO in v3

---------

Co-authored-by: Vladislav Tupikin <[email protected]>

* `bulkFetchIssues` returned back for version2 client

* Clients added to Version2Client

* Clients added to README.md

* Integration test fixes

* Build fix

* Fixes

* Incremental improvements

* Incremental improvements

---------

Co-authored-by: Ness Li <[email protected]>

* Unused code removed

* Incremental improvements

---------

Co-authored-by: Ness Li <[email protected]>
MrRefactoring added a commit that referenced this pull request Apr 27, 2025
* Version 3 simple updates

* CHANGELOG updated

* New API classes added to version3 client

* `Avatar.storeAvatar` method fixed

* Few increment improvements

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* Feature/#354 deprecation of jql search and evaluate expression endpoints (#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]>

* Few incremental improvements

* Few incremental improvements

* Few incremental improvements

* The latest Jira Cloud API changes pulled

* Build fixes

* Plans.updatePlan refined

* Wrong types for projectId (#356)

* 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

* CHANGELOG.md updated

* Add new API in `Version2Client` (#357)

* Add boilerplate for new API in Version2Client

* Check and apply changes in Version3Client to Version2Client (#359)

* fix: build error

* chore: update unit test

* fix: missing failFast in SearchAndReconcileRequest

* fix: improvement to updateComment

Forgot to clone the same improvement as addComment.

* feat: v2 IssueBulkOperations

* fix: apply the same improvement to v2 prioritySchemes

* chore: remove unused import

* fix: apply the same improvement as v3

`ProjectKeyAndNameValidation.getValidProjectName` from `unknown` to `string` for improved type safety and usability.

* fix: Apply the same fix as v3

Improvement: Added the avatarId parameter to the IssuePriorities.createPriority method. This parameter will replace iconUrl starting March 16, 2025. The iconUrl parameter is now marked as deprecated.

* fix: apply the same fix as v3

Improvement: Added the avatarId parameter to the IssuePriorities.updatePriority method. This parameter will replace iconUrl starting March 16, 2025. The iconUrl parameter is now marked as deprecated.

* fix: apply the same fix as v3

Fix: Improved the Avatars.storeAvatar method

* fix: apply the same fix as v3

Fix: Improved the IssueTypes.createIssueTypeAvatar method

* fix: apply the same deprecation notes as v3

* fix: align v3 naming to v2

issueSearch and jiraExpression with enhanced search

* Update readme.md

1. moved API token like to API token section
2. added description and link to PAT
3. moved Basic auth to bottom as it's the least preferred way to auth

* fix: rollback changes on v2

Copied v3 feat to v2 by mistake

* Update src/version2/parameters/getAvailableTransitions.ts

add number support to issue ids or keys

Co-authored-by: Vladislav Tupikin <[email protected]>

* Update src/version2/parameters/getBulkEditableFields.ts

add number support to issueIdsOrKeys

Co-authored-by: Vladislav Tupikin <[email protected]>

* fix: startAt and maxResults should be number

* fix: wrong link to v3 in version 2

* fix: incorrect version in anchor

* fix: revert changes on adding v3 only model

* Update src/version3/parameters/searchWorkflows.ts

Co-authored-by: Vladislav Tupikin <[email protected]>

* Update src/version3/parameters/searchWorkflows.ts

Co-authored-by: Vladislav Tupikin <[email protected]>

* chore: revert changes on README.md

move it to another PR

* fix: update *DTO in v3

---------

Co-authored-by: Vladislav Tupikin <[email protected]>

* `bulkFetchIssues` returned back for version2 client

* Clients added to Version2Client

* Clients added to README.md

* Integration test fixes

* Build fix

* Fixes

* Incremental improvements

* Incremental improvements

---------

Co-authored-by: Ness Li <[email protected]>

* Unused code removed

* Incremental improvements

---------

Co-authored-by: Ness Li <[email protected]>
@MrRefactoring MrRefactoring deleted the release/v4.1.0 branch May 3, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants