0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-03 22:57:08 -05:00
astro/packages
Arsh 5acc3135ba
refactor: pipeline lifetime (#9795)
* Base Environment

* SSRRoutePipeline -> AppEnvironment

* BuildPipeline -> BuildEnvironment

* DevPipeline -> DevEnvironment

* per-request pipeline

* internal middleware: i18n

* delete callEndpoint

* pipeline access for internal middleware

* Address review comments

`environment.ts` is now lives directly in `src/core`, rather than `src/core/render`.

`environment.createPipeline` is removed. `Pipeline.create` is used instead.

Constructors with positional arguments are replaced by `Environment.create` with named arguments.

Clarifies the use of `HiddenPipeline`.

* migrate some of `RenderContext`'s responsibilities to `Pipeline`

* delete renderPage

* RenderContext.params -> Pipeline.params

* delete `RenderContext`

* `Pipeline` -> `RenderContext`

* `Environment` -> `Pipeline`

* `AppEnvironment` -> `AppPipeline`

* `BuildEnvironment` -> `BuildPipeline`

* `DevEnvironment` -> `DevPipeline`

* provide locals directly to renderContext

* add changeset
2024-02-20 20:10:13 +05:30
..
astro refactor: pipeline lifetime (#9795) 2024-02-20 20:10:13 +05:30
astro-prism Use eslint-plugin-regexp (#9993) 2024-02-07 20:43:19 +08:00
astro-rss chore: Change strictEqual to equal (#10140) 2024-02-16 11:41:16 +00:00
create-astro chore: move nodetest.js to test.js (#10142) 2024-02-16 16:20:49 +00:00
integrations Add option to prefix sitemap (#9846) 2024-02-20 08:36:09 +00:00
internal-helpers Use eslint-plugin-regexp (#9993) 2024-02-07 20:43:19 +08:00
markdown/remark chore: move nodetest.js to test.js (#10142) 2024-02-16 16:20:49 +00:00
telemetry chore: move nodetest.js to test.js (#10142) 2024-02-16 16:20:49 +00:00
underscore-redirects chore(@astrojs/underscore-redirects): use Node.js for testing (#9923) 2024-02-02 11:38:17 +00:00
upgrade [ci] release (#10109) 2024-02-15 12:00:03 +01:00