Releases: denoland/std
Releases · denoland/std
0.218.0
0.218.0 / 2024.02.29
- feat(assert): optional
reason
param forunreachable
(#4404) (#4405) - feat(collections): add
pick
andomit
(#4218) - feat(expect): add asymmetric matchers (any, anything, arrayContaining) (#4366)
- feat(uuid): add type predicate return type to validate (v4) (#4301)
- fix(fs/ensure_symlink): check symlink is pointing the given target (#4371)
- fix(log): add missing return types (#4401)
0.217.0
0.217.0 / 2024.02.22
- deprecation(semver): deprecate
==
,===
,!==
, and""
operators (#4271) - doc: fix
std/path/posix
link (#4337) - feat(io):
iterateReader[Sync]()
(#4247) - feat(io): un-deprecate
readerFromStreamReader()
(#4343) - feat(testing): explicit resource management for
spy()
andstub()
(#4306) - fix(http):
version
fromdeno.json
import (#4342) - fix(media_types): load extensions when directly importing
extensionsByTypes()
(#4351) - fix(semver): fix
prerelease
handlings in range utils (#4323) - fix(semver): fix parse_range for
>x.y
pattern (#4350)
0.216.0
0.216.0 / 2024.02.15
- BREAKING(path): remove
path/windows/separator.ts
(#4292) - BREAKING(semver): remove
SemVerRange
andisSemVerRange()
(#4295) - BREAKING(semver): remove
eq()
,gt()
,gte()
,lt()
,lte()
andneq()
(#4294) - BREAKING(semver): remove
outside()
(#4293) - feat(datetime):
format()
options (#4285) - fix(semver): return new object instance in
comparatorMin()
and
comparatorMax()
(#4314)
0.215.0
0.215.0 / 2024.02.08
- BREAKING(log): remove
WARNING
log level (#4258) - BREAKING(path): remove
glob.ts
files (#4259) - BREAKING(path): remove
separator.ts
files (#4260) - BREAKING(semver): remove
Comparator
functions (#4278) - BREAKING(semver): remove
rangeFormat()
(#4265) - BREAKING(semver): remove
sort()
(#4264) - deprecation(semver): deprecate
ltr()
andgtr()
(#4228) - deprecation(semver): deprecate
reverseSort()
(#4280) - feat(expect): add
expect.addEqualityTesters
api. (#4255) - fix: version bump workflow (#4288)
- refactor(dotenv): prepare for
noUncheckedIndexedAccess
(#4261) - refatcor(toml): prepare for
noUncheckedIndexedAccess
(#4274)
0.214.0
0.214.0 / 2024.02.01
- BREAKING(io): remove
types.d.ts
(#4237) - BREAKING(log): remove string formatter (#4239)
- BREAKING(log): single-export handler files (#4236)
- BREAKING(streams): remove
readAll()
,writeAll()
andcopy()
(#4238) - feat(tools,log,http,semver): check mod exports, export items consistently from
mod.ts (#4229) - fix(expect): add Error object equal check. (#4248)
- fix(expect): align
toEqual
to jest (#4246)
0.213.0
0.213.0 / 2024.01.25
- BREAKING(http): remove
CookieMap
(#4179) - BREAKING(semver): remove
FormatStyle
(#4182) - BREAKING(semver): remove
compareBuild()
(#4181) - BREAKING(semver): remove
rsort()
(#4180) - deprecation(path): split off all constants into their own files and deprecate
old names (#4153) - deprecation(semver): deprecate
SemVerRange
, introduceRange
(#4161) - deprecation(semver): deprecate
outside()
(#4185) - deprecation(semver): rename
eq()
,neq()
,lt()
,lte()
,gt()
and
gte()
(#4083) - feat(collections): pass
key
tomapValues()
transformer (#4127) - feat(io): un-deprecate
Buffer
(#4184) - feat(log): make handlers disposable (#4195)
- feat: print warning on use of deprecated API (#4200)
- fix(expect): fix the function signature of
toMatchObject()
(#4202) - fix(flags): correct deprecation notices (#4207)
- fix(fmt): correct
stripColor()
deprecation notice (#4208) - fix(log): make
flattenArgs()
private (#4214) - fix(toml):
parse()
duplicates the character next to reserved escape
sequences (#4192) - fix: ignore linting for
Deno.serveHttp()
(#4234) - fix: ignore linting rule for
Deno.resources()
(#4233)
0.212.0
0.212.0 / 2024.01.12
- BREAKING(encoding): remove
base32.byteLength()
(#4173) - BREAKING(log): remove deprecated APIs (#4104)
- BREAKING(semver): remove
SemVerComparator
(#4109) - BREAKING(semver): remove
canParse()
non-string overload (#4108) - BREAKING(semver): remove
cmp()
(#4171) - BREAKING(semver): remove
isSemVerComparator()
(#4107) - BREAKING(semver): remove
parse(semver: string)
overload (#4172) - BREAKING(semver): remove
rcompare()
(#4106) - BREAKING: remove
std/signal
sub-module (#4105) - deprecation(io): move types file (#4133)
- deprecation(log): deprecate
LogLevels.WARNING
(#4170) - deprecation(log): move handlers to single-export files (#4176)
- deprecation(log): rename
warning()
towarn()
(#4117) - deprecation(semver): deprecate
Comparator
functions (#4131) - deprecation(semver): deprecate
sort()
(#4098) - deprecation(semver): rename
rangeFormat()
toformatRange()
(#4090) - feat(cli): make
Spinner.color
public (#4092) - feat(io): re-introduce IO functions (#4128)
- feat(net): add
preferredPort
option togetAvailablePort()
(#4151) - feat(text): cases (#4082)
- fix(fs): reduce perm requirement of
ensureDir()
(#4041) - fix(http): punt removal version of
unstable_cookie_map.ts
(#4125) - fix: add
--no-lock
to spawned process args in tests (#4168) - fix: use
with
keyword for import attributes (#4141)
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)