Skip to content

Commit 3926fd7

Browse files
authored
feat(core/schemas): set public release level for schema API (#1766)
1 parent 5b46fa6 commit 3926fd7

24 files changed

+60
-54
lines changed

.changeset/modern-paws-hear.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@smithy/types": minor
3+
"@smithy/core": minor
4+
---
5+
6+
set release level for schemas

packages/core/src/submodules/cbor/CborCodec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { cbor } from "./cbor";
88
import { dateToTag } from "./parseCborBody";
99

1010
/**
11-
* @alpha
11+
* @public
1212
*/
1313
export class CborCodec extends SerdeContext implements Codec<Uint8Array, Uint8Array> {
1414
public createSerializer(): CborShapeSerializer {
@@ -25,7 +25,7 @@ export class CborCodec extends SerdeContext implements Codec<Uint8Array, Uint8Ar
2525
}
2626

2727
/**
28-
* @alpha
28+
* @public
2929
*/
3030
export class CborShapeSerializer extends SerdeContext implements ShapeSerializer {
3131
private value: unknown;
@@ -115,7 +115,7 @@ export class CborShapeSerializer extends SerdeContext implements ShapeSerializer
115115
}
116116

117117
/**
118-
* @alpha
118+
* @public
119119
*/
120120
export class CborShapeDeserializer extends SerdeContext implements ShapeDeserializer {
121121
public read(schema: Schema, bytes: Uint8Array): any {

packages/core/src/submodules/cbor/SmithyRpcV2CborProtocol.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { loadSmithyRpcV2CborErrorCode } from "./parseCborBody";
2020
/**
2121
* Client protocol for Smithy RPCv2 CBOR.
2222
*
23-
* @alpha
23+
* @public
2424
*/
2525
export class SmithyRpcV2CborProtocol extends RpcProtocol {
2626
private codec = new CborCodec();

packages/core/src/submodules/event-streams/EventStreamSerde.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { fromUtf8 } from "@smithy/util-utf8";
1818
* Separated module for async mixin of EventStream serde capability.
1919
* This is used by the HttpProtocol base class from \@smithy/core/protocols.
2020
*
21-
* @alpha
21+
* @public
2222
*/
2323
export class EventStreamSerde {
2424
private readonly marshaller: EventStreamMarshaller;

packages/core/src/submodules/protocols/HttpBindingProtocol.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { HttpProtocol } from "./HttpProtocol";
2424
* Base for HTTP-binding protocols. Downstream examples
2525
* include AWS REST JSON and AWS REST XML.
2626
*
27-
* @alpha
27+
* @public
2828
*/
2929
export abstract class HttpBindingProtocol extends HttpProtocol {
3030
public async serializeRequest<Input extends object>(

packages/core/src/submodules/protocols/HttpProtocol.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { SerdeContext } from "./SerdeContext";
2626
/**
2727
* Abstract base for HTTP-based client protocols.
2828
*
29-
* @alpha
29+
* @public
3030
*/
3131
export abstract class HttpProtocol extends SerdeContext implements ClientProtocol<IHttpRequest, IHttpResponse> {
3232
protected abstract serializer: ShapeSerializer<string | Uint8Array>;

packages/core/src/submodules/protocols/RpcProtocol.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { HttpProtocol } from "./HttpProtocol";
1818
/**
1919
* Abstract base for RPC-over-HTTP protocols.
2020
*
21-
* @alpha
21+
* @public
2222
*/
2323
export abstract class RpcProtocol extends HttpProtocol {
2424
public async serializeRequest<Input extends object>(

packages/core/src/submodules/protocols/serde/FromStringShapeDeserializer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { determineTimestampFormat } from "./determineTimestampFormat";
2424
/**
2525
* This deserializer reads strings.
2626
*
27-
* @alpha
27+
* @public
2828
*/
2929
export class FromStringShapeDeserializer extends SerdeContext implements ShapeDeserializer<string> {
3030
public constructor(private settings: CodecSettings) {

packages/core/src/submodules/protocols/serde/HttpInterceptingShapeDeserializer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { FromStringShapeDeserializer } from "./FromStringShapeDeserializer";
1212
* For example, in a JSON HTTP message, the deserialization of a field will differ depending on whether
1313
* it is bound to the HTTP header (string) or body (JSON).
1414
*
15-
* @alpha
15+
* @public
1616
*/
1717
export class HttpInterceptingShapeDeserializer<CodecShapeDeserializer extends ShapeDeserializer<any>>
1818
extends SerdeContext

packages/core/src/submodules/protocols/serde/HttpInterceptingShapeSerializer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { ToStringShapeSerializer } from "./ToStringShapeSerializer";
1616
* For example, a JavaScript array is serialized differently when being written
1717
* to a REST JSON HTTP header (comma-delimited string) and a REST JSON HTTP body (JSON array).
1818
*
19-
* @alpha
19+
* @public
2020
*/
2121
export class HttpInterceptingShapeSerializer<CodecShapeSerializer extends ShapeSerializer<string | Uint8Array>>
2222
implements ShapeSerializer<string | Uint8Array>, ConfigurableSerdeContext

0 commit comments

Comments
 (0)