algolia 1.1.0+2 algolia: ^1.1.0+2 copied to clipboard
Algolia is a pure dart SDK, wrapped around Algolia REST API for easy implementation for your Flutter or Dart projects.
Changelog #
1.0.5 #
Bug Fixes #
- [Bug] Fix
Algolia._apiCall
returningMap<String, dynamic>
instead ofResponse
- [Bug] Fix Multiple Index query int query parameters
- [Bug] Fix
AlgoliaFacetValueSnapshot
madeobjectID
to optional value.
1.0.4 #
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
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.
1.0.1 #
Bug-fixes with improved debugging stability #
- [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.
1.0.0 #
Stable release with Null-Safety #
- [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
0.1.7 #
0.1.6+1 #
Improve library health #
- [Bug] Solved few health suggestion, to improve the health of the code.
0.1.6 #
Added Multi-Query #
-
[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();
0.1.5 #
0.1.4+3 #
Improve library health #
- [Bug] Solved few health suggestion, to improve the health of the code.
0.1.4+2 #
Added few advance query references and solved bugs #
- [Bug]
.setFacetFilter(dynamic value)
can now accept String or List - [Added] AttributeForDistinct (Advance)
- [Added] Distinct (Advance)
- [Added] GetRankingInfo (Advance)
- [Added] ClickAnalytics (Advance)
0.1.4+1 #
Added support facets #
- Added
facets
toAlgoliaQuerySnapshot
to list facets name with hits count.
0.1.3+2 #
Implementation & bug solved #
- highlightResult [Bug] (commit ref: 0d76d24fe8aa347a0933920afe5ded43bdcbd68b)
- snippetResult [Implementation] (commit ref: 0d76d24fe8aa347a0933920afe5ded43bdcbd68b)
0.1.3+1 #
Added support to manage index settings #
- Updated
example.dart
: Added index settings example. - Updated index
.setSettings()
response toAlgoliaTask
.
0.1.3 #
Added support to manage index settings #
- Added support to manage index settings (Get & Set), limited to 24 settings parameters, more to be added in newer releases.
0.1.2 #
Added new query params #
- 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)