deno/deno.changes

500 lines
23 KiB
Plaintext
Raw Normal View History

-------------------------------------------------------------------
Wed May 12 20:16:56 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.10.1:
* Disable lsp workspaces from 1.10 release, resolve deadlock bug
- includes v1.10:
* feat: "deno test" prompts number of tests and origin
* feat: "Worker.postMessage()" uses structured clone algorithm
* feat: add "deno test --doc"
* feat: add "deno test --jobs"
* feat: add "deno test --watch"
* feat: add test permissions to Deno.test
* feat: add WebStorage API
* feat: align plugin api with "deno_core::Extension"
* feat: support deno-fmt-ignore-file for markdown formatting
* feat(core): enable WASM shared memory
* feat(core): introduce Extension
* feat(lsp): add internal debugging logging
* fix: invalid types for asynchronous and synchronous File#truncate
* fix: rename Deno.emit() bundle options to "module" and "classic"
* fix: sleepSync doesn't return a Promise
* fix: TextEncoder#encodeInto spec compliance
* fix: typings for Deno.os.arch
* fix(extensions/fetch): infinite loop on fill headers
* fix(extensions/fetch): Prevent throwing when inspecting a request
* fix(installer): allow remote import maps
* fix(lsp): remove code_action/diagnostics deadlock
* fix(tls): flush send buffer in the background after closing TLS stream
* fix(tls): throw meaningful error when hostname is invalid
- update deno_std to 0.96.0:
* feat(fs/walk): show path in walk error
* feat(http): allow custom response code
* feat(io): add readRange, readRangeSync
* feat(mime/multipart): add options to readForm
* feat(node): add console module
* feat(node/assert): add rejects and doesNotReject
* feat(std/node): add implementation of os.homedir()
* fix(http/file_server): keep url and name consistent
* fix(io): Improve readDelims() performance
* fix(io/streams): don't use a byte ReadableStream
* fix(node/assert): enable test-assert-fail.js and align assert.fail to it
* fix(node/child_process): Try to fix flaky tests
* fix(node/stream): make Stream the default export
-------------------------------------------------------------------
Tue Apr 27 17:28:33 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.9.2:
* fix: parse websocket messages correctly
* fix: standalone bin corruption on M1
* fix: don't gray-out internal error frames
* fix(op_crates/fetch): Response inspect regression
* fix(runtime): do not panic on not found cwd
* fix(op_crates/webgpu): move non-null op buffer arg check when needed
* fix(lsp): document symbol performance mark
- includes v1.9.1:
* feat(lsp, unstable): Implement textDocument/documentSymbol
* feat(lsp, unstable): implement textDocument/prepareCallHierarchy
* feat(lsp, unstable): Implement textDocument/semanticTokens/full
* feat(lsp, unstable): improve diagnostic status page
* fix(lsp): handle x-typescript-types header on type only imports properly
* fix(lsp): remove documents when closed
* fix(runtime): correct URL in Request
* fix(runtime): handle race condition in postMessage where worker has terminated
* fix(runtime): hang during HTTP server response
* fix(runtime): include HTTP ops in WebWorker scope
* fix: revert changes to Deno.Conn type
- update deno_std to 0.95.0 (includes 0.94.0):
* feat(node): add basic support for child_process.spawn
* feat(node/fs): add fstat and fstatSync
* fix(node/fs): actually export everything
* fix(path): reduce circular dependency
* fix(testing): equals does not differentiate undefined/absent keys
* feat(path/glob): add caseInsensitive option
* feat(streams): add readableStreamFromReader
-------------------------------------------------------------------
Tue Apr 13 22:18:35 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.9.0:
* feat: blob URL support
* feat: blob URL support in fetch
* feat: data URL support in fetch
* feat: native HTTP bindings
* feat: raise file descriptor limit on startup
* feat: set useDefineForClassFields to true
* feat: stabilize Deno.ftruncate and Deno.ftruncateSync
* feat: stricter typings for Listener & Conn
* feat(lsp): add import completions
* feat(lsp): add registry import auto-complete
* feat(lsp): implement textDocument/foldingRange
* feat(lsp): implement textDocument/selectionRange
* feat(permissions): allow env permission to take values
* feat(permissions): allow run permission to take values
* feat(runtime): add stat and statSync methods to Deno.File
* feat(runtime): add truncate and truncateSync methods to Deno.File
* feat(runtime): stabilize Deno.fstat and Deno.fstatSync
* feat(runtime/permissions): prompt fallback
* feat(unstable): Add Deno.memoryUsage()
* feat(unstable): ALPN config in listenTls
* fix: include deno.crypto in "deno types"
* fix: Properly await already evaluating dynamic imports
* fix(lsp): don't error on tsc debug failures for code actions
* fix(lsp): ensure insert_text is passed back on completions
* fix(lsp): folding range adjustment panic
* fix(lsp): normalize windows file URLs properly
* fix(lsp): properly handle encoding URLs from lsp client
* fix(op_crates/console): console.table value misalignment with varying keys
* fix(permissions): don't panic when no input is given
* fix(runtime/js/timers): Use (0, eval) instead of eval()
* fix(runtime/readFile): close resources on error during read
* fix(websocket): ignore resource close error
- update deno_std to 0.93.0:
* feat: add iter and iterSync to io/util
* feat(node/fs): add fdatasync and fdatasyncSync
* feat(node/fs): add fsync and fsyncSync
* feat(node/fs): add ftruncate and ftruncateSync
* feat(node/fs): add futimes and futimesSync
* fix(testing): Function signature of assertObjectEquals() does not accept interfaces
- includes rusty_v8 0.22.1 for v8 9.1.269.5
-------------------------------------------------------------------
Wed Apr 7 16:16:27 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.8.3:
* feat(lsp): add import completions
* feat(lsp): implement textDocument/selectionRange
* fix(websocket): ignore resource close error
* fix(lsp): ensure insert_text is passed back on completions
* fix(web): add AbortController.abort()
* fix(crypto): include deno.crypto in deno types
* fix(cli): re-add dom.asynciterable lib
- update deno_std to 0.92.0:
* feat: make bufio compatible to Deno Deploy
* feat: add symlink adn symlinkSync to node/fs
* feat: add format and improve deprecate in node/util
* feat: add io/buffer and io/util module
* fix: handle upstream type changes
* chore: remove unused import in http
* refactor: remove boilerplate Promise<void> return types in encoding
-------------------------------------------------------------------
Sun Mar 21 21:52:50 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.8.2:
* upgrade: rusty_v8 0.21.0
* upgrade: tokio 1.4.0
* fix: fallback to default UA and CA data for Deno.createHttpClient()
* fix: getBindGroupLayout always illegal invocation
* fix(cli/bundle): display anyhow error chain
* fix(core): don't panic on invalid arguments for Deno.core.print
* fix(doc): update example for sub processes
* fix(fmt): Correctly format hard breaks in markdown
* fix(lsp): allow on disk files to change
* fix(lsp): diagnostics use own thread and debounce
* fix(op_crates/webgpu): create instance only when required
* fix(runtime): do not require deno namespace in workers for crypto
* refactor: enforce type ResourceId across codebase
* refactor: Clean up permission handling
* refactor: Move bin ops to deno_core and unify logic with json ops
* refactor: Move Console to op_crates/console
* refactor: Split web op crate
* refactor: Simplify icu data alignment
* refactor: Update minimal ops & rename to buffer ops
* refactor: Use serde ops more
* refactor(lsp): refactor completions and add tests
* refactor(lsp): slightly reorganize diagnostics debounce logic
- update deno_std to 0.91.0:
* feat(encoding/yaml): add support for JS types and user types
* feat(io/streams): Add readerFromIterable()
* feat(std/node): add utimes and utimesSync
* fix(multipart): support useDefineForClassFields
* fix(node): fix node/cli.ts
* fix(node): move throw error in fs.writeFile to pass no-unsafe-finally
* fix(path): enable and fix file URL tests
* refactor(node/fs): update fs import
-------------------------------------------------------------------
Wed Mar 10 03:34:32 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.8.1:
* fix(cli/ast): Pass importsNotUsedAsValues to swc
* fix(cli/compile): Do not append .exe depending on target
* fix(cli/coverage): Ensure single line functions don't yield false positives
* fix(core): Shared queue assertion failure in case of js error
* fix(runtime): Add navigator interface objects
* fix(runtime/web_worker): Don't block self.onmessage with TLA
* fix(webgpu): Add Uint32Array type for code in ShaderModuleDescriptor
* fix(webgpu): Add webidl records and simple unions
- update deno_std to 0.90.0:
* feat(node): Add CLI for running Node.js script with std/node
* feat(node): Add "module" polyfill
* fix(node): fix assert module, enable test cases
* fix(http): Create a single encoder instance
-------------------------------------------------------------------
Tue Mar 2 23:49:39 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.8.0
* upgrade: TypeScript 4.2
* upgrade: rusty_v8 to 0.20.0 (V8 9.0.257.3)
* feat: Align import map to spec and stabilize
* feat: Deno.emit supports bundling as IIFE
* feat: Use top user frame for error source lines
* feat: WebGPU API
* feat: add "deno coverage" subcommand
* feat: add --ext flag to deno eval
* feat: add exit sanitizer to Deno.test
* feat: add json(c) support to deno fmt
* feat: add structured cloning to Deno.core
* feat: per op metrics (unstable)
* feat: represent type dependencies in info
* feat: stabilize Deno.permissions
* feat: stabilize Deno.link and Deno.linkSync
* feat: stabilize Deno.symlink and Deno.symlinkSync
* feat: support auth tokens for accessing private modules
* feat: support loading import map from URL
* feat: use type definitions "deno doc" if available
* fix(core): Add stacks for dynamic import resolution errors
* fix(core): Fix dynamic imports for already rejected modules
* fix(lsp): improve exception handling on tsc snapshots
* fix(repl): filter out symbol candidates
* fix(runtime): do not panic on irregular dir entries
* fix(runtime/testing): false positive for timers when an error is thrown
* fix(websocket): default to close code 1005
* fix: lint and fmt error if no target files are found
* fix: panic caused by Deno.env.set("", "")
* fix: typo in coverage exit_unstable
- update deno_std to 0.89.0
* BREAKING(io/streams): Strengthen iterator to readable stream conversion
* build: collect and upload code coverage
* feat(node): add constants module
* feat(node): add crypto.createHash
* feat(node): add process.hrtime function
* feat(node): add truncate and truncateSync
* fix(node): export promisify & callbackify
* fix(node): fix export items of events
* fix(node): ignore shebang
* fix(node): native module needs to be extensible
* fix(node/process): make process.argv an array
* fix: fix type errors in canary test
* refactor: fix codes to pass no-unused-vars lint
* test(path): update test cases for canary
-------------------------------------------------------------------
Sat Feb 20 20:18:54 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.7.5
* fix: align btoa to spec
* fix: Don't use file names from source maps
* fix: Make dynamic import async errors catchable
* fix: webidl utils and align Event to spec
* fix(lsp): document spans use original range
* fix(lsp): handle cached type dependencies properly
* fix(lsp): handle data URLs properly
* std updated to v0.88.0:
+ BREAKING(encoding): remove module utf8.ts
+ chore: fix typo in contributing section
+ docs(bytes): improve README.md
+ feat(node): add native module polyfills: url, crypto
+ feat(node): add tty module
+ feat(node): support conditional exports
+ fix(std/testing) : Handle Symbols correctly in deep equalities
+ test(node): run external tests with --quiet
- includes v1.7.4
* nothing different since 1.7.3
- includes revision with rusty_v8 0.19.0
-------------------------------------------------------------------
Fri Feb 12 17:23:17 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.7.3
* upgrade: rusty_v8 0.17.0, v8 9.0.123
* upgrade: deno_doc, deno_lint, dprint, swc_ecmascript, swc_bundler
* feat(unstable, lsp): add deno cache code actions
* feat(unstable, lsp): add implementations code lens
* fix(cli): check for inline source maps before external ones
* fix(cli): fix WebSocket close
* fix(cli): import maps handles data URLs
* fix(console): log function object properties / do not log
non-enumerable props by default
* fix(lsp): handle code lenses for non-documents
* fix(lsp): handle type deps properly
* fix(lsp): prepare diagnostics when the config changes
* fix(lsp): properly handle static assets
* fix(lsp): support codeAction/resolve
* fix(op_crates): Don't use `Deno.inspect` in op crates
* fix(runtime/tls): handle invalid host for connectTls/startTls
* std:BREAKING(http/cookie): remove Cookies and SameSite type aliases
* std:docs(fmt): fix examples in fmt/colors.ts
* std:docs(io/ioutil): improve jsdoc
* std:fix(http/file_server): svg media type
* std:refactor(hash/md5): throw TypeError for wrong type
* std:test(node): enable native node tests
-------------------------------------------------------------------
Fri Feb 5 21:14:55 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.7.2
* feat(lsp, unstable): add references code lens
* feat(lsp, unstable): add TS quick fix code actions
* fix: improve http client builder error message
* fix(cli): fix handling of non-normalized specifier
* fix(cli/coverage): display mapped instrumentation line counts
* fix(cli/lsp): fix using jsx/tsx when not emitting via tsc
* fix(repl): prevent symbol completion panic
* refactor: rewrite Blob implementation
* refactor: rewrite File implementation
* std:feat(http/file_server): support do not show dotfiles
* std:feat(http/file_server): show ../ if it makes sense & end dirs with /
-------------------------------------------------------------------
Fri Jan 29 17:34:16 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.7.1
* feat(std/node): Add support for process.on("exit")
* fix(std/node): Stop callbacks being called twice when callback throws error
* fix(std/node): replace uses of window with globalThis
* fix(std/async): make pooledMap() errors catchable
* feat(lsp, unstable): add performance measurements
* fix(lsp): complete list of unused diagnostics
* fix(lsp): fix deadlocks, use one big mutex
* fix(lsp): handle mbc documents properly
* fix(lsp): handle mbc properly when formatting
* fix(lsp): reduce deadlocks with in memory documents
* fix(cli): IO resource types, fix concurrent read/write and graceful close
* fix(cli): Move WorkerOptions::deno types to unstable
* fix(cli): add lib dom.asynciterable
* fix(cli): correctly determine emit state with redirects
* fix(cli): early abort before type checking on missing modules
* fix(cli): enable url wpt
* fix(cli): fix panic in Deno.emit
* fix(cli): fix panic in op_dns_resolve
* fix(cli): fix recursive dispatches of unload event
* fix(cli): fmt command help message
* fix(cli): use DOMException in Performance#measure
* fix(cli/flags): don't panic on invalid location scheme
* fix(compile): fix panic when cross-compiling between windows and unix
* fix(core): Handle prepareStackTrace() throws
* fix(coverage): ignore comments
* fix(coverage): use source maps when printing pretty reports
* fix(op_crates/fetch): fix ReadableStream.pipeThrough()
* fix(op_crates/web): Add gb18030 and GBK encodings
* fix(op_crates/web): Improve customInspect for Location
* chore: new typescript WPT runner
-------------------------------------------------------------------
Wed Jan 20 14:08:20 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.7.0
* upgrade: rusty_v8 0.16.0, v8 8.9.255.3
* upgrade: tokio 1.0
* upgrade: Rust 1.49.0
* upgrade: deno_doc, deno_lint, dprint, swc_ecmascript, swc_bundler
* upgrade: deno_lint to 0.2.16
* upgrade: swc_bundler 0.19.2
* BREAKING(std/wasi): hide implementation details
* BREAKING(std/wasi): return exit code from start
* BREAKING(unstable): Use hosts for net allowlists
* BREAKING(unstable): remove CreateHttpClientOptions.caFile
* feat(std/wasi): allow stdio resources to be specified
* feat(unstable): add Deno.resolveDns API
* feat(unstable): runtime compiler APIs consolidated to Deno.emit()
* feat: Add WorkerOptions interface to type declarations
* feat: Add configurable permissions for Workers
* feat: Standalone lite binaries and cross compilation
* feat: add --location= and globalThis.location
* feat: add global tls session cache
* feat: add markdown support to deno fmt
* feat: add utf-16 and big5 to TextEncoder/TextDecoder
* feat: denort binary
* feat: stabilize Deno.shutdown() and Conn#closeWrite()
* feat: support data urls
* feat: support runtime flags for deno compile
* feat: upload release zips to dl.deno.land
* fix(cli): dispatch unload on exit
* fix(cli): print a newline after help and version
* fix(coverage): do not store source inline in raw reports
* fix(coverage): merge duplicate reports
* fix(coverage): report partial lines as uncovered
* fix(inspector): kill child process after test
* fix(install): fix cached-only flag
* fix(lsp): Add textDocument/implementation
* fix(lsp): Respect client capabilities for config and dynamic registration
* fix(lsp): support specifying a tsconfig file
* fix(op_crates/fetch): add back ReadableStream.getIterator and deprecate
* fix(op_crates/fetch): align streams to spec
* fix(op_crates/fetch): correct regexp for fetch header
* fix(op_crates/fetch): req streaming + 0-copy resp streaming
* fix(op_crates/web) let TextEncoder#encodeInto accept detached ArrayBuffers
* fix(op_crates/web): Use WorkerLocation for location in workers
* fix(op_crates/web): fix atob to throw spec aligned DOMException
* fix(op_crates/websocket): respond to ping with pong
* fix(std): Don't use JSDoc syntax for browser-compatibility headers
* fix(std/http): Use ES private fields in server
* fix(std/http): parsing of HTTP version header
* fix(std/node): resolve files in symlinked directories
* fix(watcher): keep working even when imported file has invalid syntax
* fix: Use "none" instead of false to sandbox Workers
* fix: Worker hangs when posting "undefined" as message
* fix: align DOMException API to the spec and add web platform testing of it.
* fix: don't error on version and help flag
* fix: don't swallow customInspect exceptions
* fix: enable WPT tests
* fix: full commit hash in canary compile download
* fix: ignore "use asm"
* fix: implement DOMException#code
* fix: incremental build for deno declaration files
* fix: panic during deno compile with no args
* fix: panic on invalid file:// module specifier
* fix: race condition in file watcher
* fix: redirect in --location relative fetch
* fix: stronger input checking for setTimeout; add function overload
* fix: use inline source maps when present in js
* fix: use tokio for async fs ops
* refactor(cli): remove 'js' module, simplify compiler snapshot
* refactor(op_crates/crypto): Prefix ops with "op_crypto_"
* refactor(op_crates/websocket): refactor event loop
* refactor: Print cause chain when downcasting AnyError fails
* refactor: make Process#kill() throw sensible errors on Windows
* refactor: move WebSocket API to an op_crate
- pass -s to link flags to strip debug symbols from binary
- revendor: apply mktemp fix from Matthias Eliasson (re: boo#1180782)
-------------------------------------------------------------------
Thu Dec 31 20:57:31 UTC 2020 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.6.3
* upgrade: rusty_v8 0.15.0, v8 8.8.294
* upgrade: dprint, swc_bundler, swc_common, swc_ecmascript
* feat(lsp): Add cache command
* feat(lsp): Implement textDocument/rename
* feat(std/node): adds fs.mkdtemp & fs.mkdtempSync
* feat(unstable): collect coverage from the run command
* fix(core): Fix incorrect index in Promise.all error reporting
* fix(lsp): handle ts debug errors better
* fix(lsp): provide diagnostics for unresolved modules
* fix(std/http): Don't expose ServerRequest::done as Deferred
* fix: fetch bad URL will not panic
* fix: info does not panic on missing modules
-------------------------------------------------------------------
Mon Dec 28 05:46:18 UTC 2020 - Avindra Goolcharan <avindra@opensuse.org>
- Build from the 2 source repos (deno and rusty_v8)
* No need to depend on published crate
- Add revendor_source.sh to carry the bucket for "cargo vendor"
- Remove ninja/gn env vars (fix upstreamed)
- Optimize exclusions (including removal of winapi binaries)
-------------------------------------------------------------------
Fri Dec 25 20:04:58 UTC 2020 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.6.2
* upgrade TypeScript to 4.1.3
* feat(lsp): support the unstable setting
* feat(std/node): Added os.type
* feat(unstable): record raw coverage into a directory
* feat(unstable): support in memory certificate data for Deno.createHttpClient
* fix: atomically write files to $DENO_DIR
* fix: implement ReadableStream fetch body handling
* fix: make DNS resolution async
* fix: make dynamic import errors catchable
* fix: respect enable flag for requests in lsp
* refactor: optimise static assets in lsp
* refactor: rename runtime/rt to runtime/js
* refactor: rewrite lsp to be async
* refactor: rewrite ops to use ResourceTable2
-------------------------------------------------------------------
Sun Dec 20 11:30:43 UTC 2020 - Avindra Goolcharan <avindra@opensuse.org>
- Build completely from source
- Dropped librusty_v8_release_x86_64-unknown-linux-gnu.a
-------------------------------------------------------------------
Sat Dec 19 08:57:04 UTC 2020 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.6.1
* upgrade: swc_ecmascript to 0.15.0
* feat(lsp): support import maps
* fix(compile): error when the output path already exists
* fix(lsp): only resolve sources with supported schemas
* fix(op_crates/fetch): support non-ascii response headers value
* fix(repl): recover from invalid input
* fix: show canary string in long version
* fix: zsh completions
* refactor: deno_runtime crate
- includes v1.6.0
* rusty_v8 updated to 0.14.0
* break: std/bytes changes
* break: isolatedModules non-configurable
- add _constraints to request memory for build
- cleanup description
-------------------------------------------------------------------
Fri Dec 4 02:20:19 UTC 2020 - Avindra Goolcharan <avindra@opensuse.org>
- init pkg at v1.5.4