Skip to content

Releases: algolia/algoliasearch-client-python

1.16.0

07 Jun 14:49
1098048
Compare
Choose a tag to compare

🎉 Note to contributors:
Everybody is now able to run the test on Travis, since we moved to temporary credentials.️ ⤵️
https://blog.algolia.com/travis-encrypted-variables-external-contributions/

  • Deprecation: Keys should not be managed at the Index level but at the Client level

    All methods Index.(list|get|add|update)_api_keys() are now
    deprecated. If you already have keys on the Index, it would be best
    to delete them and regenerate new keys with client, adding the indexes
    restriction.

    Example:

    client.add_api_key({
        'acl': 'search',
        'indexes': 'my_index_name',
    })
  • Feat: Let you define all API keys capabilities in one map for update_api_key and add_api_key

    Example:

    client.add_api_key({
        'acl': ['search'],
        'validity': 300,
        'maxQueriesPerIPPerHour': 100,
        'maxHitsPerQuery': 20,
        'indexes': ['dev_*'],
        'referers': ['algolia.com/*'],
        'queryParameters': 'typoTolerance=strict&ignorePlurals=false',
        'description': 'Limited search only API key for algolia.com'
    })

    instead of

    client.add_api_key(['search'], 300, 100, 20, ['dev_*'])
  • Fix: Adding a rule with an empty ID failed silently, it will now raise an exception

  • Fix: Index.get_objects requires an array for attributes_to_retrieve
    strings could be passed before but it would fail silently every time
    See #299

  • Fix: When browsing, ensure cursor is passed in the body
    Cursor can become so long that the generated URL fails (error HTTP 414).

  • Chore: Add Python version to the UserAgent

1.15.3

15 Mar 12:44
aea8c09
Compare
Choose a tag to compare
  • Remove the [security] flair of requests

1.15.2

18 Dec 12:44
Compare
Choose a tag to compare
  • Add 'page' and 'hitsPerPage' to list_user_ids
  • Implement delete_by, an atomic delete_by_query
  • Deprecate delete_by_query

1.15.0

05 Dec 15:55
97bbec2
Compare
Choose a tag to compare
  • Implement iter_synonyms for browsing all the synonyms of an index
  • Implement iter_rules for browsing all the rules of an index
  • Add the scope parameter to copy_index to allow copying only the synonyms, or the rules, or the settings.

1.14.1

06 Nov 10:40
c6bc1d3
Compare
Choose a tag to compare
  • Fix request_options not always optional

1.14.0

30 Oct 13:44
c898c82
Compare
Choose a tag to compare
  • Add per-request parameters
  • Add multi-cluster support

1.12.0

02 Mar 10:14
Compare
Choose a tag to compare

Do not ship the certificates anymore

1.11.2

31 Jan 13:35
Compare
Choose a tag to compare

Fix decoding of the README file in setup.py

1.11.0

12 Dec 22:46
Compare
Choose a tag to compare

A new logic has been implemented to allow better handling of DNS-related errors.

1.10.0

13 Dec 09:41
Compare
Choose a tag to compare
  • Search your facet values with index.search_for_facet_values()