schultek / jaspr

Modern web framework for building websites in Dart. Supports SPAs, SSR and SSG.
https://jasprpad.schultek.de
MIT License
1.14k stars 68 forks source link

[Refactor] Change bindings to be non-singleton #80

Closed schultek closed 1 year ago

schultek commented 1 year ago

Description

See changelog. Resolves #60

Type of Change

docs-page[bot] commented 1 year ago

To view this pull requests documentation preview, visit the following URL:

docs.page/schultek/jaspr~80

Documentation is deployed and generated using docs.page.

github-actions[bot] commented 1 year ago

Package Version Report

The following packages have been updated: jaspr : 0.3.0 -> 0.4.0 jaspr_builder : 0.3.0 -> 0.4.0 jaspr_cli : 0.3.0 -> 0.4.0 jaspr_riverpod : 0.3.0 -> 0.3.1 jaspr_router : 0.1.0 -> 0.1.1 jaspr_test : 0.3.0 -> 0.4.0

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 76.36% and project coverage change: +0.21 :tada:

Comparison is base (00dcbe2) 64.23% compared to head (9b727a8) 64.44%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #80 +/- ## ========================================== + Coverage 64.23% 64.44% +0.21% ========================================== Files 80 80 Lines 3285 3263 -22 ========================================== - Hits 2110 2103 -7 + Misses 1175 1160 -15 ``` | [Impacted Files](https://codecov.io/gh/schultek/jaspr/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte) | Coverage Δ | | |---|---|---| | [packages/jaspr/lib/src/foundation/scheduler.dart](https://codecov.io/gh/schultek/jaspr/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHIvbGliL3NyYy9mb3VuZGF0aW9uL3NjaGVkdWxlci5kYXJ0) | `76.19% <ø> (-4.58%)` | :arrow_down: | | [packages/jaspr/lib/src/foundation/sync.dart](https://codecov.io/gh/schultek/jaspr/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHIvbGliL3NyYy9mb3VuZGF0aW9uL3N5bmMuZGFydA==) | `27.86% <ø> (-5.47%)` | :arrow_down: | | [...ckages/jaspr/lib/src/server/document/document.dart](https://codecov.io/gh/schultek/jaspr/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHIvbGliL3NyYy9zZXJ2ZXIvZG9jdW1lbnQvZG9jdW1lbnQuZGFydA==) | `2.77% <0.00%> (ø)` | | | [...aspr/lib/src/server/document/document\_binding.dart](https://codecov.io/gh/schultek/jaspr/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHIvbGliL3NyYy9zZXJ2ZXIvZG9jdW1lbnQvZG9jdW1lbnRfYmluZGluZy5kYXJ0) | `37.93% <ø> (-5.82%)` | :arrow_down: | | [packages/jaspr/lib/src/server/run\_app.dart](https://codecov.io/gh/schultek/jaspr/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHIvbGliL3NyYy9zZXJ2ZXIvcnVuX2FwcC5kYXJ0) | `0.00% <0.00%> (ø)` | | | [packages/jaspr/lib/src/server/server\_app.dart](https://codecov.io/gh/schultek/jaspr/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHIvbGliL3NyYy9zZXJ2ZXIvc2VydmVyX2FwcC5kYXJ0) | `61.70% <ø> (ø)` | | | [...spr\_riverpod/lib/src/sync\_provider/sync\_scope.dart](https://codecov.io/gh/schultek/jaspr/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHJfcml2ZXJwb2QvbGliL3NyYy9zeW5jX3Byb3ZpZGVyL3N5bmNfc2NvcGUuZGFydA==) | `0.00% <0.00%> (ø)` | | | [packages/jaspr/lib/src/framework/state\_mixins.dart](https://codecov.io/gh/schultek/jaspr/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHIvbGliL3NyYy9mcmFtZXdvcmsvc3RhdGVfbWl4aW5zLmRhcnQ=) | `62.50% <50.00%> (ø)` | | | [packages/jaspr\_riverpod/lib/src/framework.dart](https://codecov.io/gh/schultek/jaspr/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHJfcml2ZXJwb2QvbGliL3NyYy9mcmFtZXdvcmsuZGFydA==) | `73.19% <50.00%> (+2.86%)` | :arrow_up: | | [packages/jaspr\_router/lib/src/router.dart](https://codecov.io/gh/schultek/jaspr/pull/80?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHJfcm91dGVyL2xpYi9zcmMvcm91dGVyLmRhcnQ=) | `93.24% <83.33%> (ø)` | | | ... and [11 more](https://codecov.io/gh/schultek/jaspr/pull/80?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte) | | ... and [1 file with indirect coverage changes](https://codecov.io/gh/schultek/jaspr/pull/80/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte) Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.