Releases: denoland/deno_std
Releases · denoland/deno_std
0.211.0
0.211.0 / 2024.01.04
- BREAKING(collections): remove
groupBy()
(#3923) - BREAKING(crypto): remove stable
KeyStack()
(#4055) - BREAKING(front_matter): remove deprecated APIs (#4013)
- BREAKING(http): remove deprecated
createCommonResponse()
andStatus
APIs
(#4014) - BREAKING(path): remove deprecated APIs (#4016)
- BREAKING: remove
types.d.ts
at top level (#3922) - deprecation(log): string type for
BaseHandler.formatter
(#4023) - deprecation(semver): deprecate
compareBuild()
(#4088) - deprecation(semver): deprecate
format()
style
argument (#4050) - deprecation(semver): deprecate
testComparator()
(#4037) - deprecation(semver): deprecate cmp (#4025)
- deprecation(semver): rename rsort to reverseSort (#4032)
- feat(cli): make
Spinner.message
able to be changed on-the-fly (#4079) - feat(semver): optional SemVer build and prerelease properties (#4024)
- fix(cli): document milliseconds unit for
Spinner.interval
(#4017) - fix(cli/spinner): export private type aliases used in public API (#4012)
- fix(expect): align toEqual to jest (#4034)
- fix(expect): align toStrictEqual behavior to jest (#4035)
- fix(expect): invalid return typing (#4011)
- fix(fs): fix
expandGlob()
test race condition (#4081) - fix(semver): remove
undefined
return type fromrangeMax()
(#4089) - fix(toml): testdata typo (#4074)
0.210.0
0.210.0 / 2023.12.21
- BREAKING(crypto): remove
toHashString()
(#3924) - BREAKING(encoding): remove deprecated APIs (#3952)
- BREAKING(http): remove deprecated
std/http/method
API (#3951) - deprecation(encoding): deprecate
base32.byteLength()
(#4000) - deprecation(semver): comparator min and max properties (#3974)
- deprecation(semver): deprecate
SemVer
argument forparse()
and
canParse()
(#3939) - deprecation(semver): deprecate
rcompare()
(#3958) - deprecation(semver): rename
isSemVerComparator()
(#3957) - deprecation(signal): move deprecation forward (#4004)
- feat(cli): command line spinner (#3968)
- feat(collections): improve
mapValues()
typing (#3978) - feat(log): add support for structured JSON logging (#3960)
- feat(testing): enable the
using
keyword onFakeTime()
(#3961) - fix(http): account for period in signed cookie name (#3977)
- fix(path/extname): fix incorrect import (#3970)
- perf(streams): make
toBlob()
20-30% faster (#3934)
0.209.0
0.209.0 / 2023.12.13
- BREAKIING(fs): remove
EOL
enum, add OS-dependentEOL
(#3850) - BREAKING(async): remove deprecated
deferred()
(#3852) - BREAKING(bytes): remove spread
concat()
overload (#3854) - BREAKING(collections): remove deprecated APIs (#3853)
- BREAKING(datetime): remove
toIMF()
(#3849) - BREAKING(http): remove
ServerSentEvent()
(#3847) - BREAKING(media_types): remove
typeByExtension()
(#3848) - Revert "BREAKING(media_types): remove
typeByExtension()
" (#3877) - deprecate(log): remove enums and add deprecation notices (#3855)
- deprecation(front_matter): move
Format
enum deprecation forward (#3931) - deprecation(io): IO types in favour of Web Streams API (#3903)
- deprecation: move
types.d.ts
tostd/io
(#3885) - feat(cli):
promptSecret()
(#3777) - feat(expect): support message checks in expect().toThrow (#3938)
- feat(http):
signCookie()
,verifyCookie()
andparseSignedCookie()
(#3905) - feat(net):
getAvailablePort()
(#3890) - feat: add
std/ini
(#3871) - feat: new
std/webgpu
sub-module (#3119) - fix(assert): disallow scalar string args in
assertArrayIncludes()
(#3910) - fix(assert): export parameter type alias for
assertArrayIncludes()
(#3917) - fix(assert): fix diff of long string in objects (#3867)
- fix(cli): re-export promptSecret from mod.ts (#3944)
- fix(fs): improve
exists()
test coverage (#3898) - fix(text): fix closestString (#3936)
- fix(toml): handle CRLF as newline in parsing multiline string (#3920)
- fix(tools): ignore the .git folder when checking for copyright header (#3937)
- perf(async): remove event listener ASAP in
abortablePromise()
and
abortableAsyncIterable()
(#3909) - perf(crypto): use
Promise.all()
forKeyStack
data comparisons (#3919) - perf(encoding): increase
varint.decode()
performance by 45x (#3940)
0.208.0
0.207.0
0.207.0 / 2023.11.17
- BREAKING(bytes): deprecate
concat()
signatures that don't useUint8Array[]
argument (#3784) - BREAKING(crypto): remove
crypto.subtle.timingSafeEqual()
method (#3803) - BREAKING(fs): deprecate
EOL
enum (#3809) - BREAKING(http): deprecate
ServerSentEvent()
(#3783) - BREAKING(http): deprecate
enum Status
in favour ofSTATUS_CODES
object
(#3781) - BREAKING: move
std/flags
to newstd/cli
sub-module (#3530) - BREAKING: remove deprecated
std/http/http_errors
(#3737) - BREAKING: remove deprecated
std/wasi
module (#3733) - feat:
std/data_structures
(#3734)
0.206.0
0.206.0 / 2023.11.10
- BREAKING(async): deprecate
deferred()
in favor ofPromise.withResolvers()
(#3758) - BREAKING(encoding): remove deprecated binary APIs (#3763)
- BREAKING(path): split up glob into multiple files
- feat(testing/mock): enable
spy
to accept a class constructor (#3766) - feat:
ServerSentEventStream()
(#3751) - feat: add
std/text
with word-similarity helpers (#3488) - fix(fmt): format duration rounding error. (#3762)
- fix(msgpack): encode huge objects (#3698)
- fix: rework file server tests (#3779)
- perf(streams): add single-character fast path for
DelimiterStream()
(#3739)
0.205.0
0.205.0 / 2023.11.01
- BREAKING(dotenv): remove deprecated
restrictEnvAccessTo
option (#3705) - BREAKING(http): move cookie_map, errors, server_sent_event, and method to
unstable category, deprecate server.ts (#3661) - BREAKING: deprecate
std/wasi
(#3732) - BREAKING: remove deprecated
BytesList()
(#3740) - BREAKING: remove deprecated
std/csv
exports (#3704) - feat(fs): introduce
canonicalize
option toWalkOptions
(#3679) - feat(semver): canParse (#3709)
- fix(fs):
expandGlob
/expandGlobSync
don't require full--allow-read
perms
on granted read permissions (#3692) - fix(http): file server with showDirListing + urlRoot (#3691)
- fix: flaky
http/file_server.ts
tests (#3717)
0.204.0
0.204.0 / 2023.10.12
- BREAKING(front_matter): deprecate Format enum, use union type instead (#3641)
- BREAKING(front_matter): deprecate language-specific
test
functions (#3654) - BREAKING(path): split path into per-os modules, deprecate legacy os-specific
exports (#3649) - feat(crypto): add BLAKE2B-128 hash algorithm (#3680)
- fix(archive/untar.ts): cannot access symlinks in archives (#3686)
- fix(assert): fix swapping of multiline str diff (#3685)
- perf(encoding): optimize encodeBase64Url (#3682)
- perf: improvements using
Promise.all()
(#3683)
0.203.0
0.203.0 / 2023.09.27
- BREAKING(encoding): deprecate encode/decode, add encodeFoo/decodeFoo (#3660)
- BREAKING(encoding): deprecate old encode/decode in hex.ts (#3673)
- BREAKING(front_matter): deprecate default exports (#3653)
- BREAKING(io): deprecate io top level module (#3556)
- fix(collections): accept readonly arrays in aggregateGroups, reduceGroups, zip
(#3662) - fix(datetime): correctly format midnight in 12-hour time (#3667)
- fix(datetime): fix dayOfYear when the timezone has DST (#3668)
- fix(encoding): add validation of the input types (#3666)
- fix(semver): add a necessary grouping, fix prerelease parsing (#3674)
0.202.0
0.202.0 / 2023.09.19
- BREAKING(collections): move RedBlackTree, BinarySearchTree, and BinaryHeap to
'unstable' subdir (#3628) - BREAKING(crypto): clean up module (#3630)
- BREAKING(csv): deprecate error message exports (#3602)
- BREAKING(datetime): deprecate to_imf.ts (#3633)
- BREAKING(media_types): deprecate typeByExtension (#3622)
- BREAKING(streams): deprecate APIs based on legacy Reader/Writer interfaces
(#3640) - feat(encoding): add encodeHex, decodeHex (#3642)
- feat(streams): to ArrayBuffer/Blob/Json/Text (#3631)
- feat(ulid): port /x/ulid module (#3582)
- fix(streams): DelimiterStream regression (#3611)
- fix(stripAnsiCode): escape erase character (#3608)
- fix(testing/snapshot): distinguish between singular and plural forms (#3625)
- fix(testing/time): fix FakeTime.next to return false if all timers are cleared
(#3638) - fix(url): fixes for url functions and new tests. (#3607)