Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-02 | feat(ops): #[op(unstable)] (#14124) | Aaron O'Mullan | |
2022-03-22 | feat(core): disableable extensions & ops (#14063) | Aaron O'Mullan | |
Streamlines a common middleware pattern and provides foundations for avoiding variably sized v8::ExternalReferences & enabling fully monomorphic op callpaths | |||
2022-03-15 | cleanup(core): OpPair => OpDecl (#13952) | Aaron O'Mullan | |
2022-03-14 | feat(core): codegen ops (#13861) | Divy Srivastava | |
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com> | |||
2022-03-08 | feat(core): Event loop middlewares for Extensions (#13816) | Divy Srivastava | |
2021-11-16 | refactor: re-export anyhow from deno_core (#12777) | Ryan Dahl | |
2021-05-29 | core: don't include_str extension js code (#10786) | Luca Casonato | |
This speeds up incremental rebuild when only touching JS files by 13-15% Rebuild time after `touch 01_broadcast_channel.js`: main: run 1 49.18s, run 2 50.34s this: run 1 43.12s, run 2 43.19s | |||
2021-05-07 | fix: align plugin api with Extension (#10427) | Elias Sjögreen | |
2021-04-30 | Rename crate_ops to extensions (#10431) | Andy Hayden | |
2021-04-28 | refactor(extensions): reintroduce builder (#10412) | Aaron O'Mullan | |
2021-04-28 | core: introduce extensions (#9800) | Aaron O'Mullan | |
Extensions allow declarative extensions to "JsRuntime" (ops, state, JS or middleware). This allows for: - `op_crates` to be plug-and-play & self-contained, reducing complexity leaked to consumers - op middleware (like metrics_op) to be opt-in and for new middleware (unstable, tracing,...) - `MainWorker` and `WebWorker` to be composable, allowing users to extend workers with their ops whilst benefiting from the other infrastructure (inspector, etc...) In short extensions improve deno's modularity, reducing complexity and leaky abstractions for embedders and the internal codebase. |