ProjectEvergreen / greenwood

Greenwood is your workbench for the web, embracing web standards from the ground up to empower your stack from front to back.
https://www.greenwoodjs.io
MIT License
98 stars 10 forks source link

Feature/issue 948 web api standardization #1045

Closed thescientist13 closed 1 year ago

thescientist13 commented 1 year ago

Related Issue

resolves #948 / #949

Summary of Changes

  1. Adopt (most of) core to work with Web APIs URL / Request / Response
  2. Refactor all plugins to adopt above convention
  3. Updated all impacted documentation

TODOs

  1. [x] Fix Windows compat - #1047
  2. [x] Refactor Request.clone / Response.clone, as it seems to cause this issue
    (node:81167) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. Use events.setMaxListeners() to increase limit
    • somewhat related, maybe we can "undo" this now - #1046
  3. [x] Restore ETag middleware for develop command
  4. [x] Documentation / Breaking Changes
    • greenwood.config.js
    • ResourceInterface (extensions, lifecycle signatures, util methods)
  5. [x] Clean up / address TODOs and / or make tracking issues