You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: add explicit permissions to gh workflows and update lints (#126)
* ci: add explicit permissions to github workflows
- Add `contents: read` and `pull-requests: write` permissions to analyze
workflow
- Add `contents: read` permission to backup workflow
- Add `contents: write` permission to publish workflow
- Add `contents: read` permission to test workflow
* chore(lint): enable additional dcm rules and update dependencies
- Enable shorthand preference rules that were previously disabled
- Enable new metrics rules: avoid-missing-test-files,
avoid-unassigned-local-variable, avoid-undisposed-instances,
avoid-unnecessary-parentheses, prefer-non-nulls
- Disable avoid-throw rule due to breaking change and use of maybe*
methods
- Update dart_code_metrics_presets to ^2.30.0
- Update test to ^1.31.0
- Update SDK constraint to ^3.11.3
- Fix RegExp instantiation to use shorthand syntax
- Update example code to use maybeMapStatusCode with proper parameter
handling
* chore: refactor workflow permissions and update readme
- Move `contents: write` permission from global to `check-version` job
only
- Reorder debug configurations in `.zed/debug.json` for consistency
- Add GitHub issues badge to README
- Update test count from 1000 to 1120 in documentation
- Clarify industry adoption timeline (remove specific year reference)
- Add verified publisher feature to README
- Fix status code variable reference in example code
@@ -139,9 +140,9 @@ The use of `StatusCode` extension type and boolean getters (`isInformational`, `
139
140
140
141
10.**No 3rd-party dependencies**: This package has no third-party dependencies, ensuring that you won't have any issues or conflicts with other dependencies (no even `meta` here, because of that).
141
142
142
-
11.**High code coverage**: The code in this package has almost 100% code coverage, with more than 1000 tests, providing confidence in its reliability and stability.
143
+
11.**High code coverage**: The code in this package has almost 100% code coverage, with more than 1120 tests, providing confidence in its reliability and stability.
143
144
144
-
12.**Industry adopted**: This package is actively used (since 2022) in production by numerous European companies, ensuring its efficacy and robustness in real-world scenarios.
145
+
12.**Industry adopted**: This package is actively used (for years) in production by numerous European companies, ensuring its efficacy and robustness in real-world scenarios.
145
146
146
147
13.**BSD-3-Clause License**: This package and sources are released under the BSD-3-Clause license, a permissive license that is also used by the Dart and Flutter SDKs. It allows users to use, modify, and distribute the code with minimal restrictions.
147
148
@@ -151,6 +152,8 @@ The use of `StatusCode` extension type and boolean getters (`isInformational`, `
151
152
152
153
16.**Mirrored Repository**: The GitHub repository, including all package tags, is mirrored on [GitLab](https://gitlab.com/tsinis/functional_status_codes/), providing an alternative access point should GitHub become unavailable.
153
154
155
+
17.**Verified publisher**: Published and maintained under an active, verified pub.dev publisher account since 2022.
156
+
154
157
By using these features of the `functional_status_codes` package, you promote a more robust, readable, and maintainable approach to HTTP status code handling in your Dart projects.
0 commit comments