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

removing v1 embedding to fix compile on flutter 3.27 #1644

Conversation

abdelaziz-mahdy
Copy link
Contributor

fixing this #1643

@abdelaziz-mahdy abdelaziz-mahdy changed the title removing v1 embedding removing v1 embedding to fix compile on flutter 3.27 Dec 11, 2024
@@ -1,3 +1,7 @@
## 8.1.6
Copy link

Choose a reason for hiding this comment

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

I believe you should Add an new version instead of removing this one, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know what you mean, I did add a new version?

If you are talking about v1 embedding it has been deprecated for.a while Now, it should be removed anyway

Choose a reason for hiding this comment

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

I think I know what he mean, you didn't add specific new version on this changelog like the 8.1.5 one. So better you add it as 8.1.6 and the package owner should merge this pr then publish to pub.dev

Choose a reason for hiding this comment

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

I'm not a maintainer but the changelog looks just fine to me.

Copy link

@InvertedX InvertedX Dec 13, 2024

Choose a reason for hiding this comment

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

I've tested this on my setup, and everything works as expected. Great job! @abdelaziz-mahdy

Copy link

Choose a reason for hiding this comment

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

I don't know what you mean, I did add a new version?

Sorry, my bad... I did not have my coffee yet when I reviewed :)

Choose a reason for hiding this comment

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

Bumping version is good until another PR with version bump is merged. It is up to the maintainer if he requires version bump as part of the PR. Personally I do the version bump in the release branch dedicated the version release. I know that for example Flutter community plugins require version bump (I've been through it and got hindered several times due to other PRs with version merging and having to resolve conflict and rebase).
Just merge this PR (🙏🏻 🙏🏻 🙏🏻) with or without version FFS.

Copy link

@MrCsabaToth MrCsabaToth left a comment

Choose a reason for hiding this comment

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

Just let it merge please @miguelpruivo

@reidbaker
Copy link

reidbaker commented Dec 16, 2024

The bug has a huge number of comments so I am adding some context here.

My teammate on flutter removed v1 embeddings in this pr #1527 fixing the issue we filed #1526.

It appears that in pull request #1453 the lines we removed were added back in.

5 days ago flutter released 3.27 which was the first stable release to not have the v1 embedding code so any user with this plugin and 3.27 would fail to compile.

At first glance this pr appears to address the regression.

Copy link
Collaborator

@navaronbracke navaronbracke left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for fixing this regression!

@navaronbracke navaronbracke merged commit 525840e into miguelpruivo:master Dec 16, 2024
0 of 3 checks passed
@MrCsabaToth MrCsabaToth mentioned this pull request Dec 16, 2024
MrCsabaToth added a commit to Open-Multi-Modal-Personal-Assistant/OpenMMPA that referenced this pull request Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants