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

Update dependencies #542

Merged
merged 8 commits into from
Feb 28, 2024
Merged

Update dependencies #542

merged 8 commits into from
Feb 28, 2024

Conversation

omid
Copy link
Contributor

@omid omid commented Jan 26, 2024

Update dependencies and a bit of housekeeping.

@omid
Copy link
Contributor Author

omid commented Jan 26, 2024

There is a typo in Cancelation (like in TaskCancelation), but it's also like this in the app itself, so it's bigger than the sdk and most probably a breaking change!

@curquiza
Copy link
Member

Hello @omid
thanks for the PR

We are ok with breaking changes since the app is not stable (using version format like v0.X.Y and not vX.Y.Z), so we can accept a PR. The most important is to be clear in the communication

@curquiza curquiza added the maintenance Anything related to maintenance (CI, tests, refactoring...) label Jan 31, 2024
@curquiza
Copy link
Member

curquiza commented Jan 31, 2024

Also @omid you said you updated the dependencies but you also changed a lot of things

I would rather we separate the typo fixes and the dependencies updates/code changes that are not related to typos please 😊 I appreciate the work, but it's not really convenient to review and I don't feel comfortable accepting a PR where I have that much files to review for different reasons

@omid
Copy link
Contributor Author

omid commented Jan 31, 2024

@curquiza Thanks 🙏🏼

Also @omid you said you updated the dependencies but you also changed a lot of things

I updated syn to 2, jsonwebtoken to 9, and removed env_logger, since it wasn't in use.

I don't feel comfortable accepting a PR where I have that much files to review for different reasons

If you don't mind, the update dep thingy changes are in just one commit which you can find here.

We are ok with breaking changes since the app is not stable (using version format like v0.X.Y and not vX.Y.Z), so we can accept a PR. The most important is to be clear in the communication

Sure, the only issue will be that the change should be applied everywhere! Including all SDKs I think, which I'm not familiar with their languages and it's a big chunk of work also. (github said 50 files in the meilisearch org)

@curquiza
Copy link
Member

curquiza commented Jan 31, 2024

If you don't mind, the update dep thingy changes are in just one commit which you can find here.

Not 100% true, this commit also change some parts of the code at the middle of the non-code related update:
3516519

I really would rather you separate your changes, so your PRs, please. For our convenience. We have a lot of things to review, and not a lot of time, it will really help us 🙏

@curquiza
Copy link
Member

Sure, the only issue will be that the change should be applied everywhere! Including all SDKs I think, which I'm not familiar with their languages and it's a big chunk of work also. (github said 50 files in the meilisearch org)

Can you point which kind of change you refer and why the issue is in all the SDKs?

@omid
Copy link
Contributor Author

omid commented Jan 31, 2024

Can you point which kind of change you refer and why the issue is in all the SDKs?

As I said in the first post here, There is a typo in *Cancelation*. It's wrong, it's cancellation, double LL.

@omid
Copy link
Contributor Author

omid commented Jan 31, 2024

Not 100% true, this commit also change some parts of the code at the middle of the non-code related update:

The update deps are in one commit. Others are typos and some housekeeping. There are some changes in the macro part in other commits, but they are not about the logic. Just code style, typo and so on.

@curquiza
Copy link
Member

curquiza commented Feb 5, 2024

Can you fix git conflicts?

Copy link
Member

@irevoire irevoire left a comment

Choose a reason for hiding this comment

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

Hey @omid thanks for your contribution it’s very nice, and updating syn was not an easy task!

We’re very grateful you did it; however, if you do it again, please follow curqui advice.
Do one PR that only updates the dependencies and another that only fixes typos.
That will make it way easier for us to review and merge (that’s also why I took so long to get back to you)

bors merge

Comment on lines +7 to +15
#[derive(Clone, StructMeta, Default)]
struct FieldAttrs {
primary_key: Flag,
displayed: Flag,
searchable: Flag,
distinct: Flag,
filterable: Flag,
sortable: Flag,
}
Copy link
Member

Choose a reason for hiding this comment

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

That’s pretty nice, didn’t know about it before

Copy link
Contributor

meili-bors bot commented Feb 28, 2024

@meili-bors meili-bors bot merged commit f7d4b3c into meilisearch:main Feb 28, 2024
7 checks passed
@omid omid deleted the Updeps branch March 3, 2024 21:16
meili-bors bot added a commit that referenced this pull request Mar 11, 2024
545: Update version for the next release (v0.25.0) r=curquiza a=meili-bot

_This PR is auto-generated._

The automated script updates the version of meilisearch-rust to a new version: "v0.25.0"

---

Part of the work of #544

---

This version introduces features released on Meilisearch v1.7.0 🎉
Check out the changelog of [Meilisearch v1.7.0](https://github.com/meilisearch/meilisearch/releases/tag/v1.7.0) for more information on the changes. 

 ## ⚠️ Breaking changes

* `scoreDetails` feature is not experimental anymore. You can directly use `showRankingScoreDetails` during a search without activating the experimental feature 🎉

## 🚀 Enhancements

* Add proximity precision to settings (#548) cyprx

## ⚙️ Maintenance/misc

* Fix clippy (#546) curquiza
* Update dependencies (#542) omid
* Add an example using actix-web, async_graphql and diesel (#538) korir248


Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Clémentine U. - curqui <[email protected]>
meili-bors bot added a commit that referenced this pull request Mar 11, 2024
545: Update version for the next release (v0.25.0) r=curquiza a=meili-bot

_This PR is auto-generated._

The automated script updates the version of meilisearch-rust to a new version: "v0.25.0"

---

Part of the work of #544

---

This version introduces features released on Meilisearch v1.7.0 🎉
Check out the changelog of [Meilisearch v1.7.0](https://github.com/meilisearch/meilisearch/releases/tag/v1.7.0) for more information on the changes. 

 ## ⚠️ Breaking changes

* `scoreDetails` feature is not experimental anymore. You can directly use `showRankingScoreDetails` during a search without activating the experimental feature 🎉

## 🚀 Enhancements

* Add proximity precision to settings (#548) cyprx

## ⚙️ Maintenance/misc

* Fix clippy (#546) curquiza
* Update dependencies (#542) omid
* Add an example using actix-web, async_graphql and diesel (#538) korir248


Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Clémentine U. - curqui <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Anything related to maintenance (CI, tests, refactoring...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants