Skip to content

Releases: denoland/deno_std

0.107.0

14 Sep 23:49
197bb8c
Compare
Choose a tag to compare

0.107.0 / 2021.09.14

  • BREAKING(http): cookie headers as params (#1041)
  • feat(collection): add findSingle (#1166)
  • feat(collections): Add associatewith (#1213)
  • feat(collections): add runningReduce (#1226)
  • feat(collections): add sample API (#1212)
  • feat(collections): add dropWhile (#1185)
  • feat(collections): add maxWith (#1170)
  • feat(collections): add minWith (#1169)
  • feat(collections): add reduceGroups (#1187)
  • feat(collections): add slidingWindows (#1191)
  • feat(io/streams): propagate cancel in readableStreamFromIterable() (#1274)
  • fix(collections/includesValue): prevent enumerable prototype check (#1225)
  • fix(testing/asserts): export Constructor type (#1208)
  • fix(tests/yaml): expect !!js/function parse/stringify to throw (#1276)
  • fix: update to latest signal API changes
  • security(encoding/yaml): disable functions (#1275)

0.106.0

03 Sep 20:02
d7cbbf3
Compare
Choose a tag to compare

0.106.0 / 2021.08.23

  • feat(async): add abort signal to delay (#1130)
  • feat(collection): find_last_index to return undefined on no index found (#1072)
  • feat(node/buffer): add missing exports (#1140)
  • feat(node/buffer): export atob and btoa (#1147)
  • fix(node/perf-hooks): add PerformanceEntry to default export (#1152)
  • fix(testing): assertEquals now considers constructors equal if one is nullable and the other is Object (#1159)
  • perf(collections): permutations optimisation (#1132)

0.105.0

16 Aug 20:57
9aeec90
Compare
Choose a tag to compare

0.105.0 / 2021.08.16

  • BREAKING(bytes): rename contains to includes with optional argument
    fromIndex (#1133)
  • fix(crypto): make crypto bench depend on sibling version of testing module
    (#1135)
  • fix(collections): intersect does not handle duplicate values in head properly
    (#1131)
  • feat(collections): compile time guarantee on pure functions (#1119)
  • fix: type check examples in README files (#1121)

0.104.0

10 Aug 09:44
f0daf12
Compare
Choose a tag to compare

0.104.0 / 2021.08.10

  • feat: Add collections module (#993, #1075, #1103, #1062, #1062, #1109,
    #1108, #1071, #1069, #1104, #1097, #1110, #1116)
  • feat(crypto): add std/crypto wrapping and extending runtime WebCrypto (#1025)
  • feat(http/file_server): return code 304 based on If-Modified-Since Header
    (#1078)
  • feat(node): add remaining Node.js builtin aliases (#1085)
  • feat(node): add shim for perf_hooks (#1088)
  • feat(node): assert/strict alias (#1084)
  • feat(node): fs/promises implementation (#1083)
  • feat(testing): add assertRejects, deprecate assertThrowsAsync (#1101)
  • fix(async): make it so exception of deadline can be caught (#1105)
  • fix(http/file_server): fix flaky 'file_server sets Date header correctly' test
    case (#1095)
  • fix(node): assert/strict, fs/promises, perf_hooks modules could not be
    required (#1107)
  • fix(node/events): optimize listener management (#1113)
  • fix(testing): change assertThrows and assertThrowsAsync return type to
    void and Promise<void> (#1052)

0.103.0

26 Jul 12:47
223ec62
Compare
Choose a tag to compare

0.103.0 / 2021.07.26

  • feat(async): add status to deferred promises (#1047)
  • feat(http): add range request and etag support to file_server.ts (#1028)
  • fix(async/deferred): rename .status -> .state (#1055)
  • fix(encoding/base64url): throw TypeError in case of invalid base64url string
    (#1040)
  • fix(encoding/toml): fix inline table and nested array (#1042)
  • fix(encoding/yaml): fix parseAll type definition by using overloads (#1048)
  • fix(testing): assertThrowsAsync always reporting Error instead of actual
    error class (#1051)
  • fix(testing/asserts): cater for different class constructor functions (#1000)

0.102.0

19 Jul 18:22
95565a6
Compare
Choose a tag to compare

0.102.0 / 2021.07.19

  • feat: Add std/collections (#993)
  • fix(encoding/toml): fix comment line starting with whitespaces (#1017)
  • fix(encoding/toml): parse keys correctly (#1019)
  • fix(hash): fix handling of non-byte-sized TypedArray views (#1012)
  • fix(testing): Don't merge diff when it's not spaces even if it's surrounded by
    word-diff (#1032)

0.101.0

12 Jul 23:53
5f2e439
Compare
Choose a tag to compare

0.101.0 / 2021.07.13

  • BREAKING(encoding/hex): remove encodedLen, encodeToString, decodedLen,
    decodeString, errInvalidByte, errLength (#733)
  • BREAKING(mime/multipart): return array for multiple values with same form name
    (#722)
  • BREAKING(std/uuid): rework v4 and v5 module (#971)
  • feat(async): add deadline to async module (#1022)
  • feat(async): add debounce method to async module (#1006)
  • feat(encoding/toml): fix bad string format. Improve coverage (#991)
  • feat(hash): add BLAKE3 hash support (#994)
  • feat(http): Add Cookie domain validation (#1009)
  • feat(http): Allow passing path and domain attributes while removing cookies
    (#1005)
  • feat(io): add copy function (#1016)
  • feat(io/streams): add autoClose option to writableStreamFromWriter (#964)
  • feat(std/node): add writeBuffer of internal binding fs module (#888)
  • fix: improve type safety for browser-compatible modules (#995)
  • fix(encoding/toml): serializes mixed array (#1001)
  • fix(encoding/toml): throws parse error when toml uses invalid whitespaces
    (#1013)
  • fix(http): setCookie with maxAge of 0 (#992)
  • fix(http/server): Swallow NotConnected errors from listener.accept() (#761)
  • fix(io/bufio): fix handling of trailing new line (#990)
  • fix(node/module): More descriptive error in "createRequire" (#997)
  • fix(path): Add question mark as a glob indicator (#1024)
  • fix(testing): use return type of never for fail (#1002)

0.100.0

12 Jul 23:47
635da0f
Compare
Choose a tag to compare

0.100.0 / 2021.06.29

  • feat(testing/asserts): improved strings diff (#948)
  • feat(testing/asserts): use assertion signature for "assertExists" (#969)
  • fix(node/events): align EventEmitter#addListener with native node tests (#976)
  • fix(path): fix type error in glob.ts with noImplicitAny: false config (#977)

0.99.0

15 Jun 20:24
e9bc068
Compare
Choose a tag to compare

0.99.0 / 2021.06.15

  • feat(mime): make createPart of MultipartWriter public (#960)
  • feat(node/util): add inherits (#958)
  • fix(node/events): fix EventEmitter#removeAllListeners (#968)
  • fix(node/process): make process.env enumerable (#957)
  • fix(node/util): fix util.inherits (#959)

0.98.0

08 Jun 20:40
e2360e7
Compare
Choose a tag to compare

0.98.0 / 2021.06.08

  • feat(async): add async/tee (#919)
  • feat(async/mux): take AsyncIterable as source iterator (#923)
  • feat(io/bufio): add encoding options to readLines and readStringDelim
    (#921)
  • feat(node/perf_hooks): add perf_hooks module (#945)
  • fix(encoding/binary): allow getNBytes to read until EOF (#932)
  • fix(encoding/binary): respect non 0 byte offsets (#826)
  • fix(node/events): fix EventEmitter#once to pass native node tests (#935)
  • fix(node/events): fix getMaxListeners and setMaxListeners to pass native node
    tests (#928)
  • fix(node/fs): fix type error in fs.watch impl (#947)
  • fix(testing/asserts): fix handling of Weak* objects (#951)