Repository navigation
Update build dependency to >=v3 <5.0.0 - #216
Merged
shamblett merged 3 commits intoMay 6, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the package’s build dependency constraint to allow newer major versions and adds automated tests to validate CoAP config YAML → Dart generation, including aligning the example config with the builder’s required version key.
Changes:
- Broaden
build(and related dev) dependency constraints and addbuild_testfor builder testing. - Add a comprehensive
configBuildertest suite covering type handling, nested keys, special-casing, and error behavior. - Update the example config YAML/Dart to include the required
versionentry and ensure generated output matches.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| test/coap_builder_test.dart | Adds unit tests for the config builder, including an example-file roundtrip check. |
| pubspec.yaml | Updates build/build_runner constraints and adds build_test. |
| example/config/coap_config.yaml | Adds required version key to satisfy builder validation. |
| example/config/coap_config.dart | Updates generated example output to include version and DTLS-related getters. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
shamblett
added a commit
that referenced
this pull request
May 6, 2026
* Update build dependency to >=v3 <5.0.0 (#216) * Allow for more up to date versions of build * Add testing values * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Oskar Williams <oskar@tewke.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Formatting --------- Co-authored-by: Oskar Williams <me@oskarw.com> Co-authored-by: Oskar Williams <oskar@tewke.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates build dependency to v3 and higher.
Adds testing of config file generation.