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

Raise min Dart SDK to 3.0.0 #307

Merged
merged 3 commits into from
May 17, 2023
Merged

Raise min Dart SDK to 3.0.0 #307

merged 3 commits into from
May 17, 2023

Conversation

ahmednfwela
Copy link
Collaborator

@ahmednfwela ahmednfwela commented May 13, 2023

Pull Request

What does this PR do?

  • Raise the minimum dart sdk to 3.0.0, this lets us use the super parameters feature, class modifiers, records and patterns

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

@brunoocasali
Copy link
Member

I think we can go for the v3 directly after v1.2 :)

@ahmednfwela
Copy link
Collaborator Author

great! Should I base all coming v1.2 PRs on this PR then?

@brunoocasali
Copy link
Member

Hi @ahmednfwela you can update your PR to make it points to v3 of Dart, then we can release it alone, and you can base the v1.2 PRs in the bump as usual (I will rebase the bump with main).

@ahmednfwela
Copy link
Collaborator Author

@brunoocasali I updated the PR to raise the min sdk version to v3.0.0
I also changed the example to depend on meilisearch from path instead of pub.dev
and updated contributing.md accordingly

@ahmednfwela ahmednfwela changed the title Raise min Dart SDK to 2.17.0 Raise min Dart SDK to 3.0.0 May 17, 2023
@brunoocasali brunoocasali added the breaking-change The related changes are breaking for the users label May 17, 2023
Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

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

bors merge and viva Dart 3!

meili-bors bot added a commit that referenced this pull request May 17, 2023
307: Raise min Dart SDK to 3.0.0 r=brunoocasali a=ahmednfwela

# Pull Request

## What does this PR do?
- Raise the minimum dart sdk to 3.0.0, this lets us use the [super parameters](https://dart.dev/language/constructors#super-parameters) feature, class modifiers, records and patterns

## PR checklist
Please check if your PR fulfills the following requirements:
- [ ] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: Ahmed Fwela <ahmednfwela@bdaya-dev.com>
@meili-bors
Copy link
Contributor

meili-bors bot commented May 17, 2023

This PR was included in a batch that successfully built, but then failed to merge into main. It will not be retried.

Additional information:

{"message":"2 of 4 required status checks are expected.","documentation_url":"https://docs.github.com/articles/about-protected-branches"}

@brunoocasali
Copy link
Member

bors merge

@meili-bors
Copy link
Contributor

meili-bors bot commented May 17, 2023

Build succeeded:

@meili-bors meili-bors bot merged commit 481aa81 into main May 17, 2023
@meili-bors meili-bors bot deleted the dart-2.17.0 branch May 17, 2023 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change The related changes are breaking for the users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants