- update to 1.35.2:
* fix(bench): run warmup benchmark to break JIT bias (#19844)
* fix(ext/node): check if resource can be used with
write_vectored (#19868)
* fix(ext/node): fix stream/promises export (#19820)
* fix(ext/node): properly segregate node globals (#19307)
* fix(napi): update env_test.js (#19876)
* fix(node): add process.dlopen API (#19860)
* fix(node): improve error message requiring non-npm es module (#19856)
* fix(node): improve require esm error messages (#19853)
* fix(node/http): call callback after request is sent (#19871)
* fix(node/net): Server connection callback include socket
value (#19779)
* fix(npm): improve error message importing non-existent file
in a node_modules npm package (#19835)
* fix(npm): improve error message on directory import in npm
package (#19538)
* fix(npm): support dynamic import of Deno TS from npm package (#19858)
* fix(runtime): print process name in case of spawn error (#19855)
* fix(tsc): more informative diagnostic when Deno does not exist (#19825)
* fix(vendor): do not panic vendoring with jsxImportSource and
no jsx files (#19837)
OBS-URL: https://build.opensuse.org/request/show/1099962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=27
- update to 1.35.0:
* feat: add more Deno.errors classes (#19514)
* feat: ReadableStream.from (#19446)
* feat: stabilize 'alpnProtocols' setting (#19704)
* feat: Stabilize Deno.serve() API (#19141)
* feat: upgrade to TypeScript 5.1.6 (#19695)
* feat(ext/fetch): add Headers#getSetCookie (#13542)
* feat(ext/url): URLSearchParams two-argument delete() and has() (#19654)
* feat(lock): skip saving declaration files in the lockfile (#19447)
* feat(lsp): basic support of auto-imports for npm specifiers (#19675)
* feat(lsp): support import maps in quick fix and auto-imports (#19692)
* fix(cli): Fix the bug where the command description is not
displayed. (#19604)
* fix: add exactOptionalPropertyTypes for configuration file
JSON schema (#19647)
* fix: bump default @types/node version range to 18.16.19 (#19706)
* fix(cli): don't store blob and data urls in the module cache (#18581)
* fix(cli/napi): napi_get_buffer_info accepts ArrayBufferView
not just Uint8Array.(#19551)
* fix(cli/napi): property with getter/setter always failed (#19562)
* fix(console): correct the parseCssColor algorithm (#19645)
* fix(dts): make globals available on globalThis (#19438)
* fix(ext/crypto): Fix WebCrypto API's deriveKey (#19545)
* fix(ext/fs): fix boolean checks in JS parser (#19586)
* fix(ext/http): Catch errors in eager stream timeout to avoid
uncaught promise rejections (#19691)
* fix(ext/kv): expose Deno.AtomicOperation (#19674)
* fix(ext/node): Define performance.timeOrigin as getter property (#19714)
* fix(ext/node): ignore cancelled timer when node timer refresh (#19637)
* fix(ext/node): support brotli APIs (#19223)
* fix(ext/websocket): Ensure that errors are available after
async response returns (#19642)
* fix(node/http): add setKeepAlive to FakeSocket (#19659)
* fix(npm): escape export identifier in double quoted string (#19694)
* fix(npm): handle more reserved words as cjs exports (#19672)
* fix(npm): support siblings that are peer dependencies of each
other (#19657)
- remove upstreamed deno-pull-19537.patch
- rebase deno-rm-upgrade-cmd.patch
OBS-URL: https://build.opensuse.org/request/show/1097026
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=25
- update to 1.34.1:
* fix(compile): handle when DENO_DIR is readonly (#19257)
* fix(compile): implicit read permission to npm vfs (#19281)
* fix(compile): improve panic message when stripping root path fails (#19258)
* fix(compile): inline symlinks as files outside node_modules
dir and warn for directories (#19285)
* fix(ext/http): fix a possible memleak in Brotli (#19250)
* fix(napi): clear currently registering module slot (#19249)
* fix(napi): properly handle arguments in napi_get_cb_info (#19269)
* fix(node): http.IncomingMessageForClient.complete (#19302)
* fix(node): make 'v8.setFlagsFromString' a noop (#19271)
* fix: don't print release notes on version check prompt (#19252)
* fix: use proper ALPN protocols if HTTP client is HTTP/1.1 only (#19303)
OBS-URL: https://build.opensuse.org/request/show/1089864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=21
- update to 1.34.0:
* BREAKING(unstable): change return type of Deno.serve() API (#19189)
* feat(cli): add nodeModulesDir option to config file (#19095)
* feat(cli): top-level exclude field in deno.json (#17778)
* feat(ext/fs): add isBlockDevice, isCharDevice, isFifo,
isSocket to FileInfo (#19008)
* feat(ext/http): Add support for trailers w/internal API (HTTP/2 only) (#19182)
* feat(ext/http): Brotli Compression (#19216)
* feat(ext/http): ref/unref for server (#19197)
* feat(lsp): support lockfile and node_modules directory (#19203)
* feat(runtime): Provide environment-configurable options for
tokio parameters (#19173)
* feat(task): glob expansion (#19084)
* feat(unstable): add more options to Deno.createHttpClient (#17385)
* feat(vendor): support for npm specifiers (#19186)
* feat: add support for globs in the config file and CLI
arguments for files (#19102)
* feat: top level package.json install when node_modules dir is
explicitly opted into (#19233)
* fix(ext/node): ClientRequest.setTimeout(0) should remove listeners (#19240)
* fix(ext/node): add basic node:worker_threads support (#19192)
* fix(ext/web): improve timers resolution for 0ms timeouts (#19212)
* fix(napi): add napi_async_init and napi_async_destroy (#19234)
* fix(node): add http.Server.unref() (#19201)
* fix(node): duplicate node_module suffixes (#19222)
* fix(node): fire 'unhandledrejection' event when using node:
or npm: imports (#19235)
* fix(node): make sure "setImmediate" is not clamped to 4ms (#19213)
* fix(npm): process not defined in readline (#19184)
* fix(npm): better handling of optional peer dependencies (#19236)
* fix(npm): create node_modules/.deno/node_modules folder (#19242)
* fix(npm): run pre and post tasks if present (#19178)
* fix(npm): store npm binary command resolution in lockfile (#19219)
- rebase deno-disable-update-check.patch
- update deno-disable-update-check.patch
* remove DENO_NO_UPDATE_CHECK block from env variables help
OBS-URL: https://build.opensuse.org/request/show/1089028
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=20
- update to 1.33.2:
* fix(core): Use primordials for methods (#18839)
* fix(core): allow esm extensions not included in snapshot (#18980)
* fix(core): rebuild when JS sources for snapshotting change (#18976)
* fix(ext/io) several sync fs fixes (#18886)
* fix(ext/kv): KvU64#valueOf and KvU64 inspect (#18656)
* fix(ext/kv): stricter structured clone serializer (#18914)
* fix(ext/kv): throw on the Kv constructor (#18978)
* fix(ext/node): add missing release property to node's process (#18923)
* fix(ext/url): throw TypeError for empty argument (#18896)
* fix(ext/websocket): update fastwebsockets to 0.3.1 (#18916)
* fix(fmt/json): support formatting number with exponent and no sign (#18894)
* fix(node/http): Request.setTimeout(0) should clear (#18949)
* fix(npm): canonicalize filename before returning (#18948)
* fix(npm): canonicalize search directory when looking for package.json (#18981)
* fix(test): disable preventDefault() for beforeunload event (#18911)
* perf(core): async op pseudo-codegen and performance work (#18887)
* perf(core): use jemalloc for V8 array buffer allocator (#18875)
* perf(ext/web): fast path for ws events (#18905)
* perf(ext/websocket): use internal dispatch for msg events (#18904)
* perf: lazily create RootCertStore (#18938)
* perf: lazily retrieve ppid (#18940)
* perf: use jemalloc as global allocator (#18957)
OBS-URL: https://build.opensuse.org/request/show/1084917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=16
- update to 1.32.5:
* feat(UNSTABLE/kv): AtomicOperation#sum (#18704)
* fix(core): Use safe primordials wrappers (#18687)
* fix(ext/node): add req.socket.remoteAddress (#18733)
* fix(ext/node): implement crypto.createVerify (#18703)
* fix(ext/node): polyfill response._implicitHeader method (#18738)
* fix(ext/websocket): Avoid write deadlock that requires read_frame to complete
(#18705)
* fix(lsp): ensure language server status works on unix (#18727)
* fix(npm): eagerly reload package information when version from lockfile not
found locally (#18673)
* fix(path): Remove non node symbols (#18630)
* fix(test): add process sigint handler for --watch (#18678)
* perf(ext/websocket): make op_server_ws_next_event deferred (#18632)
OBS-URL: https://build.opensuse.org/request/show/1080412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=14
- update to 1.32.4:
* Revert "fix(cli): don't store blob and data urls in the module cache (#18261)"
(#18572)
* feat(core): sync io ops in core (#18603)
* feat(ext/http): add an op to perform raw HTTP upgrade (#18511)
* fix(core): preserve syntax error locations in dynamic imports (#18664)
* fix(ext/cache): cache.put overwrites previous call (#18649)
* fix(ext/kv): keys must be arrays (#18655)
* fix(ext/node): add X509Certificate (#18625)
* fix(ext/node): add symmetric keygen (#18609)
* fix(ext/node): fix unable to resolve fraction.js (#18544)
* fix(ext/node): implement hkdf-expand (#18612)
* fix(ext/node): json encode binary command name (#18596)
* fix(npm): cache bust npm specifiers more aggressively (#18636)
* fix(npm): do not "npm install" when npm specifier happens to
match package.json entry (#18660)
* fix(npm): reload an npm package's dependency's information
when version not found (#18622)
* perf(ext/io): remove a data copy from File write (#18601)
* perf(ext/websocket): replace tokio_tungstenite server with
fastwebsockets (#18587)
OBS-URL: https://build.opensuse.org/request/show/1079305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=13
- update to 1.32.3
* fix(check): ensure diagnostics caused by changes in other files get
invalidated between runs (#18541)
* fix(ext/ffi): crash when same reference struct is used in two fields (#18531)
* fix(lsp): add a document preload file system entry limit (#18553)
* fix(repl): disable language server document preloading in the repl (#18543)
* fix(test): don't swallow sanitizer errors with permissions (#18550)
* perf(check): faster source hashing (#18534)
- update to 1.32.2:
* Revert "refactor(ext/node): Use Deno.inspect (#17960)" (#18491)
* feat(core): initialize SQLite off-main-thread (#18401)
* feat(ext/kv): return versionstamp from set/commit (#18512)
* feat(ext/node): add crypto.checkPrime API (#18465)
* feat(ext/node): implement crypto.createSecretKey (#18413)
* feat(test): print pending tests on sigint (#18246)
* feat: port node:zlib to rust (#18291)
* fix(cli): add colors to "Module not found" error frame (#18437)
* fix(cli): don't store blob and data urls in the module cache (#18261)
* fix(cli/bench): look for clone3 syscalls for thread count (#18456)
* fix(core): located_script_name macro was using format syntax (#18388)
* fix(core): panic at build time if extension code contains
anything other than 7-bit ASCII (#18372)
* fix(core): restore cache journal mode to TRUNCATE and tweak
tokio test in CacheDB (#18469)
* fix(coverage): ignore files from npm registry (#18457)
* fix(dts): improve types for the Deno.KV API (#18510)
* fix(ext/kv): add missing getMany method (#18410)
* fix(ext/node): add aes-128-ecb algorithm support (#18412)
* fix(ext/node): add missing _preloadModules hook (#18447)
* fix(ext/node): implement crypto.Sign
(RSA/PEM/SHA{224,256,384,512}) (#18471)
* fix(ext/node): make cipher/decipher transform stream (#18408)
* fix(lsp): textDocument/references should respect
includeDeclaration (#18496)
* fix(lsp): better handling of data: urls (#18527)
* fix(lsp): include all diagnosable documents on initialize (#17979)
* fix(ops): fallback when FastApiOneByteString is not utf8 (#18518)
* fix(repl): improve package.json support (#18497)
* fix(streams): add support Float64Array to ReadableStreamByobReader
(#18188)
* fix: Add missing processenv winapi feature to deno_io (#18485)
* fix: upgrade to TypeScript 5.0.3 (#18532)
* perf(ext/websocket): efficient event kind serialization (#18509)
* perf(ext/websocket): special op for sending binary data frames (#18506)
* perf(ext/websocket): special op for sending text data frames (#18507)
* perf(ext/websocket): use opAsync2 to avoid spread deopt (#18525)
* perf: const op declaration (#18288)
OBS-URL: https://build.opensuse.org/request/show/1076695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=12
- update to 1.32.1:
* fix(core): disable resizable ArrayBuffer and growable
SharedArrayBuffer (#18395)
* fix(cli): restore deno run - to handle stdin as typescript (#18391)
* fix(inspect): ensure non-compact output when object literal
has newline in entry text (#18366)
* fix(lsp): ensure enablePaths works when clients do not
provide a trailing slash for workspace dir (#18373)
- update to 1.32.0:
* BREAKING(unstable): remove WebGPU (#18094)
* feat(ext/fs): FileInfo.dev is supported on Windows (#18237)
* feat(cli): --ext parameter for run, compile, and bundle (#17172)
* feat(compile): Add support for web workers in standalone mode (#17657)
* feat(compile): Enable multiple roots for a standalone module
graph (#17663)
* feat(core): deno_core::extension! macro to simplify extension
registration (#18210)
* feat(ext/kv): key-value store (#18232)
* feat(ext/net): Add multicasting APIs to DatagramConn (#10706)
(#17811)
* feat(ext/url): URLSearchParams.size (#17884)
* feat(repl): add DENO_REPL_HISTORY to change history file path (#18047)
* feat(serde_v8): support BigInt serialization (#18225)
* feat: TypeScript 5.0.2 (except decorators) (#18294)
* fix(cli): preserve blob store when resetting file watcher (#18253)
* fix(cli/integration): clippy lints (#18248)
* fix(ext/kv): don't request permissions for ":memory:" (#18346)
* fix(ext/kv): reverse mapping between AnyValue::Bool and
KeyPart::Bool (#18365)
* fix(ext/node): add createDecipheriv (#18245)
* fix(ext/node): resource leak in createHmac (#18229)
* fix(ext/node): use Deno.Command from ext:runtime (#18289)
* fix(repl): Hide indexable properties in tab completion (#18141)
* fix(runtime): Extract error code for all OS error variants (#17958)
* fix: include error in message about not being able to create
the TypeScript cache (#18356)
* perf(check): type check local files only when not using --all (#18329)
* perf(core) Reduce copying and cloning in extension
initialization (#18252)
* perf(core) Reduce script name and script code copies (#18298)
* perf(core): preserve ops between snapshots (#18080)
* perf(core): use static specifier in ExtensionFileSource (#18271)
* perf: disable WAL for transpiled source cache (#18084)
* perf: disable runtime snapshot compression (#18239)
- build: remove python3 hack
OBS-URL: https://build.opensuse.org/request/show/1074042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=11
- update to 1.31.3:
* fix(check): regression where config "types" entries caused type checking
errors (#18124)
* fix(core): Upgrades bytes crate from =1.2.1 to ^1.4.0 (#18123)
* fix(core): SafePromiseAll to be unaffected by Array#@@iterator (#17542)
* fix(core/internal): fix typo in primordial type definitions (#18125)
* fix(ext/fs): retry if file already exists in makeTempFile (#17787)
* fix(ext/http): abort request signal when response errors (#17822)
* fix(ext/node): add crypto.createCipheriv (#18091)
* fix(ext/node): implement "ascii" encoding for node:fs writeFile() (#18097)
* fix(ext/web): Stop using globalThis.ReadableStream in Blob (#18187)
* fix(info/doc): add missing --no-lock and --lock flags (#18166)
* fix(lsp): avoid calling client while holding lock (#18197)
* fix(npm): "not implemented scheme" message should properly show the scheme
(#18209)
* fix(npm): show a progress bar when initializing the node_modules folder
(#18136)
* fix(repl): do not panic deleting Deno or deleting all its properties
(#18211)
* fix: ensure no node_modules directory is created when a package.json exists
and no npm dependencies are used (#18134)
* perf: do not depend on iana-time-zone (#18088)
- update to 1.31.2:
* Revert "perf: disable snapshot compression (#18061)" (#18074)
* deps: bump regexp to ^1.7.0 (#17966)
* deps: bump once_cell to ^1.17.1 (#18075)
* feat(core): prevent isolate drop for CLI main worker (#18059)
* feat(ext/ffi): Make External pointers keep reference to V8 buffer (#17955)
* feat(ops): reland fast zero copy string arguments (#17996)
* feat(ops): relational ops (#18023)
* fix(check): include dts files in tsc roots (#18026)
* fix(cli): add space after period in --v8-flags (#18063)
* fix(cli,ext/web): Upgrading uuid from =1.1.2 to 1.3.0 (#17963)
* fix(core): introduce SafeRegExp to primordials (#17592)
* fix(ext/crypto): correctly limit ECDSA and hash algorithms (#18030)
* fix(ext/ffi): Remove deno_core::OpState qualifiers, fix ops returning
pointer defaults (#17959)
* fix(ext/node): remove unused _hex module (#18045)
* fix(ext/node): util.types.isSharedArrayBuffer (#17836)
* fix(ext/webstorage): check size of inputs before insert (#18087)
* fix(lockfile): don't touch lockfile is npm specifiers are identical (#17973)
* fix(npm): improve peer dependency resolution with circular dependencies
(#18069)
* fix(prompt): better output with control chars (#18108)
* fix(rumtime): Add Deno. prefix for registered symbols (#18086)
* fix(runtime/windows): ensure Deno.stdin.setRaw(false) properly
disables raw mode (#17983)
* fix: Split extension registration and snapshotting (#18098)
* fix: attempt to only allow one deno process to update the node_modules
folder at a time (#18058)
* fix: lazily surface errors in package.json deps parsing (#17974)
* perf(core): over-allocate in ModuleMap when running from snapshot (#18083)
* perf(ext/node): improve createHash performance (#18033)
* perf: disable snapshot compression (#18061)
* perf: don't add unload event listener (#18082)
* perf: move runtime bootstrap code to snapshot time (#18062)
* perf: move setting up Deno namespace to snapshot time (#18067)
* wpt: unlock nightly with --no-ignore (#17998)
OBS-URL: https://build.opensuse.org/request/show/1072728
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=10