1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-03 04:48:52 -05:00
denoland-deno/tests/specs/compile
Bartek Iwańczuk b1c6142f74
BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213)
This commit effectively turns Deno into Deno 2.0.

This is done by forcing `DENO_FUTURE=1` env var, that was available in
the past few months to try Deno 2 changes.

This commit contains several breaking changes scheduled for Deno 2:
- all deprecated JavaScript APIs are not available any more, mostly
`Deno.*` APIs
- `window` global is removed
- FFI, WebGPU and FS APIs are now stable and don't require
`--unstable-*` flags
- import assertions are no longer supported
- "bring your own node modules" is enabled by default

This is the first commit in a series that are scheduled before the Deno
2 release.

Follow up work is tracked in
https://github.com/denoland/deno/issues/25241.

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
Co-authored-by: Nathan Whitaker <nathan@deno.com>
2024-08-30 13:58:58 -04:00
..
byonm_main_sub_dir fix(unstable/compile): handle byonm import in sub dir (#24755) 2024-07-26 15:53:53 -04:00
determinism fix(compile): make output more deterministic (#25092) 2024-08-19 16:41:11 +00:00
env_vars_support feat(compile): support --env (#24166) 2024-07-09 21:33:41 +00:00
jsr_with_deps fix(compile): certain jsr specifiers sometimes can't load (#23567) 2024-04-27 21:11:57 +00:00
npm_cjs_reexport_relative_parent_component fix(compile/windows): handle cjs re-export of relative path with parent component (#24795) 2024-07-30 16:46:15 -04:00
npmrc_auto_install BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213) 2024-08-30 13:58:58 -04:00
npmrc_byonm fix(future): Emit deno install warning less often, suggest deno install in error message (#24706) 2024-07-24 23:37:13 +00:00
patch feat(unstable): ability to use a local copy of jsr packages (#25068) 2024-08-20 14:11:43 +00:00
permissions_denied fix(cli): update permission prompt message for compiled binaries (#24081) 2024-08-20 01:20:06 +00:00
relative_permissions fix(compile): relative permissions should be retained as relative (#23719) 2024-05-06 19:21:58 -04:00
repetitive_unstable_flag fix(compile): prevent setting unstable feature twice (#24381) 2024-07-02 23:15:10 +00:00
workspace fix(compile): support workspace members importing other members (#24909) 2024-08-07 07:43:05 +00:00