Skip to content

chore: Update analyze command to allow only giving warnings on new major versions. - #2602

Merged
SandPod merged 3 commits into
serverpod:mainfrom
SandPod:update-analyze-pubspecs-command-to-validate-major-version
Aug 14, 2024
Merged

SandPod merged 3 commits into
serverpod:mainfrom
SandPod:update-analyze-pubspecs-command-to-validate-major-version

Conversation

@SandPod

@SandPod SandPod commented Aug 13, 2024 •

Copy link
Copy Markdown
Contributor

Updates the hidden helper command to allow us to check if there are any new major versions out for any of the dependencies in the Serverpod mono repo.

Sample output when running the command on the state of the repo now:

$ serverpod analyze-pubspecs --check-latest-version --only-major --ignore-serverpod
Dependencies match.
Checking latest pub versions.
web_socket_channel
local: ^2.4.0
pub:   ^3.0.1
found in:
 • serverpod_client
firebase_auth
local: ^4.4.2
pub:   ^5.1.4
found in:
 • serverpod_auth_firebase_flutter
firebase_core
local: ^2.10.0
pub:   ^3.3.0
found in:
 • serverpod_auth_firebase_flutter
material_design_icons_flutter
local: >=6.0.0 <7.0.0
pub:   ^7.0.7296
found in:
 • serverpod_auth_firebase_flutter
 • serverpod_auth_apple_flutter
email_validator
local: ^2.1.17
pub:   ^3.0.0
found in:
 • serverpod_auth_server
 • serverpod_auth_email_flutter
googleapis
local: ^11.0.0
pub:   ^13.2.0
found in:
 • serverpod_auth_server
image_cropper
local: ^5.0.0
pub:   ^8.0.1
found in:
 • serverpod_auth_shared_flutter

Pre-launch Checklist

  • I read the Contribute page and followed the process outlined there for submitting PRs.
  • This update contains only one single feature or bug fix and nothing else. (If you are submitting multiple fixes, please make multiple PRs.)
  • I read and followed the Dart Style Guide and formatted the code with dart format.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.
  • I added new tests to check the change I am making.
  • All existing and new tests are passing.
  • Any breaking changes are documented below.

If you need help, consider asking for advice on the discussion board.

Breaking changes

Changes to a hidden developer command that targets the development of Serverpod.

@SandPod
SandPod force-pushed the update-analyze-pubspecs-command-to-validate-major-version branch from 33d3080 to 7b8f29c Compare August 13, 2024 13:52
@SandPod
SandPod requested a review from vlidholt August 13, 2024 14:06

@vlidholt vlidholt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SandPod
SandPod merged commit 66e3322 into serverpod:main Aug 14, 2024
@SandPod
SandPod deleted the update-analyze-pubspecs-command-to-validate-major-version branch August 14, 2024 07:07
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants