Skip to content

Commit

Permalink
Merge #92
Browse files Browse the repository at this point in the history
92: Update version for the next release (v0.1.5) r=bidoubiwa a=bidoubiwa

Content of the release:

This version makes this package compatible with Meilisearch v0.28.0 🎉
Check out the changelog of [Meilisearch v0.28.0](https://github.com/meilisearch/meilisearch/releases/tag/v0.28.0) for more information on the changes.

## 🚀 Enhancements

- #91 

Analytics is enabled by default in the server, but you can disable them by following [this guide](https://docs.meilisearch.com/learn/what_is_meilisearch/telemetry.html#how-to-disable-data-collection)
Also, of course, every analytics data we collect are ANONYMOUS [read the guide for more information](https://docs.meilisearch.com/learn/what_is_meilisearch/telemetry.html).

Thanks again to `@bidoubiwa` ! 🎉

Co-authored-by: Charlotte Vermandel <charlottevermandel@gmail.com>
  • Loading branch information
meili-bors[bot] and bidoubiwa authored Jul 12, 2022
2 parents d5658dd + bc86362 commit 2dd737a
Show file tree
Hide file tree
Showing 8 changed files with 4,566 additions and 4,508 deletions.
2 changes: 1 addition & 1 deletion extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
name: firestore-meilisearch

# Follow semver versioning
version: 0.1.4
version: 0.1.5

# Version of the Firebase Extensions specification
specVersion: v1beta
Expand Down
9 changes: 9 additions & 0 deletions functions/lib/meilisearch/agents.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.constructClientAgents = void 0;
const version_1 = require("../version");
const constructClientAgents = (clientAgents = []) => {
const firebaseAgent = `Meilisearch Firebase (v${version_1.version})`;
return clientAgents.concat(firebaseAgent);
};
exports.constructClientAgents = constructClientAgents;
2 changes: 2 additions & 0 deletions functions/lib/meilisearch/create-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.initMeilisearchIndex = void 0;
const meilisearch_1 = require("meilisearch");
const agents_1 = require("./agents");
/**
* initMeilisearchIndex
* @param {MeilisearchConfig} - Meilisearch configuration
Expand All @@ -11,6 +12,7 @@ function initMeilisearchIndex({ host, apiKey, indexUid, }) {
const client = new meilisearch_1.MeiliSearch({
host,
apiKey,
clientAgents: (0, agents_1.constructClientAgents)(),
});
return client.index(indexUid);
}
Expand Down
2 changes: 1 addition & 1 deletion functions/lib/version.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = '0.1.4';
exports.version = '0.1.5';
2 changes: 1 addition & 1 deletion functions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "firestore-meilisearch",
"version": "0.1.4",
"version": "0.1.5",
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix",
Expand Down
2 changes: 1 addition & 1 deletion functions/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '0.1.4'
export const version = '0.1.5'
9,053 changes: 4,550 additions & 4,503 deletions functions/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "firestore-meilisearch",
"version": "0.1.4",
"version": "0.1.5",
"description": "Search in your Firestore content with Meilisearch",
"repository": "",
"author": "Meilisearch (https://meilisearch.com/)",
Expand Down

0 comments on commit 2dd737a

Please sign in to comment.