- [Added] Functionality that allows you to add custom query Contributed by @Aallam.
AlgoliaQuery custom(String key, dynamic value) { assert(!_parameters.containsKey(key)); return _copyWithParameters({key: value}); }
- [Bug] Replaced
dart:io
withuniversal_io
to fix web compatibility.
- [Analyze] Update homepage in
pubspec
- [Analyze] Fixed static analysis
- [Added] User Agent support while making request to Algolia api.
- [Analyze] Fixed static analysis
- [Bug] Fix
Algolia._apiCall
returningMap<String, dynamic>
instead ofResponse
- [Bug] Fix Multiple Index query int query parameters
- [Bug] Fix
AlgoliaFacetValueSnapshot
madeobjectID
to optional value.
- [Added] You can now worry less about retry action action on failure, as it just do it for you. In order to guarantee a very high availability, we implemented recommended retry strategy for all API calls on all your read and write actions. (Currently, fallback request is not supported for insight.)
- [Added]
AlgoliaSynonymsReference
now easily set synonyms with just few lines of code// single algolia.index('contacts').synonyms.save(AlgoliaSynonyms( objectID: '1', type: SynonymsType.synonym, synonyms: ['iphne', 'iphone', 'ipone'], forwardToReplicas: true, )); // batch algolia.index('contacts').synonyms.batch([ AlgoliaSynonyms( objectID: '1', type: SynonymsType.synonym, synonyms: ['iphne', 'iphone', 'ipone'], forwardToReplicas: true, ), ]);
- [Added]
deleteObjects
Delete by query: now you can delete objects based on your query. - [Bug]
addObject
for add object withoutobjectID
has been fixed. - [Bug]
setData
for set object data has been fixed Issue #52 - [Bug]
partialUpdateObject
for partial update object data has been fixed Issue #59
- [Bug] queryId from QuerySnapshot was made nullable.
-
[Added] Facet values
AlgoliaFacetValueSnapshot
: Now you can get list of all facet value to implement advance filtering options. -
[Added] Insights implementation.
// Create an Event AlgoliaEvent event = AlgoliaEvent( eventType: AlgoliaEventType.view, eventName: 'View contact', index: 'contacts', userToken: 'userId123', ); // Push Event await algolia.instance.pushEvents([event]);
-
[Added]
queryId
to query snapshot when click analytics is enabled. -
[Bug] Fixed null error in query snapshot.
-
[Improved] Improved concurrency of snapshot interface by making constructor base multiple mapped value to a getter parameters.
- [Bug] faulty assert resolved for checking empty values #40
- [Bug] Fixed all enum valued query and setting methods.
- [Deprecated] Some
AlgoliaQuery
methods have been deprecated:search()
instead usequery()
setSimilarQuery()
instead usesimilarQuery()
setFilters()
instead usefilters()
setFacetFilter()
instead usefacetFilter()
setPaginationLimitedTo()
This method is deprecated, not part of query parameters.setSeparatorsToIndex()
This method is deprecated, not part of query parameters.
- [Added] Improved stability for debugging use
.toString()
to get working variables of the interface (applicable for all Algolia classes). - [Added]
.toMap()
to all data dictionary classes.
- Implemented
analysis_options.yaml
- [Bug] #26
- [Added] Add support of
Null-safety
- [Added] Under Query options:
- In
similarQuery
Search - In
languages
8/11 - In
query-rules
3/3 - In
personalization
3/3 - In
query-strategy
7/7 - In
performance
2/2 - In
advanced
11/15
- In
- [Added] Under Setting options:
- In
languages
8/11 - In
query-rules
3/3 - In
personalization
3/3 - In
query-strategy
7/7 - In
performance
2/2 - In
advanced
11/15
- In
- [Added] Add new error handling class
AlgoliaError
- [Upgrade] Bumped up
http
version
- [Bug] #14 Solved few health suggestion, to improve the health of the code.
- [Added] Add support for
facets_stats
property returned by Algolia query
- [Bug] Solved few health suggestion, to improve the health of the code.
-
[Added] PR implementation of
multipleQueries
AlgoliaQuery queryA = algolia.instance.index('users').search('john'); AlgoliaQuery queryB = algolia.instance.index('jobs').search('business'); // Perform multiple facetFilters queryA = queryA.setFacetFilter('status:active'); queryA = queryA.setFacetFilter('isDelete:false'); // Perform multiple facetFilters queryB = queryB.setFacetFilter('isDelete:false'); // Get Result/Objects List<AlgoliaQuerySnapshot> snap = await algolia.multipleQueries.addQueries([queryA, queryB]).getObjects();
- [Bug] Solved a technical reported bug #11
- [Added] Copy, Move Index functionalities.
- [Added] PR implementation of
replaceAllObjects()
- [Bug] Solved few health suggestion, to improve the health of the code.
- [Bug]
.setFacetFilter(dynamic value)
can now accept String or List value. - [Added] AttributeForDistinct (Advance)
- [Added] Distinct (Advance)
- [Added] GetRankingInfo (Advance)
- [Added] ClickAnalytics (Advance)
- Added
facets
toAlgoliaQuerySnapshot
to list facets name with hits count.
- highlightResult [Bug] (commit ref: 0d76d24fe8aa347a0933920afe5ded43bdcbd68b)
- snippetResult [Implementation] (commit ref: 0d76d24fe8aa347a0933920afe5ded43bdcbd68b)
- Updated
example.dart
: Added index settings example. - Updated index
.setSettings()
response toAlgoliaTask
.
- Added support to manage index settings (Get & Set), limited to 24 settings parameters, more to be added in newer releases.
- OptionalFilter (Filtering)
- NumericFilter (Filtering)
- TagFilter (Filtering)
- SumOrFiltersScore (Filtering)
- AroundLatLng (Geo Search)
- AroundLatLngViaIP (Geo Search)
- AroundRadius (Geo Search)
- AroundPrecision (Geo Search)
- MinimumAroundRadius (Geo Search)
- InsideBoundingBox (Geo Search)
- InsidePolygon (Geo Search)
- MinWordSizefor1Typo (Typo)
- MinWordSizefor2Typos (Typo)
- TypoTolerance (Typo)
- AllowTyposOnNumericTokens (Typo)
- DisableTypoToleranceOnAttributes (Typo)
- DisableTypoToleranceOnWords (Typo)
- SeparatorsToIndex (Typo)
- Bug fixes.
- Removed Flutter direct dependency to support universal dart projects.
- Initial release.