Skip to content
Snippets Groups Projects
Commit a396a11f authored by Guilherme Gazzo's avatar Guilherme Gazzo
Browse files

Bump version to 4.8.7

parent cf131d16
Branches release-4.8.7
Tags 4.8.7
No related merge requests found
......@@ -210,5 +210,12 @@
"contributors": [
"ggazzo"
]
}],
"4.8.7": [{
"title": "[FIX] Security Hotfix (https://docs.rocket.chat/guides/security/security-updates)",
"userLogin": "ggazzo",
"contributors": [
"ggazzo"
]
}]
}
}
\ No newline at end of file
This diff is collapsed.
FROM registry.access.redhat.com/ubi8/nodejs-12
ENV RC_VERSION 4.8.6
ENV RC_VERSION 4.8.7
MAINTAINER buildmaster@rocket.chat
......
#!/bin/bash
curl -SLf "https://releases.rocket.chat/4.8.6/download/" -o rocket.chat.tgz
curl -SLf "https://releases.rocket.chat/4.8.7/download/" -o rocket.chat.tgz
tar xf rocket.chat.tgz --strip 1
......
......@@ -7,7 +7,7 @@
# 5. `snapcraft snap`
name: rocketchat-server
version: 4.8.6
version: 4.8.7
summary: Rocket.Chat server
description: Have your own Slack like online chat, built with Meteor. https://rocket.chat/
confinement: strict
......
import { FindOneOptions, Cursor, UpdateQuery, FilterQuery, UpdateWriteOpResult, Collection, WithoutProjection } from 'mongodb';
import {
FindOneOptions,
Cursor,
UpdateQuery,
FilterQuery,
UpdateWriteOpResult,
Collection,
WithoutProjection,
IndexSpecification,
} from 'mongodb';
import { compact } from 'lodash';
import type { ISubscription, IRole, IUser, IRoom } from '@rocket.chat/core-typings';
......@@ -11,6 +20,10 @@ export class SubscriptionsRaw extends BaseRaw<T> {
super(col, trash);
}
protected modelIndexes(): IndexSpecification[] {
return [{ key: { E2EKey: 1 }, unique: true, sparse: true }];
}
async getBadgeCount(uid: string): Promise<number> {
const [result] = await this.col
.aggregate<{ total: number } | undefined>([
......
{
"version": "4.8.6"
"version": "4.8.7"
}
{
"name": "@rocket.chat/meteor",
"description": "The Ultimate Open Source WebChat Platform",
"version": "4.8.6",
"version": "4.8.7",
"private": true,
"author": {
"name": "Rocket.Chat",
......
{
"name": "rocket.chat",
"version": "4.8.6",
"version": "4.8.7",
"description": "Rocket.Chat Monorepo",
"main": "index.js",
"private": true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment