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

feat: support regular expressions in routeBlacklist values #98

Merged
merged 4 commits into from
Dec 19, 2023

Conversation

dmuharemagic
Copy link
Contributor

@dmuharemagic dmuharemagic commented Dec 7, 2023

FIrst of all, thanks for the library :)

I thought it would be useful to support regular expressions in routeBlacklist property values. One might need to blacklist a set of subpaths under a base path, e.g. when using @fastify/swagger-ui it would be useful to blacklist all of the exposed subpaths from being collected (JSON documentation, YAML documentation, and so on).

Copy link

codecov bot commented Dec 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0730c2a) 98.82% compared to head (1f12dd7) 98.85%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
+ Coverage   98.82%   98.85%   +0.02%     
==========================================
  Files           2        2              
  Lines         170      174       +4     
  Branches       70       73       +3     
==========================================
+ Hits          168      172       +4     
  Misses          1        1              
  Partials        1        1              

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

@SkeLLLa SkeLLLa merged commit fabf6d7 into SkeLLLa:master Dec 19, 2023
7 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 19, 2023
## [10.5.0](v10.4.1...v10.5.0) (2023-12-19)

### 🚀 Features

* support regular expressions in routeBlacklist values ([#98](#98)) ([fabf6d7](fabf6d7))
@SkeLLLa
Copy link
Owner

SkeLLLa commented Dec 19, 2023

Thanks for contribution! And sorry for late review, but it should be released soon.

Copy link
Contributor

🎉 This PR is included in version 10.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants