-
Notifications
You must be signed in to change notification settings - Fork 65
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
feat!: support new algoliasearch and django versions #336
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
soooo nice, gg
|
||
[testenv:lint] | ||
deps = | ||
ruff {[versions]ruff} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
Website.objects.create(name='Facebook', url='https://www.facebook.com') | ||
Website.objects.create(name='Facebook', url='https://www.facebook.fr') | ||
Website.objects.create(name='Facebook', url='https://fb.com') | ||
Website(name="Algolia", url="https://www.algolia.com", is_online=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you configure ruff to use single quote as before ? or you prefer double quotes ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went with the default configuration just to have simpler maintenance logic but... I don't really mind
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking care of Django
🧭 What and Why
🎟 JIRA Ticket: https://algolia.atlassian.net/browse/DI-3186 https://algolia.atlassian.net/browse/DI-3187 https://algolia.atlassian.net/browse/DI-3188 https://algolia.atlassian.net/browse/DI-3189 https://algolia.atlassian.net/browse/DI-3191 https://algolia.atlassian.net/browse/DI-3247
https://algolia.atlassian.net/browse/DI-3190
closes #333
closes #249
Changes included:
upgrade the package to support django v4 and v5, also upgrade the algoliasearch client
List of breaking changes:
clear_index
, useclear_objects
instead