# Change Log - @microsoft/sp-http

This log was last generated on Fri, 23 Apr 2021 20:05:04 GMT and should not be manually modified.

## 1.12.1
Fri, 23 Apr 2021 20:05:04 GMT

_Version update only_

## 1.12.0
Tue, 16 Mar 2021 14:32:35 GMT

### Patches

- Import localized strings
- Import localized strings
- Import localized strings
- Import localized strings

### Updates

- rename npm run dev-deploy to deploy
- retry on network failure
- retry count on network failure reset to 1
- Updated IRequestCacheOptions, renamed the exisiting cacheAndNetwork strategy to cacheThenNetwork., and added a new cache cacheAndNetwork strategy.
- method overload
- Added ComponentId to IHttpRequestCacheOptions
- Use isolatedModules: true in ts-jest
- Stop logging HttpClientHelper.Fetch QoS unless failure
- Rename @ms/spfx-heft-plugins to @microsoft/spfx-heft-plugins in preparation for public release.
- Disable caching of 204 responses in CacheManager
- Fix enum check in CacheManager to correctly handle NetworkOnly case
- Convert const enums.
- Attempt to improve the warning suppression regex.
- Added QOS to monitor whether time it takes apps to retrieve tokens for endpoints, as well as whether it's for an internal app or not
- Fixed issue with logging wrong data
- Retrieve Auth token using SharePoint domain instead of App Id
- Adds optional parameter qosTag that will send qos log to custom monitor
- Change authorization header to be single value after retry 
- Add an internal overload to OAuthTokenProvider.getAuthToken API to support tokenType parameter"
- Added internal overload of getAuthToken API to OAuthTokenProvider
- "Passed IRequestCacheOptions to cacheProvider.getKey" 
- 'Made private SPHttpClient._fetch protected'
- "Added cacheOprions to ICacheDataProvider.setData api"
- CacheANdNetwork startegy can be used to get stale cache data then make network call
- added exception handling
- Fixed CacheManager._updateCache
- Exported CacheDataProviderService
- extra logging on errors
- Deprecate DATACENTER tag
- removing KS for fixes for headers.forEach
- added more error codes in AadConstants.ts
- fix for headers.forEach is not a function
- added AAD error codes
- further refining fix for headers.forEach is not a function
- added AAD error code for transient error
- Add --clean flag to the heft start script
- Gradualte null body fix killswitches
- Suppress babel warning.
- Remove duplicate type ITokenAcquisitionEventArgs definition
- graduate killswitch
- update @types/jest to match current jest version

