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

Build process and queue improvements #53

Merged
merged 18 commits into from
Sep 16, 2024
Merged

Conversation

MattCCC
Copy link
Owner

@MattCCC MattCCC commented Sep 14, 2024

Features:

  • Add Accept-Encoding headers with brotli compression enabled by default
  • Requests Queue can now properly handle high concurrency environments thanks to better locking

Fixes:

  • iife builds can be properly utilized through fetchff namespace
  • urls in endpoints should be required in TypeScript interface
  • set minimum target to es2017 instead of esnext for better browser support
  • properly replace global headers with per-request headers
  • consistent default response when request is cancelled
  • Properly consider request "credentials" passed through

Copy link
Collaborator

@red-game-dev red-game-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

test/utils.spec.ts Dismissed Show dismissed Hide dismissed
test/utils.spec.ts Dismissed Show dismissed Hide dismissed
test/utils.spec.ts Dismissed Show dismissed Hide dismissed
test/utils.spec.ts Dismissed Show dismissed Hide dismissed
Copy link

github-actions bot commented Sep 14, 2024

size-limit report 📦

Path Size
dist/browser/index.mjs 2.88 KB (+3.62% 🔺)
dist/browser/index.global.js 3.03 KB (+100% 🔺)

@MattCCC MattCCC changed the title Build process improvements Build process and queue improvements Sep 16, 2024
@MattCCC MattCCC merged commit 541c8f0 into master Sep 16, 2024
9 checks passed
@MattCCC MattCCC deleted the build-process-improvements branch September 16, 2024 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants