Releases: denoland/std
Releases · denoland/std
2024.11.13
@std/assert 1.0.8 (patch)
- fix(assert): check property equality up the prototype chain (#6153)
@std/bytes 1.0.4 (patch)
- test(bytes): fix typo in test description (#6179)
@std/expect 1.0.8 (patch)
- fix(expect): support
expect.addSnapshotSerializer
(#6173)
@std/http 1.0.10 (patch)
- fix(http): do not serve dot files when
showDotfiles=false
(#6180)
@std/ini 1.0.0-rc.5 (prerelease)
- BREAKING(ini): parse understands booleans, undefined, null and numbers (#6121)
@std/log 0.224.10 (patch)
@std/media-types 1.1.0 (minor)
- feat(media-types): update media-types from latest mime-db (#6169)
@std/testing 1.0.5 (patch)
- docs(testing): fix typo in snapshot.ts (#6171)
2024.11.01
@std/assert 1.0.7 (patch)
- fix(assert): fix assertion error message of isError (#6147)
- test(assert): change inert comments to
@ts-expect-error
directives (#6162)
@std/async 1.0.8 (patch)
@std/bytes 1.0.3 (patch)
- test(bytes): document the cases being tested for equals/startsWith/endsWith
(#6163)
@std/expect 1.0.7 (patch)
- fix(expect): re-align
expect.toMatchObject
api (#6160) - fix(expect): support
expect.not.{arrayContaining,objectContaining,stringContaining,stringMatching}
(#6138) - fix(expect,internal,testing): support
expect.assertions
(#6032)
@std/internal 1.0.5 (patch)
- fix(expect,internal,testing): support
expect.assertions
(#6032)
@std/path 1.0.8 (patch)
- refactor(path): always name the parameters (add param definition check in doc
linter) (#6158)
@std/streams 1.0.8 (patch)
- docs(streams): rest arguments not being asserted in docs (#6155)
@std/testing 1.0.4 (patch)
2024.10.24
@std/async 1.0.7 (patch)
- feat(async/unstable): add
throttle()
function (#6110)
@std/cbor 0.1.2 (patch)
- refactor(cbor): replace
toByteStream
function in common with import from
@std/streams
(#6107) - test(cbor): number precision error in decoding test (#6115)
- test(cbor): empty string being excluded from expected result (#6106)
@std/collections 1.0.9 (patch)
- feat(collections/unstable): support
Iterable
argument inslidingWindows
(#6095)
@std/expect 1.0.6 (patch)
- fix(expect): support
expect.objectContaining
(#6065)
@std/fmt 1.0.3 (patch)
- docs(fmt): fix %f width typo in printf docs (#6139)
- test(fmt): handle missing group separator for 1000.1 in some locales (#6117)
@std/fs 1.0.5 (patch)
- refactor(fs): fix uncaught errors in browsers (#6135)
@std/http 1.0.9 (patch)
- fix(http): fix tablet and smarttv in Device.type literal types (#6129)
@std/json 1.0.1 (patch)
- refactor(json): fix typo (#6103)
@std/path 1.0.7 (patch)
- docs(path): re-add URL examples to
@std/path/posix
examples (#6105)
@std/tar 0.1.3 (patch)
- docs(tar): fix example in creating directories (#6113)
@std/text 1.0.8 (patch)
- feat(text/unstable): handle non-Latin-script text in
slugify
(#6012)
2024.10.10a
@std/cbor 0.1.1 (patch)
- fix(cbor): fix module specifier in import (#6099)
2024.10.10
@std/async 1.0.6 (patch)
- feat(async/unstable): accept iterator varargs in
MuxAsyncIterator
(#6087) - chore(async/unstable): fix typo (#6096)
@std/cbor 0.1.0 (minor)
- feat(cbor/unstable): introduce
@std/cbor
(#5909)
@std/collections 1.0.8 (patch)
- feat(collections/unstable): support
Iterable
argument intakeLastWhile()
(#6090) - feat(collections/unstable): support
Iterable
argument indropWhile()
(#6088) - feat(collections/unstable): support
Iterable
argument inintersect()
(#6036) - feat(collections/unstable): support
Iterable
argument indropLastWhile()
(#6076) - test(collections): add tests for
filterInPlace()
util (#6089)
@std/expect 1.0.5 (patch)
- fix(expect): register extended matchers after native matchers (#6075)
@std/http 1.0.8 (patch)
- docs(http/unstable): add example for multiple request methods on route (#6045)
@std/io 0.225.0 (minor)
- BREAKING(io): remove
StringReader
(#6062) - BREAKING(io): remove
StringWriter
(#6061) - BREAKING(io): remove
MultiReader
(#6059) - BREAKING(io): remove
LimitedReader
(#6058) - BREAKING(io): remove
readDelim()
(#6052) - BREAKING(io): remove
BufWriter
(#6057) - BREAKING(io): remove
BufReader
(#6056) - BREAKING(io): remove
readShort()
(#6050) - BREAKING(io): remove
readInt()
(#6048) - BREAKING(io): remove
readLong()
(#6047) - BREAKING(io/unstable): remove
readStringDelim()
(#6001) - BREAKING(io): remove
readRange[Sync]()
(#6049) - BREAKING(io/unstable): remove
sliceLongToBytes()
(#6005) - BREAKING(io/unstable): remove
copyN()
(#5999) - BREAKING(io): remove
readLines()
(#5991)
@std/log 0.224.9 (patch)
- fix(log): remove leaky
Logger.prototype.asString()
method (#6082) - fix(log): remove leaky
ConsoleHandler.prototype.applyColors()
(#6072) - fix(log): ensure consistent behavior with
@std/log
(#5974) - docs(log): document
getLogger()
andLogger
(#6084) - docs(log): document
ConsoleHandler
(#6071) - docs(log): document
formatters
module (#6073) - docs(log): correct the examples of
debug()
(#6077) - docs(log): document
BaseHandler
(#6067) - docs(log): document pass-through functions (#6066)
@std/streams 1.0.7 (patch)
- feat(streams/unstable):
toByteStream()
(#6046)
@std/tar 0.1.2 (patch)
- fix(tar): ignore non-tar file portion of a stream in
UntarStream
(#6064)
2024.09.24
@std/archive 0.225.4 (patch)
- deprecation(archive/unstable): deprecate
@std/archive
(#5988) - docs(archive): clarify deprecation notices (#6034)
- docs(archive): update
@std/archive
deprecation notices (#6028) - docs(archive,log,testing): correct typos (#5995)
@std/assert 1.0.6 (patch)
- fix(assert): accept abstract classes (#5978)
@std/collections 1.0.7 (patch)
- feat(collections/unstable): support
Iterable
argument insample()
(#6035) - feat(collections/unstable): support Iterable argument in
withoutAll()
(#6031) - feat(collections/unstable):
Iterable
argument inchunk()
(#5925) - feat(collections/unstable): support iterators in
sortBy()
(#5919) - feat(collections/unstable): support
Iterable
argument intakeWhile()
(#5911)
@std/expect 1.0.4 (patch)
- fix(expect): support
expect.hasAssertions()
(#5901)
@std/fs 1.0.4 (patch)
- docs(fs): clarify permissions requirements for
exists[Sync]()
(#5983)
@std/http 1.0.7 (patch)
- feat(http/unstable): add support for multiple request methods on route (#6003)
- fix(http): make
file-server
work on Deno Deploy (#6033) - fix(http): use non-locale-sensitive string methods for comparison (#6029)
@std/internal 1.0.4 (patch)
- chore: bump to [email protected] (#6020)
@std/io 0.224.9 (patch)
- deprecation(io): deprecate
BufWriter
(#6041) - deprecation(io/unstable): deprecate
BufReader
(#6027) - deprecation(io/unstable): deprecate
StringWriter
(#6026) - deprecation(io/unstable): deprecate
StringReader
(#6025) - deprecation(io/unstable): deprecate
LimitedReader
(#6024) - deprecation(io/unstable): deprecate
MultiReader
(#6023) - deprecation(io/unstable): deprecate
readDelim()
(#6022) - deprecation(io/unstable): deprecate
readLong()
(#6007) - deprecation(io/unstable): deprecate
readRange()
(#6010) - deprecation(io/unstable): deprecate
readInt()
(#6009) - deprecation(io/unstable): deprecate
readShort()
(#6008) - deprecation(io/unstable): deprecate
sliceLongToBytes()
(#6002) - deprecation(io/unstable): deprecate
readStringDelim()
(#6000) - deprecation(io/unstable): deprecate
copyN()
(#5992) - deprecation(io/unstable): deprecate
readLines()
(#5990) - docs(io): update deprecation notices (#6021)
@std/log 0.224.8 (patch)
@std/streams 1.0.6 (patch)
- feat(streams/unstable):
toBytes()
(#6011)
@std/testing 1.0.3 (patch)
@std/text 1.0.7 (patch)
- fix(text): handle code points > U+FFFF in
levenshteinDistance
(#6014)
2024.09.16
2024.09.12a
@std/net 1.0.4 (patch)
- chore(net): add back
get-network-address
module to fix
[email protected]/file-server
(#5970)
@std/path 1.0.6 (patch)
- docs(path): add note about
unstable-join
(#5967)
2024.09.12
@std/archive 0.225.3 (patch)
- refactor(archive,io): use
Seeker[Sync]
from@std/io/types
(#5943)
@std/assert 1.0.5 (patch)
- BREAKING(assert/unstable): move unstable
assertNever
under
@std/assert/unstable-never
(#5928) - fix(assert): value-equal complex keys (#5914)
- perf(assert): add fast path for primitive keyed collections in
equal()
(#5913) - refactor(assert,expect): import internal APIs from more specific paths (#5923)
- refactor(assert): remove unnecessary
getValFromKeyedCollection()
(#5921)
@std/cli 1.0.6 (patch)
- BREAKING(cli/unstable): move
spinner
module tounstable-spinner
(#5946)
@std/collections 1.0.6 (patch)
- fix(collections): ensure
pick
doesn't generate missing properties as
undefined
(#5926)
@std/data-structures 1.0.3 (patch)
- BREAKING(data-structures/unstable): move
bidirectional-map
module to
unstable-bidirectional-map
(#5947) - feat(data-structures/unstable):
@std/data-structures/bidirectional-map
(#5910)
@std/encoding 1.0.5 (patch)
- BREAKING(encoding/unstable): move
base64url-stream
module to
unstable-base64url-stream
(#5959) - BREAKING(encoding/unstable): move
base32hex
module tounstable-base32hex
(#5961) - BREAKING(encoding/unstable): move
hex-stream
module tounstable-hex-stream
(#5960) - BREAKING(encoding/unstable): move
base64-stream
module to
unstable-base64-stream
(#5958) - BREAKING(encoding/unstable): move
base32hex-stream
module to
unstable-base32hex-stream
(#5956) - BREAKING(encoding/unstable): move
base32-stream
module to
unstable-base32-stream
(#5955)
@std/expect 1.0.3 (patch)
- fix(expect): value-equal complex keys in
expect.equal()
(#5936) - perf(expect): add fast path for primitive keyed collections in
equal()
(#5934) - refactor(assert,expect): import internal APIs from more specific paths (#5923)
@std/front-matter 1.0.5 (patch)
- BREAKING(front-matter/unstable): move unstable overload of yaml
extract
to
unstable-yaml
(#5968)
@std/html 1.0.3 (patch)
- BREAKING(html/unstable): move
is-valid-custom-element-name
module to
unstable-is-valid-custom-element-name
(#5948)
@std/http 1.0.6 (patch)
- BREAKING(http/unstable): move
route
to./unstable-route
(#5939) - BREAKING(http/unstable): move unstable APIs (
header
,method
,
signed-cookie
) (#5938) - fix(http): invalid ipv6 hostname printed to console (#5924)
- fix(http): show hostname as 'localhost' for 0.0.0.0 on windows (#5918)
- refactor(http): inline
serveFallback()
util (#5917)
@std/io 0.224.8 (patch)
- feat(io): add
Seeker[Sync]
interfaces (#5930) - refactor(archive,io): use
Seeker[Sync]
from@std/io/types
(#5943)
@std/net 1.0.3 (patch)
- BREAKING(net/unstable): move
get-network-address
module to
unstable-get-network-address
(#5949) - fix(net): skip empty mac address for
getNetworkAddress()
(#5941) - test(net): add test of
getNetworkAddress()
(#5963)
@std/path 1.0.5 (patch)
- BREAKING(path/unstable): move unstable overload of
normalize
to
unstable-normalize
(#5965) - BREAKING(path/unstable): move unstable overload of
join
tounstable-join
(#5964) - BREAKING(path/unstable): move unstable overload of
extname
to
unstable-extname
(#5962) - BREAKING(path/unstable): move unstable overload of
basename
to
unstable-basename
(#5957) - BREAKING(path/unstable): move unstable overload of
dirname
to
unstable-dirname
(#5954)
@std/random 0.1.0 (minor)
- feat(random/unstable): basic randomization functions (#5626)
@std/streams 1.0.5 (patch)
- BREAKING(streams/unstable): move
fixed-chunk-stream
module to
unstable-fixed-chunk-stream
(#5951) - BREAKING(streams/unstable): move
to-lines
module tounstable-to-lines
(#5950)
@std/text 1.0.6 (patch)
- BREAKING(text/unstable): move
slugify
module tounstable-slugify
(#5953) - BREAKING(text/unstable): move
to-constant-case
module to
unstable-to-constant-case
(#5952)
@std/url
- BREAKING(url): remove @std/url (#5931)
@std/uuid 1.0.4 (patch)
- BREAKING(uuid/unstable): move UUID v7 APIs to
./unstable-v7
(#5937)
2024.09.04
@std/archive 0.225.2 (patch)
- feat(archive):
UntarStream
andTarStream
(#4548) - refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/assert 1.0.4 (patch)
- refactor(assert,datetime,fmt,io,streams): consistently
throw new Error()
instead ofthrow Error()
(#5855)
@std/async 1.0.5 (patch)
- fix(async,csv,fmt): assign default value when
undefined
is passed (#5893) - docs(async): add note about
deadline()
DOMException
name ofTimeoutError
(#5833) - refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/cache 0.1.2 (patch)
- fix(cache/unstable): fix flaky fibonacci test (#5872)
- docs(cache): document valid range information for TTL values (#5834)
@std/cli 1.0.5 (patch)
- refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/csv 1.0.3 (patch)
- fix(async,csv,fmt): assign default value when
undefined
is passed (#5893) - refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/datetime 0.225.2 (patch)
- refactor(assert,datetime,fmt,io,streams): consistently
throw new Error()
instead ofthrow Error()
(#5855)
@std/dotenv 0.225.2 (patch)
- fix(dotenv): handle single-quotes in values in
stringify()
(#5846) - refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/encoding 1.0.4 (patch)
- refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/expect 1.0.2 (patch)
- refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892) - refactor(expect): align error messages in the matchers (#5835)
@std/fmt 1.0.2 (patch)
- fix(async,csv,fmt): assign default value when
undefined
is passed (#5893) - refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892) - refactor(assert,datetime,fmt,io,streams): consistently
throw new Error()
instead ofthrow Error()
(#5855)
@std/front-matter 1.0.4 (patch)
- refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/fs 1.0.3 (patch)
- refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/http 1.0.5 (patch)
- fix(http): less restrictive arguments for
accepts*()
functions (#5850) - refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/internal 1.0.3 (patch)
- refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/io 0.224.7 (patch)
- fix(io): don't use
Deno.Buffer
in examples (#5889) - refactor(assert,datetime,fmt,io,streams): consistently
throw new Error()
instead ofthrow Error()
(#5855)
@std/log 0.224.7 (patch)
- refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/msgpack 1.0.2 (patch)
- fix(msgpack): accept readonly input data in
encode()
(#5832)
@std/net 1.0.2 (patch)
- refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/path 1.0.4 (patch)
- feat(path/unstable): support file
URL
arg innormalize()
(#5902) - feat(path/unstable): support
URL
as 1st arg ofbasename()
(#5900) - feat(path/unstable): support
URL
in first arg ofjoin()
(#5863) - fix(path/unstable): support
string | URL
in the 2nd overload ofbasename
,
dirname
, andextname
(#5904) - refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892) - refactor(path): make
isWindows
check compatible with Node and Bun (#4961)
@std/semver 1.0.3 (patch)
- refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/streams 1.0.4 (patch)
- refactor(assert,datetime,fmt,io,streams): consistently
throw new Error()
instead ofthrow Error()
(#5855)
@std/tar 0.1.0 (minor)
- feat(tar/unstable):
@std/tar
(#5905)
@std/testing 1.0.2 (patch)
- refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/text 1.0.5 (patch)
- refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/url 0.225.1 (patch)
- docs(url): update deprecation docs (#5907)
@std/uuid 1.0.3 (patch)
- feat(uuid/unstable):
@std/uuid/v7
(#5887)
@std/webgpu 0.224.7 (patch)
- refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892)
@std/yaml 1.0.5 (patch)
- fix(yaml): handle string instances (#5897)
- fix(yaml): handle Boolean instances correctly (#5894)
- fix(yaml): handle integer number instances (#5895)
- fix(yaml): handle float number instances (#5896)
- fix(yaml): fix
sortKey
error message (#5873) - refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml):
enable"exactOptionalPropertyTypes"
option (#5892) - refactor(yaml): switch array test (#5898)
- refactor(yaml): simplify
stringifyBlockMapping()
(#5885) - refactor(yaml): cleanup utility functions (#5886)
- refactor(yaml): cleanup str type (#5879)
- refactor(yaml): simplify seq type (#5878)
- refactor(yaml): simplify merge type (#5877)
- refactor(yaml): simplify set type (#5867)
- refactor(yaml): simplify regexp type (#5860)
- refactor(yaml): move
duplicate
andduplicateIndex
(#5836) - refactor(yaml): inline
composeNode()
(#5861) - refactor(yaml): simplify
resolve()
for pairs (#5852) - refactor(yaml): simplify null type (#5858)
- refactor(yaml): simplify boolean type (#5859)
- refactor(yaml): inline
readAlias()
(#5856) - refactor(yaml): inline
readAnchorProperty()
(#5853) - refactor(yaml): simplify omap
resolve()
(#5843) - refactor(yaml): simplify pair
construct()
function (#5844) - refactor(yaml): inline
readTagProperty()
(#5849) - refactor(yaml): replace
getObjectTypeString()
withisPlainObject()
(#5842) - refactor(yaml): inline
readBlockMapping()
(#5847) - refactor(yaml): inline
readBlockScalar()
(#5841) - refactor(yaml): inline
readFlowCollection()
(#5840) - refactor(yaml): change error message in
stringifyNode()
(#5839) - refactor(yaml): inline
readDoubleQuotedScalar()
(#5838) - refactor(yaml): align additional error messages (#5806)
- refactor(yaml): move
isObject()
(#5823) - refactor(yaml): inline
readSingleQuotedScalar()
(#5827) - test(yaml): add invalid
represent
type test (#5874) - test(yaml): add positive timezone timestamp test (#5881)
- test(yaml): add int type tests (#5868)
- test(yaml): add set type test (#5866)
- test(yaml): add regexp type tests (#5862)
- test(yaml): add duplicate binary references test (#5837)
- test(yaml): add undefined array entry with
skipInvalid
andflowLevel
options test (#5828) - test(yaml): add duplicate array reference test (#5825)
- test(yaml): add undefined object entry with skipInvalid and flowLevel option
test (#5829) - chore(yaml): fix typo in inline comment (#5845)