From b31e322d351dad15f4222c8810dc87175393c576 Mon Sep 17 00:00:00 2001 From: Florent Vilmart <364568+flovilmart@users.noreply.github.com> Date: Tue, 18 Dec 2018 08:39:49 -0500 Subject: [PATCH 1/2] run tests against mongodb 4.0 --- .travis.yml | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index da5bba092d..5a93cf0a18 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,8 +28,8 @@ env: - COVERAGE_OPTION='./node_modules/.bin/nyc' - NODE_VERSION=8.11.2 matrix: - - MONGODB_VERSION=3.2.13 - - MONGODB_VERSION=3.4.4 + - MONGODB_VERSION=4.0.4 + - MONGODB_VERSION=3.6.9 - PARSE_SERVER_TEST_DB=postgres - PARSE_SERVER_TEST_CACHE=redis - NODE_VERSION=stable diff --git a/package.json b/package.json index cba8cca015..db74f411a1 100644 --- a/package.json +++ b/package.json @@ -76,8 +76,8 @@ "lint": "flow && eslint --cache ./", "build": "babel src/ -d lib/ --copy-files", "watch": "babel --watch src/ -d lib/ --copy-files", - "test": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 jasmine", - "coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 nyc jasmine", + "test": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 jasmine", + "coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 nyc jasmine", "start": "node ./bin/parse-server", "prepare": "npm run build", "postinstall": "node -p 'require(\"./postinstall.js\")()'" From b6375711d97bd3b34c0e44d781e48940bf0f7b60 Mon Sep 17 00:00:00 2001 From: Florent Vilmart <364568+flovilmart@users.noreply.github.com> Date: Tue, 18 Dec 2018 08:58:51 -0500 Subject: [PATCH 2/2] Adds compatibility shields --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 1b67381d9d..ccd6538a40 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,12 @@ [![Join Chat](https://img.shields.io/badge/gitter-join%20chat%20%E2%86%92-brightgreen.svg)](https://gitter.im/ParsePlatform/Chat) [![Greenkeeper badge](https://badges.greenkeeper.io/parse-community/parse-server.svg)](https://greenkeeper.io/) + +[![](https://img.shields.io/badge/mongodb-3.2-green.svg?logo=mongodb&style=flat)]() +[![](https://img.shields.io/badge/mongodb-3.4-green.svg?logo=mongodb&style=flat)]() +[![](https://img.shields.io/badge/mongodb-3.6-green.svg?logo=mongodb&style=flat)]() +[![](https://img.shields.io/badge/mongodb-4.0-green.svg?logo=mongodb&style=flat)]() + Parse Server is an [open source version of the Parse backend](http://blog.parseplatform.org/announcements/introducing-parse-server-and-the-database-migration-tool/) that can be deployed to any infrastructure that can run Node.js. Parse Server works with the Express web application framework. It can be added to existing web applications, or run by itself.