Skip to content

Releases: denoland/std

0.111.0

12 Oct 16:35
a19a17f
Compare
Choose a tag to compare

0.111.0 / 2021.10.12

  • BREAKING(fs): deprecate exists and existsSync (#1364)
  • BREAKING(hash): deprecate std/hash (#1350)
  • BREAKING(io): reorganize modules (#813)
  • feat: streams utilities (#1141)
  • feat(node): Add dns and net modules (#1375)
  • feat(node): first iteration of http (#1383)
  • feat(node): update built-in modules in node/module.ts (#1378)
  • feat(node/crypto): add randomFillSync an randomFill (#1340)
  • feat(node/crypto): add randomInt (#1356)
  • feat(node/http): Export STATUS_CODES and METHODS (#1357)
  • feat(node/url): add support for UNC path (#1365)
  • fix(async/delay): reject if signal is already aborted (#1363)
  • fix(encoding/base64url): allow passing strings to encode (#1361)
  • fix(node): typo from #1380 (#1381)
  • fix(node/url): improve compatibility of fileURLToPath (#1342)
  • perf(bytes): switch equals to simd for large byte arrays (#1349)

0.110.0

04 Oct 22:21
a167eb5
Compare
Choose a tag to compare

0.110.0 / 2021.10.04

  • feat(node): add missing modules (#1337)
  • feat(node): support Buffer.readUIntLE (#1326)
  • feat(node/buffer): support Buffer.readUIntBE (#1321)
  • feat(node/crypto): add scrypt and scryptSync (#1329)
  • feat(node/crypto): add timingSafeEqual (#1333)
  • feat(node/stream/web): export more APIs (#1338)
  • feat(std/node): add back os.tmpdir() implementation (#1308)
  • feat(std/node/crypto): Add crypto.randomUUID (#1332)

0.109.0

28 Sep 13:44
f849d2e
Compare
Choose a tag to compare

0.109.0 / 2021.09.28

  • feat(std/node/stream): add partial support for stream/web (#1297)
  • fix(node/_tools): use denoflate to decompress Node test folder (#1299)
  • fix(node/events): make EventEmitter.call compatible with es5 (#1315)
  • fix(std/node/module): treat .mjs files as ESM (#1301)
  • perf(crypto): reduce one mircotask (#1307)

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)