Releases: knoxpo/dart_algolia
Releases · knoxpo/dart_algolia
Implemented Fallback Request
- [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
Full Changelog: 1.0.3...1.0.4
Bug fixes
[1.0.3] - Bug fixes
- [Bug] queryId from QuerySnapshot was made nullable.
[1.0.2] - Added support for Facet Values & Insights
-
[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.
Stable release with Null-Safety
- [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. - [Added] 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
Improve library health.
- [Bug] Solved a few health suggestions, 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 support facets
Added facets
to AlgoliaQuerySnapshot
to list facets name with hits count.
initial beta release
- Initial release.