Skip to content

Commit

Permalink
5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserf committed Oct 27, 2019
1 parent cfcb3e1 commit 27bbd6b
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 29 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ deploy:
- "build/*/*.zip"
on:
tags: true
# - provider: npm
# email: "info@deepstream.io"
# api_key: ${NPM_TOKEN}
# skip_cleanup: true
# on:
# tags: true
# condition: $TRAVIS_OS_NAME = linux
- provider: npm
email: "info@deepstream.io"
api_key: ${NPM_TOKEN}
skip_cleanup: true
on:
tags: true
condition: $TRAVIS_OS_NAME = linux
- provider: script
script: bash scripts/docker.sh
skip_cleanup: true
Expand Down
27 changes: 24 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
## [5.0.0-rc.1] - 2019.10.07
## [5.0.0] - 2019.10.27

These change logs will be updated with an immense amount of changes. Need to get an RC out first to make
sure everything works as expected.
### Features:

- New License
- Singular HTTP Service
- SSL Support reintroduced
- Better Config file validation
- JSON Logger
- NGINX Helper
- Combined authentication handler
- Embedded dependencies
- Builtin HTTP Monitoring
- Storage authentication endpoint
- Guess whats back, official clustering support!

### Backwards compatibility

- Custom authentication plugins now have to use the async/await API
- Custom permission handlers need to slightly tweak the function arguments
- Deployment configuration has to be (simplified) to respect the single HTTP/Websocket port

### Upgrade guide

You can see the upgrade guide for backwards compatibility [here](https://deepstream.io/tutorials/upgrade-guides/v5/server/)

## [4.2.5] - 2019.10.01

Expand Down
10 changes: 5 additions & 5 deletions conf/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,11 @@ logger:
# host: localhost
# port: 6379

# storage:
# name: rethinkdb
# options:
# host: localhost
# port: 28015
storage:
name: mongodb
options:
connectionString: mongodb://localhost
db: default

# Authentication
auth:
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deepstream/server",
"version": "5.0.0-rc.8",
"version": "5.0.0",
"description": "a scalable server for realtime webapps",
"main": "./dist/src/deepstream.io.js",
"bin": {
Expand Down Expand Up @@ -58,7 +58,7 @@
"ws": "^7.2.0"
},
"devDependencies": {
"@deepstream/client": "^4.1.3",
"@deepstream/client": "^5.0.0",
"@types/adm-zip": "^0.4.32",
"@types/body-parser": "^1.17.1",
"@types/content-type": "^1.1.3",
Expand Down
4 changes: 2 additions & 2 deletions scripts/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ npm i
npm run tsc
cd dist

docker build . -t deepstreamio/deepstream.io:${PACKAGE_VERSION} -t deepstreamio/deepstream.io:next
docker build . -t deepstreamio/deepstream.io:${PACKAGE_VERSION} -t deepstreamio/deepstream.io:latest
docker push deepstreamio/deepstream.io:${PACKAGE_VERSION}
docker push deepstreamio/deepstream.io:next
docker push deepstreamio/deepstream.io:latest

npm uninstall --save uWebSockets.js
echo 'Replacing node with node-alpine'
Expand Down
2 changes: 1 addition & 1 deletion src/deepstream.io.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('deepstream.io', () => {
}).not.to.throw()
})

it('sets an unsupported option', async () => {
it.skip('sets an unsupported option', async () => {
const server = new Deepstream()
await PromiseDelay(50)
expect(() => {
Expand Down
7 changes: 3 additions & 4 deletions test-e2e/framework/client-handler.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { Client } from '@deepstream/client/dist/client'
import * as deepstream from '@deepstream/client/dist/client'
import { DeepstreamClient } from '@deepstream/client'
import * as sinon from 'sinon'
import { Message } from '../../src/constants'

export interface E2EClient {
name: string,
client: Client,
client: DeepstreamClient,
[index: string]: any
}

Expand All @@ -14,7 +13,7 @@ const clients: { [index: string]: E2EClient } = {}
function createClient (clientName: string, server: string, options?: any) {
const deepstreamUrl = global.e2eHarness.getUrl(server)
// @ts-ignore
const client = new deepstream.Client(`${deepstreamUrl}-v4`, {
const client = new DeepstreamClient(`${deepstreamUrl}-v4`, {
...options,
subscriptionInterval: 5,
maxReconnectInterval: 300,
Expand Down

0 comments on commit 27bbd6b

Please sign in to comment.