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

[Version 1.3.2] DX Update #123

Merged
merged 13 commits into from
Nov 22, 2024
Merged

[Version 1.3.2] DX Update #123

merged 13 commits into from
Nov 22, 2024

Conversation

z4nr34l
Copy link
Owner

@z4nr34l z4nr34l commented Nov 22, 2024

This pull request includes several changes to the @rescale/nemo middleware functions, improvements to documentation, and updates to the apps/docs project. The most important changes include adding parameters to middleware functions, updating documentation with new examples and debugging tools, and integrating a new component into the documentation pages.

Middleware Function Updates:

  • Added parameters to middleware functions to improve their flexibility and usability. (.changeset/tender-wasps-collect.md)
  • Updated the createMiddleware function to use wildcard matchers for API and protected routes. (README.md)

Documentation Improvements:

  • Enhanced the documentation with detailed examples of route matching, including simple routes, parameters, optional parameters, and wildcards. (README.md)
  • Added a new section on integrating NEMO with Supabase middleware, including step-by-step instructions and code examples. (apps/docs/content/docs/api-reference/supabase.mdx)
  • Updated the configuration documentation to reflect changes in middleware function parameters and added new examples for route segments. (apps/docs/content/docs/configuration.mdx) [1] [2]

Codebase Enhancements:

@z4nr34l z4nr34l self-assigned this Nov 22, 2024
Copy link

vercel bot commented Nov 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
nemo ⬜️ Skipped (Inspect) Nov 22, 2024 0:34am

Copy link

pkg-pr-new bot commented Nov 22, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/z4nr34l/nemo/@rescale/nemo@123

commit: c52fd3d

Copy link

codecov bot commented Nov 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.91%. Comparing base (f42cf29) to head (c52fd3d).
Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #123      +/-   ##
==========================================
+ Coverage   93.75%   94.91%   +1.16%     
==========================================
  Files           1        1              
  Lines          48       59      +11     
  Branches       19       27       +8     
==========================================
+ Hits           45       56      +11     
  Misses          3        3              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@z4nr34l z4nr34l merged commit 32c2a0b into main Nov 22, 2024
13 checks passed
@z4nr34l z4nr34l deleted the dx-update branch November 22, 2024 12:38
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.

1 participant