Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/on-main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: on-main
name: on-main

env:
AUTH_ACCOUNT_NAME: ${{ secrets.AUTH_ACCOUNT_NAME }}
Expand All @@ -16,15 +16,18 @@ on:
push:
branches: [ master ]

permissions:
contents: read # Required to clone the repository

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [23.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -43,5 +46,3 @@ jobs:
label: coverage
message: "${{ env.COVERED }} %"
color: green


5 changes: 4 additions & 1 deletion .github/workflows/reuse-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ name: REUSE Compliance Check

on: [push, pull_request]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
steps:
steps:
- uses: actions/checkout@v2
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v1
3 changes: 3 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
pull_request:
branches: [ master ]

permissions:
contents: read

jobs:
build:

Expand Down
32 changes: 19 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.0.1] 2026-05-27

### Changed

- Adjusted permission for GITHUB_TOKEN

## [4.0.0] 2025-12-19

### BREAKING CHANGES
Expand Down Expand Up @@ -86,7 +92,7 @@ await client.accountAPI.getCompaniesByAccount(accountId);
## [3.0.0] 2025-06-18
### Updated & Added
- (breaking change) Updated ClientConfig to support setting `baseUrl` that is used to determine the FSM cluster, the cluster is not determined by the FSM token.
- (breaking change) Updated support for OAuth API v2, client credential and password flows, default `oauthEndpoint` changed.
- (breaking change) Updated support for OAuth API v2, client credential and password flows, default `oauthEndpoint` changed.
- (breaking change) Removed support browser based bundle.
- (breaking change) Node.js v23 LTS is now required.
- Updated Public `getToken()`, `setToken(token)`, and `setAuthCompany(companyName)` methods to `CoreAPIClient` for improved token management and multi-company support.
Expand All @@ -100,45 +106,45 @@ await client.accountAPI.getCompaniesByAccount(accountId);
### Added
- Support `getByExternalId`, `postByExternalId`, `patchByExternalId`, `putByExternalId`, `deleteByExternalId` for working with external ids
- `login()` to use oauth api stand alone
- More links to docs
- More links to docs
- Adding missing DTOs

### Updated
### Updated
- DTO versions updates
- Updating down stream NPM packages - High vulnerability [ [ref](https://npmjs.com/advisories/1781) ]

## [2.0.1] 2021-08-05
### Added
- Adding token expiration and refresh as proposed by Tobias Wymer ( [@tswymer](https://github.com/tswymer) ) on [ [ref](https://github.com/SAP/fsm-sdk/pull/11) ]
- Adding `tenant_id`, `personId` and `permissionGroupId` to `OauthTokenResponse`
### Changed
### Changed
- Internal refactoring of facade public client API
### Updated
### Updated
- Updating down stream NPM packages - High vulnerability [ [ref](https://npmjs.com/advisories/1770) ]

## [2.0.0] 2021-07-26
### Changed
- **BREAKING** Dropping support for Node.js < v12, SDK now requires Node.js v12 or newer
- **BREAKING** Dropping support for Node.js < v12, SDK now requires Node.js v12 or newer
### Added
- Adding support for using client in browser (isomorphic), migrated from `node-fetch` to `isomorphic-fetch` as proposed by Andrei Vishnevsky ( [@VishnAndr](https://github.com/VishnAndr) ) on [ [ref](https://github.com/SAP/fsm-sdk/pull/9) ]
- **BREAKING** Adding `user_id` to `OauthTokenResponse`
- Adding compatibility tests
### Updated
- Updating down stream NPM packages
### Updated
- Updating down stream NPM packages


## [1.2.4] 2021-03-24
### Updated
- Fix error handling, http errors `4xx/5xx` status throw `ErrorResponse`, `304` and `302` do not throw
### Updated
- Fix error handling, http errors `4xx/5xx` status throw `ErrorResponse`, `304` and `302` do not throw

## [1.2.3] 2021-03-16
### Changed
### Changed
- Replace the deprecated `request` library with `node-fetch`

## [1.2.2] 2021-01-15
### Added
- Batch api support
### Updated
- Batch api support
### Updated
- DTO versions, removed `CrowdBusinessPartner`, `CrowdAssignment`, `CrowdPerson` DTO
### Changed
- internal refactoring
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fsm-sdk",
"version": "4.0.0",
"version": "4.0.1",
"description": "Node.JS sdk to interface with SAP Field Service Management APIs.",
"readme": "./README.md",
"main": "release/index.js",
Expand Down
Loading