Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
12 KiB
@atproto/lex-data
0.0.15
Patch Changes
-
#4828
c62651dThanks @matthieusieben! - Export new utility functions for working withBlobRef:getBlobCid,getBlobCidString,getBlobMime, andgetBlobSize. -
#4835
f6f100cThanks @matthieusieben! - Addutf8FromBytesthat decodes a byte array containing a utf-8 string -
#4828
c62651dThanks @matthieusieben! - DefinesBlobRefas a union ofTypedBlobRefandLegacyBlobRefto allow for seamless handling of both types of blob references. -
#4828
c62651dThanks @matthieusieben! - Accept legacy blob references in non-strict mode. Legacy blob references (objects withcidandmimeTypeproperties) are now accepted whenstrict: false, which is the default behavior whenstrictResponseProcessingis disabled on the Client.BREAKING: The
allowLegacyoption has been removed from the blob schema builder, and legacy blobs are now handled automatically based on the strictness mode: in strict mode they are rejected, and in non-strict mode they are accepted. Consumers should stop passingallowLegacyand rely on strictness configuration instead. Likewise, CLI consumers should stop using the removed--allowLegacyBlobsflag and use the default strict/non-strict behavior.
0.0.14
Patch Changes
- #4761
6a88461Thanks @matthieusieben! - Allow-1BlobRef size in non-strict mode
0.0.13
Patch Changes
-
#4688
52834abThanks @matthieusieben! - Remove concept of "downstream error response" (toResponse()method) from theLexErrorclass -
#4688
52834abThanks @matthieusieben! - Improve messaging of various errors by making them more precisely describe what happened.
0.0.12
Patch Changes
- #4660
ea5df64Thanks @matthieusieben! - Minor code simplification
0.0.11
Patch Changes
-
#4601
ed61c62Thanks @matthieusieben! - Fixexportsfield in package.json -
#4601
ed61c62Thanks @matthieusieben! - Add JSDoc
0.0.10
Patch Changes
- #4589
369bb02Thanks @matthieusieben! - Avoid exposing empty string asmessagein error payloads
0.0.9
Patch Changes
-
#4562
7310b97Thanks @matthieusieben! - AddifUint8Arrayutility function -
#4571
99963d0Thanks @matthieusieben! - RenameisLanguageStringtovalidateLanguage -
#4571
99963d0Thanks @matthieusieben! - Improve code coverage of tests
0.0.8
Patch Changes
-
#4528
dfd4beeThanks @matthieusieben! - AddasMultiformatsCIDutility for improved compatibility betweenCidinterface and legacy use of multiformat'sCID -
#4528
dfd4beeThanks @matthieusieben! - Make theCidinterface stricter to allow for better futur proofing. -
#4528
dfd4beeThanks @matthieusieben! -isCid,ifCidandasCidnow always return the input value instead a potentially different instance. -
#4528
dfd4beeThanks @matthieusieben! - ExposecreateCidutility
0.0.7
Patch Changes
-
#4512
d78484fThanks @matthieusieben! - breaking: replacestrictoptions withflavorchecking when parsing/decoding/validatingCidvalues -
#4512
d78484fThanks @matthieusieben! - Expose CID creation and validation utilities -
#4512
d78484fThanks @matthieusieben! - breaking:asCidnow throws if the input cannot be cast into aCid
0.0.6
Patch Changes
-
#4501
2f78893Thanks @matthieusieben! - AddenumBlobRefsutility function -
#4501
2f78893Thanks @matthieusieben! - Perform strictBlobRefvalidation by default -
#4501
2f78893Thanks @matthieusieben! - Addbase64ToUtf8andutf8ToBase64utilities
0.0.5
Patch Changes
-
#4443
9af7a2dThanks @matthieusieben! - AddLexErrorDatatype, and anLexErrorclass to represent structured error information -
#4443
9af7a2dThanks @matthieusieben! - Addui8Concatutility for concatenatingUint8Arrays
0.0.4
Patch Changes
-
#4457
e6b6107Thanks @matthieusieben! - Use stack based approach inisLexValueallowing to be called with very deep structures; -
#4457
e6b6107Thanks @matthieusieben! - Do not throw an error fromisLexScalar(returnfalseinstead) -
#4457
e6b6107Thanks @matthieusieben! - Forbid use of unsafe integers -
#4457
e6b6107Thanks @matthieusieben! - ExposeisPlainProtoutility to check if an object is a plain object. -
#4457
e6b6107Thanks @matthieusieben! - RenameparseLanguageandisLanguageexports toparseLanguageStringandisLanguageStringrespectively
0.0.3
Patch Changes
- #4422
693784cThanks @matthieusieben! - Add support for base64url encoding/decoding
0.0.2
Patch Changes
-
#4390
1d445afThanks @matthieusieben! - UseCidinterface instead ofCIDclass to represent parsed CID data. -
#4390
1d445afThanks @matthieusieben! - Replace use ofCIDwithCid -
#4397
688f9d6Thanks @matthieusieben! - AddCHANGELOG.mdto npm package -
Updated dependencies [
bcae2b7]:- @atproto/syntax@0.4.2
0.0.1
Patch Changes
- #4371
46550d6Thanks @matthieusieben! - Release