1.0.0-beta.2 (2021-08-17)
Features Added
- Support caching of registered schemas and send requests to the service only if the cache does not have the looked-up schema/schema ID.
Breaking Changes
- Change SchemaRegistryClient.getSchemaId and SchemaRegistryClient.getSchemaById to return
undefined
instead of throwing when schema is not found (Issue #15130) - Move generated client to use @azure/core-rest-pipeline. For more information about Core V2, please refer to the documentation.
-
With this change, the response types no longer contain the raw response
_response
. To access the raw response, anonResponse
callback has to be passed in the request options bag.let createResult: FullOperationResponse | undefined; await client.getSchemaById(id, { onResponse: (response) => (createResult = response) });
-
Bug Fixes
- Fix issue with newlines and certain other characters in schema. (Issue 15131)