microsoftgraph/msgraph-sdk-javascript
Microsoft Graph client library for JavaScript
30 Releases
Latest: 2y ago
3.0.7Latest
📦 Updating your application
- To update your application to use the newest version of Microsoft Graph Client, navigate to your project directory and run:
- `npm i @microsoft/microsoft-graph-client@latest`
📋 What's Changed
- Fix code block by @n1jmbt in https://github.com/microsoftgraph/msgraph-sdk-javascript/pull/1327
- Update CreatingClientInstance.md by @icyfire0573 in https://github.com/microsoftgraph/msgraph-sdk-javascript/pull/1183
- fix compilation warnings by @koros in https://github.com/microsoftgraph/msgraph-sdk-javascript/pull/1394
- Remove unsupported node versions(12 & 14) from the pipeline by @koros in https://github.com/microsoftgraph/msgraph-sdk-javascript/pull/1405
- merge changes from main branch to dev by @koros in https://github.com/microsoftgraph/msgraph-sdk-javascript/pull/1435
- Merge all changes from dev to main branch by @koros in https://github.com/microsoftgraph/msgraph-sdk-javascript/pull/1436
✨ New Contributors
- @n1jmbt made their first contribution in https://github.com/microsoftgraph/msgraph-sdk-javascript/pull/1327
- @icyfire0573 made their first contribution in https://github.com/microsoftgraph/msgraph-sdk-javascript/pull/1183
- @koros made their first contribution in https://github.com/microsoftgraph/msgraph-sdk-javascript/pull/1394
- Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-javascript/compare/3.0.5...3.0.7
3.0.5
📋 Changes
- Introducing `Headers` in `GraphError` object. Fixes #1113
3.0.4
Hotfix #1044.
3.0.3
📋 Changes
- #959
- #917
- #915
1.7.2-spfxPre-release
📋 Changes:
- 198fec2248375792612a06b204cc7641f31ccd28 Merge pull request #861 from microsoftgraph/fabricbot-configuration-migration
- 6314efba71d0dc12d5715ddeec9edd1bef1ad2d4 Add `.github/fabricbot.json`
- 15592a12c0e6d12625549584088de6d63d815dbb build(deps-dev): bump lint-staged from 13.0.2 to 13.0.3 (#855)
- 26e7249f9e68e0822d5981683da0225d68629ef2 build(deps-dev): bump @rollup/plugin-commonjs from 22.0.0 to 22.0.1 (#859)
- a38872136fb194190d82a756cf5193cc906f58a0 build(deps-dev): bump @typescript-eslint/eslint-plugin (#860)
- eaf6aeae4e977f450b4a3925286df286c932690b build(deps-dev): bump rollup from 2.75.6 to 2.75.7 (#856)
- 91f68a5ddd361ac8f90ea5494668f1744defaad7 build(deps-dev): bump @typescript-eslint/parser from 5.28.0 to 5.29.0 (#857)
- 1d33aeab2e158cbe2802895e64c6c262e6d232bb build(deps-dev): bump @microsoft/microsoft-graph-types (#858)
- + 194 more
1.7.1-spfxPre-release
📋 Changes:
- b40c96b39f0356847f175409d190e39773d95300 build(deps-dev): bump @azure/identity from 2.0.4 to 2.0.5 (#849)
- 2390f3bc8a06ecde8a3487251ece687c5de307d7 build(deps-dev): bump @azure/msal-browser from 2.25.0 to 2.26.0 (#844)
- 39178801de9e2177b1b5d233b7c79272d5866f15 build(deps-dev): bump @microsoft/microsoft-graph-types (#840)
- dd10ae8eb3f7838214d2f67488958519ba567c87 build(deps-dev): bump @typescript-eslint/parser from 5.27.1 to 5.28.0 (#839)
- c70e8ee2a388a2e654ba3589bd3f8fc97aa0773e build(deps-dev): bump eslint from 8.17.0 to 8.18.0 (#841)
- 2f564df3d9e98a68cd15ff8ec585ce37a0ce1cd7 build(deps-dev): bump @types/node from 17.0.42 to 18.0.0 (#842)
- 7228297cca2155099d7b881b992c82cb90e55177 build(deps-dev): bump @babel/plugin-transform-runtime (#843)
- 96402588c1656b8d1e402ebf101d3039371762b0 build(deps-dev): bump @babel/core from 7.18.2 to 7.18.5 (#845)
- + 186 more
4.0.0-Preview.1Pre-release
📋 Changes:
- 9c458dfd9dbbc9dbdd988b21e2151de28287fad2 Bump lint-staged from 12.3.5 to 12.3.7 (#713)
- 9ba85e58f1525d580e775fb6a584379ff5fc0dfc Bump prettier from 2.5.1 to 2.6.0 (#715)
- 6ecdf71a5481f4bc93c804a518ceca0c28700e6f Bump @babel/runtime from 7.17.2 to 7.17.8 (#716)
- 11a295360b263ea635d54ffe74aa20a3e7388a98 Bump @typescript-eslint/parser from 5.14.0 to 5.16.0 (#719)
- 22271ab4bf2c6b7efebd45664499433f053e34f8 Bump @babel/core from 7.17.5 to 7.17.8 (#717)
- fc12ec6b67ec15ebe3f839797bdadeab3ff70601 Bump @typescript-eslint/eslint-plugin from 5.14.0 to 5.15.0 (#718)
- fbd4ac67ba93c7a4016a672f3f23bccb44077f4f Create codeql-analysis.yml
- 6f506dcc81dea1742228fd6fa7e75e7b297d55b6 Bump typescript from 4.5.5 to 4.6.2 (#667)
- + 76 more
3.0.2
📋 Changes:
- 7f901185b35003403eb823a8a8ef5fe9eda9ff27 Merge pull request #624 from microsoftgraph/release/3.0.2-latest
- 025db4c86c96fd453218bb504927298c09a69831 Merge branch 'master' into release/3.0.2-latest
- 0fe66a96b50e4c1035b00fafa23151f484f0be0c Merge pull request #623 from microsoftgraph/release/3.0.2
- 6e7a8bc92f82925aa5da06839aed5f15ae18b1a4 3.0.2
- 253d3c17eace4a766c6c2d89aeca95fd3badbd2b Merge branch 'master' into release/3.0.2
- b5e20c9bcb5a9b8478e8a3868ad6e5921b69f134 uint8array in fileupload (#622)
- 1c2565bdd2d225da8b1adbfd541509d5244dcdc7 Bump eslint-plugin-prettier from 3.4.0 to 4.0.0 (#611)
- 7f515f37f0e84f20683b50c0f055caa49c7e6d2e Merge pull request #619 from microsoftgraph/dependabot/npm_and_yarn/samples/simple-get-3.1.1
- + 59 more
3.0.1
📋 Changes:
- Use named exports #527
- Thank you @millicentachieng for #515
- Thank you @buptliuhs for the bug fixes correcting buffer size calculation in OneDriveLargeFileUpload and set correct content-type in file upload.
- Thank you @sjha2048 for fixes in samples and documentation.
3.0.0
📋 Changes
- [Milestone 3.0.0](https://github.com/microsoftgraph/msgraph-sdk-javascript/milestone/1)
- [V3 Upgrade guide](https://github.com/microsoftgraph/msgraph-sdk-javascript/blob/dev/changelogs/v3-upgrade-guide.md)
3.0.0-Preview.3Pre-release
📋 Changes
- Introducing the `AuthCodeMSALBrowserAuthenticationProvider` to support authentication using MSAL Browser.
- Removing `ImplicitMSALAuthenticationProvider` and thereby, ending the support for MSAL V1.
3.0.0-Preview.2Pre-release
📋 Changes
- Added `customHosts` in `IOptions` and `IClientOptions` to allow users to pass hosts of custom endpoints.
- Fixed #452
- [v3-upgrade-guide.md](https://github.com/microsoftgraph/msgraph-sdk-javascript/blob/dev/changelogs/v3-upgrade-guide.md)
3.0.0-Preview.1Pre-release
📋 Changes:
- 5dd013a2512e4ec96fdb31e0942f804f7c8ef367 ignoring the test folder (#441)
- 755a540a6381b608fba1ecc8faf570e168594396 modifying return type of onedrive create (#442)
- 5c32593158c8210131b7aa2cafab2db859f236b0 Merge pull request #440 from microsoftgraph/nikithauc/delete-orphan-file
- 7a5469dabe71386f41d63a0d129685ef8cfa6efc Merge branch 'dev' into nikithauc/delete-orphan-file
- 8977374d2c567d26202f96532b804f840c242cad Merge pull request #437 from microsoftgraph/nikithauc/set-preview-01-v3
- 4bd6014619e2253f872b912ef5d196613d6cd00b Merge branch 'dev' into nikithauc/delete-orphan-file
- a3f21066e4a78c13ce3c821c1efebfa4a3673e42 removing orphan package.lock json file
- da8206692366de4752b6298fb107ef63b89c9318 Merge branch 'dev' into nikithauc/set-preview-01-v3
- + 153 more
2.2.1
📋 Changes:
- Hot fixed #361 by adding msal as a dependency .
2.2.0
📝 Docs
- Localization of the documentation. Thanks to @OfficeGlobal!
🐛 Bug Fixes
- Fixed #344 by deleting Authorization Header in the request instead of setting the value as undefined.
- Fixed #265 by adding Telemetry headers only if the request URL points to a Graph endpoint. If not, delete the telemetry information.
- Fixed #230 by adding the missing imports.
2.2.0-Preview.1Pre-release
📝 Docs
- Localization of the documentation. Thanks to @OfficeGlobal!
🐛 Bug Fixes
- Fixed #344 by deleting Authorization Header in the request instead of setting the value as undefined.
- Fixed #265 by adding Telemetry headers only if the request URL points to a Graph endpoint. If not, delete the telemetry information.
- Fixed #230 by adding the missing imports.
2.1.1
📋 Changes:
- Explicity setting the GraphError prototype because of [known error caused by extending Error](https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work). (#347).
2.1.0
✨ New Features
- Introducing ChaosHandler, a piece of middleware that helps to mock different kinds of responses.
- Accepting an array of middleware handlers to build a custom middleware chain.
- GraphError extends [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error). Thank you for the contribution @OlivierCuyp!
🐛 Bug Fixes
- Post request with an empty body, now working fine.
- Changed the default value of the parameter in .count() as false.
- Fixed URL parsing to correctly parse URL with nested queries.
- Changed the content-type setting for POST,PUT and UPDATE methods, such that the content-type defaults to `application/json`.
- Changed the contruction of the session url for the OneDriveLargeFileTask. Thank you for the contribution @hasridha!
2.1.0-Preview.2Pre-release
✨ New Features
- Introducing ChaosHandler, a piece of middleware that helps to mock different kinds of responses.
- Accepting an array of middleware handlers to build a custom middleware chain.
- GraphError extends [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error). Thank you for the contribution @OlivierCuyp!
🐛 Bug Fixes
- Post request with an empty body, now working fine.
- Changed the default value of the parameter in .count() as false.
- Fixed URL parsing to correctly parse URL with nested queries.
- Changed the content-type setting for POST,PUT and UPDATE methods, such that the content-type defaults to `application/json`.
- Changed the contruction of the session url for the OneDriveLargeFileTask. Thank you for the contribution @hasridha!
2.1.0-Preview.1Pre-release
✨ New Features:
- Simplified building Custom Middleware Chain.
🐛 Bug Fixes
- Post request with an empty body, now working fine.
- Changed the default value of the parameter in .count() as false.
2.0.0
📦 Polyfilling
- Removed polyfills for Fetch and Promise, Now its the responsibility of the library users to polyfill these based on their environment support needs.
📦 Renaming MSALAuthenticationProvider
- Authentication provider and its options for MSAL library are now renamed from MSALAuthenticationProvider to ImplicitMSALAuthenticationProvider.
📦 Changing Default Content-Type in *put* method
- https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/180
- https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/189
- https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/204
- https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/207
- https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/198
- Updating dependencies for security issue
2.0.0-Preview.5Pre-release
🐛 Bug Fixes
- https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/207
- https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/204
- Updating dependencies for security issue
2.0.0-Preview.4Pre-release
🐛 Fixes
- Returning undefined token in case if the error for acquireTokenSilent is not InteractionRequiredAuthError in ImplicitMSALAuthenticationProvider.
2.0.0-Preview.3Pre-release
## Bug Fix #189
2.0.0-Preview.2Pre-release
🐛 Bug Fixes:
- https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/180
2.0.0-Preview.1Pre-release
📦 Polyfilling
- Removed polyfills for Fetch and Promise, Now its the responsibility of the library users to polyfill these based on their environment support needs.
📦 Renaming MSALAuthenticationProvider
- Authentication provider and its options for MSAL library are now renamed from MSALAuthenticationProvider to ImplicitMSALAuthenticationProvider.
1.7.0
✨ Features
- Large file upload with customized options - This enables uploading files to SharePoint, OneDrive for Business
📋 Changes
- Added document for calling pattern
- Added Telemetry Handler
🐛 Bug Fixes
- https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/171
1.7.0-Preview.3Pre-release
✨ Features
- Large file upload with customized options - This enables uploading files to SharePoint
🐛 Bug Fixes
- https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/171
1.7.0-Preview.2Pre-release
📋 Changes
- Added document for calling pattern
- Fixing https://github.com/microsoftgraph/msgraph-sdk-javascript/issues/171
1.7.0-Preview.1Pre-release
📋 Changes:
- Added Telemetry Handler
