Skip to content

Commit 2dd737a

Browse files
Merge #92
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 <[email protected]>
2 parents d5658dd + bc86362 commit 2dd737a

File tree

8 files changed

+4566
-4508
lines changed

8 files changed

+4566
-4508
lines changed

extension.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
name: firestore-meilisearch
1717

1818
# Follow semver versioning
19-
version: 0.1.4
19+
version: 0.1.5
2020

2121
# Version of the Firebase Extensions specification
2222
specVersion: v1beta
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
"use strict";
2+
Object.defineProperty(exports, "__esModule", { value: true });
3+
exports.constructClientAgents = void 0;
4+
const version_1 = require("../version");
5+
const constructClientAgents = (clientAgents = []) => {
6+
const firebaseAgent = `Meilisearch Firebase (v${version_1.version})`;
7+
return clientAgents.concat(firebaseAgent);
8+
};
9+
exports.constructClientAgents = constructClientAgents;

functions/lib/meilisearch/create-index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Object.defineProperty(exports, "__esModule", { value: true });
33
exports.initMeilisearchIndex = void 0;
44
const meilisearch_1 = require("meilisearch");
5+
const agents_1 = require("./agents");
56
/**
67
* initMeilisearchIndex
78
* @param {MeilisearchConfig} - Meilisearch configuration
@@ -11,6 +12,7 @@ function initMeilisearchIndex({ host, apiKey, indexUid, }) {
1112
const client = new meilisearch_1.MeiliSearch({
1213
host,
1314
apiKey,
15+
clientAgents: (0, agents_1.constructClientAgents)(),
1416
});
1517
return client.index(indexUid);
1618
}

functions/lib/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"use strict";
22
Object.defineProperty(exports, "__esModule", { value: true });
33
exports.version = void 0;
4-
exports.version = '0.1.4';
4+
exports.version = '0.1.5';

functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "firestore-meilisearch",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"scripts": {
55
"lint": "eslint .",
66
"lint:fix": "eslint . --fix",

functions/src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version = '0.1.4'
1+
export const version = '0.1.5'

functions/yarn.lock

Lines changed: 4550 additions & 4503 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "firestore-meilisearch",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"description": "Search in your Firestore content with Meilisearch",
55
"repository": "",
66
"author": "Meilisearch (https://meilisearch.com/)",

0 commit comments

Comments
 (0)