NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #2074 most downloaded on pub.dev
Algolia is a pure dart SDK, wrapped around Algolia REST API for easy implementation for your Flutter or Dart projects.
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.5 years
Nearly every release is documented
notes for 26 of 27 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
27 releases · first in 2018
[Added] Functionality that allows you to add custom query Contributed by @Aallam. ``dart AlgoliaQuery custom(String key, dynamic value) { assert(!_par
AlgoliaQuery custom(String key, dynamic value) {
assert(!_parameters.containsKey(key));
return _copyWithParameters({key: value});
}
[Bug] Replaced dart:io with universal_io to fix web compatibility.
dart:io with universal_io to fix web compatibility.One column per quarter.
[Added] User Agent support while making request to Algolia api.
[Analyze] Update homepage in pubspec
pubspec[Analyze] Fixed static analysis
[Bug] Fix Algolia._apiCall returning Map instead of Response
Algolia._apiCall returning Map<String, dynamic> instead of ResponseAlgoliaFacetValueSnapshot made objectID to optional value.[Analyze] Fixed static analysis
[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 impl
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,
),
]);
deleteObjects Delete by query: now you can delete objects based on your query.addObject for add object without objectID has been fixed.setData for set object data has been fixed Issue #52partialUpdateObject 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] 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.
[Deprecated] Some AlgoliaQuery methods have been deprecated:
AlgoliaQuery methods have been deprecated:
search() instead use query()setSimilarQuery() instead use similarQuery()setFilters() instead use filters()setFacetFilter() instead use facetFilter()setPaginationLimitedTo() This method is deprecated, not part of query parameters.setSeparatorsToIndex() This method is deprecated, not part of query parameters..toString() to get working variables of the interface (applicable for all Algolia classes)..toMap() to all data dictionary classes.[Added] Add support of Null-safety
Null-safetysimilarQuery Searchlanguages 8/11query-rules 3/3personalization 3/3query-strategy 7/7performance 2/2advanced 11/15languages 8/11query-rules 3/3personalization 3/3query-strategy 7/7performance 2/2advanced 11/15AlgoliaErrorhttp versionImplemented analysis_options.yaml
analysis_options.yaml[Bug] #14 Solved few health suggestion, to improve the health of the code.
facets_stats property returned by Algolia query[Added] PR implementation of multipleQueries
[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 few health suggestion, to improve the health of the code.
[Bug] Solved a technical reported bug #11
replaceAllObjects()Nothing published for this version
Added facets to AlgoliaQuerySnapshot to list facets name with hits count.
facets to AlgoliaQuerySnapshot to list facets name with hits count.[Bug] .setFacetFilter(dynamic value) can now accept String or List value.
.setFacetFilter(dynamic value) can now accept String or List<String> value.[Bug] Solved few health suggestion, to improve the health of the code.
Added support to manage index settings (Get & Set), limited to 24 settings parameters, more to be added in newer releases.
Updated example.dart: Added index settings example.
example.dart: Added index settings example..setSettings() response to AlgoliaTask.highlightResult [Bug] (commit ref: 0d76d24fe8aa347a0933920afe5ded43bdcbd68b)
MinimumAroundRadius (Geo Search)
Removed Flutter direct dependency to support universal dart projects.
### Initial Release - Initial release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →