Releases: microsoftgraph/msgraph-sdk-javascript
Releases · microsoftgraph/msgraph-sdk-javascript
1.6.0
1.6.0-Preview.3
Fixes
- Building
ES6
modules instead ofESNext
Modules
1.6.0-Preview.2
Features
- ES module files under
lib/es
folder - Complete library is exposed as one module named
graph-es-sdk.js
underlib
folder
1.6.0-Preview.1
March Updates
Architecture Change
- Implemented Middleware Architecture
- Support for default middleware implementation
- Support for custom middleware implementation
- List of middlewares implemented:
- Authentication Middleware
- HTTP Middleware
- Retry Middleware
- Redirect Middleware
New Features
- Added provider to integrate MSAL.js for Authentication (Supported frontend only)
- Added Middleware Options to customize the middleware behavior both at client level and request level
- Added isComplete() to PageIterator task
Refactoring and Miscellaneous
- Refactored graph request and response handling
- Added templates for PR and issues submission
- Removed generated files from the repository
- Added Linter and Prettier
- Added pre-commit hook with husky (for linting, testing and running prettier)
- Added more launch tasks for vscode
- Added License information in all source files
- Added jsDoc comment for all functions and interfaces
- Added tslib to reduce the output js size
- Updated samples for browser and node environment
- Added clean docs for all features
- Refactored source and test files with modern js syntax
- Updated dependencies to latest version
- Removed spec files from packaging
- Added various batches in the readme (Vulnerability, Downloads, License and Code Style)
Bug Fixes
January Updates
September Updates
Microsoft-Graph-Client
Updates
- Two output js files, one with polyfills for Fetch-API and ES6-Promises (lib/graph-js-sdk-web.js) and one without (lib/graph-js-sdk-core.js)
[Refer README.md for usage] - Enum for ResponseType, which lists down the available ResponseType options in autocomplete
Bug Fix
- Cannot access the property "request-id" of undefined in GraphError handling
Microsoft-Graph-Client
New Features
- Support for Multipart POST request
Updates
- Light weight FetchAPI dependency (in replacement for SuperAgent)
Bug Fixes
- Updated putStream and getStream to work for all sized files
- Added obfuscation for output js file (graph-js-sdk-web.js)
- Updated versions of mocha and chai to 5.2.0 and 4.1.2 to fix security vulnerability in growl (which is a dependency of mocha)
- Running unit test files under types directory
- Compiling ts files
General Availability
General availability for the Microsoft Graph JavaScript SDK.
Added tests for new Graph functionality - Delta query, Extensibility, OneNote, and more.