Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Releases: leifgehrmann/node-tempo-client

v4.1.0

29 Nov 19:46
Compare
Choose a tag to compare

Additions

  • Added new Tempo.io endpoints: #90
    • Permission Roles
      • GET /permission-roles -> permissionRoles.get()
      • POST /permission-roles -> permissionRoles.post()
      • GET /permission-roles/global -> permissionRoles.getGlobal()
      • GET /permission-roles/{id} -> permissionRoles.getPermissionRole()
      • PUT /permission-roles/{id} -> permissionRoles.putPermissionRole()
      • DELETE /permission-roles/{id} -> permissionRoles.deletePermissionRole()

Improvements

  • Updated devDependencies: #92

Internal Improvements

  • Improved Tempo.io documentation test to format the HTML before checking with the snapshot. This will make it easier to detect diffs in the snapshots: #91
  • Improved contribution guide to include process on how to make releases: #93

v4.0.0

22 Nov 13:02
Compare
Choose a tag to compare

Breaking Changes

  • Renamed requestTypes.WorkAttribute to requestTypes.WorkAttributeValue: #83
    • A new definition of WorkAttribute will exist in its place, so make sure to rename it WorkAttributeValue to avoid Typescript compilation issues.
  • Changed type definitions for API request and response types by changing string to literal strings (For example: 'OPEN' | 'CLOSED' | 'ARCHIVED'): #88
    • If you are using Typescript and depend on node-tempo-client's types, it's possible you might need to update them. See the PR for more details on which definitions have changed.

Additions

  • Added new Tempo.io endpoints: #83
    • Holiday Schemes
      • POST /holiday-schemes -> holidaySchemes.post()
      • PUT /holiday-schemes/{id} -> holidaySchemes.putHolidayScheme()
      • DELETE /holiday-schemes/{id} -> holidaySchemes.deleteHolidayScheme()
      • PUT /holiday-schemes/{id}/default -> holidaySchemes.putHolidaySchemeDefault()
      • POST /holiday-schemes/{id}/holidays -> holidaySchemes.postHolidaySchemeHoliday()
      • GET /holiday-schemes/{id}/holidays/{id} -> holidaySchemes.getHolidaySchemeHoliday()
      • PUT /holiday-schemes/{id}/holidays/{id} -> holidaySchemes.putHolidaySchemeHoliday()
      • DELETE /holiday-schemes/{id}/holidays/{id} -> holidaySchemes.deleteHolidaySchemeHoliday()
      • GET /holiday-schemes/{id}/members -> holidaySchemes.getHolidaySchemeMembers()
      • POST /holiday-schemes/{id}/members -> holidaySchemes.postHolidaySchemeMembers()
      • GET /holiday-schemes/users/{accountId} -> holidaySchemes.getForUser()
    • Roles
      • GET /roles/default -> roles.getDefault()
    • Work Attributes
      • POST /work-attributes -> workAttributes.post()
      • PUT /work-attributes/{key} -> workAttributes.putWorkAttribute()
      • DELETE /work-attributes/{key} -> workAttributes.deleteWorkAttribute()
    • Workload Schemes
      • POST /workload-schemes -> workloadSchemes.post()
      • PUT /workload-schemes/{id} -> workloadSchemes.putWorkloadScheme()
      • DELETE /workload-schemes/{id} -> workloadSchemes.deleteWorkloadScheme()
      • PUT /workload-schemes/{id}/default -> workloadSchemes.putWorkloadScheme()
      • GET /workload-schemes/{id}/members -> workloadSchemes.getWorkloadSchemeMembers()
      • POST /workload-schemes/{id}/members -> workloadSchemes.postWorkloadSchemeMembers()
      • GET /workload-schemes/users/{accountId} -> workloadSchemes.getForUser()
    • Worklogs
      • POST /worklogs/work-attribute-values -> worklogs.postWorkAttributeValues()

Improvements

Internal Improvements

  • Improved unit tests for detecting Tempo.io's documentation changes: #83
  • Replaced Travis CI code coverage job with GitHub Actions: #86
  • Removed david-dm.org badges from README.md since the domain certificates have expired: #87

v3.1.3

26 Oct 09:02
Compare
Choose a tag to compare

Improvements

v3.1.2

23 Aug 19:37
Compare
Choose a tag to compare

Improvements

v3.1.1

05 Jul 21:42
Compare
Choose a tag to compare

Bug Fixes

  • Fixed types to accurately reflect tempo.io's API: #60
    • This includes making the following properties for Worklog optional:
      • billableSeconds
      • remainingEstimateSeconds
      • attributes
    • This includes making values against WorkAttributesResponse optional.

Improvements

v3.1.0

18 Mar 08:15
Compare
Choose a tag to compare

Additions

Improvements

v3.0.1

27 Jan 08:24
Compare
Choose a tag to compare

Improvements

  • Upgraded to latest axios version: #34
  • Upgraded devDependencies: #34, #35

v3.0.0

19 Jan 11:48
Compare
Choose a tag to compare

Breaking changes

  • Renamed several interfaces to remove I as a prefix. This was done because of the Eslint style guide rule @typescript-eslint/interface-name-prefix. To fix in any dependant code, the imports of these interfaces must be updated to use the new names (i.e. Remove the prefix I). See #31.
  • When instantiating TempoApi, the port value no longer accepts null. To fix in any dependant code, change null to undefined. See #31.

Minor changes

  • Clarified that the type of WorkAttributeResponse.values is string[]. See #31.

Internal changes

  • Updated dev-dependencies. See #29, #32.
  • Stopped npm-audit and npm-oudated GitHub Actions running on pull requests and pushes. See #30.
  • Switched from TSLint to Eslint and adopted the Airbnb JavaScript style guide. See #31.
  • Removed unnecessary tests. See #31.
  • Fixed pipeline issues in travis. See #33.

v2.0.2

11 Jan 12:18
Compare
Choose a tag to compare

Internal changes

  • Upgraded axios from v0.19.0 to v0.19.1. See #28
  • Upgraded devDependencies. See #27, #28

v2.0.1

30 Dec 15:12
Compare
Choose a tag to compare

Internal changes

  • Replaced deprecated url.format with WHATWG URL API. See #26.
  • Updated various dev dependencies. See #20, #21, #22, #23, #24, #25.
  • Added "NPM Outdated" GitHub Workflow to notify project maintainers of out-of-date dependencies. See #21.