Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(rest): switch api to fetch-like and provide strategies #9416

Merged
merged 1 commit into from
May 6, 2023

Commits on May 6, 2023

  1. refactor(rest): switch from undici request to global fetch

    ci: bump node version
    
    test: remove console log
    
    refactor(Handler): .d.ts interface file
    
    refactor(Handler): move to interfaces folder
    
    chore: mark undici as normal dep
    
    feat: network request strategies
    
    refactor: default to request strategy
    
    docs: update to reflect recent changes
    
    refactor: performance improvements
    
    BREAKING CHANGE: NodeJS v18+ is required when using node due to the use of global `fetch`
    BREAKING CHANGE: The raw method of REST now returns a web compatible `Respone` object.
    BREAKING CHANGE: The `parseResponse` utility method has been updated to operate on a web compatible `Response` object.
    BREAKING CHANGE: Many underlying internals have changed, some of which were exported.
    BREAKING CHANGE: `DefaultRestOptions` used to contain a default `agent`, which is now set to `null` instead.
    ckohen committed May 6, 2023
    Configuration menu
    Copy the full SHA
    5c7cf19 View commit details
    Browse the repository at this point in the history