Skip to content

Commit 897007e

Browse files
authored
⚡️ Release 2.19.0 (#1273)
* ⚡️ Release 2.19.0 * Improve coverage and changelog * cleanup workflow
1 parent 50514f0 commit 897007e

File tree

6 files changed

+60
-20
lines changed

6 files changed

+60
-20
lines changed

.github/workflows/pages.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
name: docs
22
on:
3-
push:
4-
branches:
5-
- master
6-
tags:
7-
- '*'
3+
release:
4+
types: [published]
85
jobs:
96
build:
107
runs-on: ubuntu-18.04

.github/workflows/release.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: release
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
publish-npm:
7+
runs-on: ubuntu-18.04
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions/setup-node@v1
11+
with:
12+
node-version: 12
13+
registry-url: https://registry.npmjs.org/
14+
- name: Cache Node.js modules
15+
uses: actions/cache@v2
16+
with:
17+
path: ~/.npm
18+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
19+
restore-keys: |
20+
${{ runner.os }}-node-
21+
- run: npm ci
22+
- run: npm publish
23+
env:
24+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

CHANGELOG.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
11
# Parse-SDK-JS
22

33
### master
4-
[Full Changelog](https://github.com/parse-community/Parse-SDK-JS/compare/2.18.0...master)
4+
[Full Changelog](https://github.com/parse-community/Parse-SDK-JS/compare/2.19.0...master)
5+
6+
## 2.19.0
7+
[Full Changelog](https://github.com/parse-community/Parse-SDK-JS/compare/2.18.0...2.19.0)
8+
9+
**Features**
10+
- New error code 210 (MFA_ERROR) ([#1268](https://github.com/parse-community/Parse-SDK-JS/pull/1268))
11+
- New error code 211 (MFA_TOKEN_REQUIRED) ([#1268](https://github.com/parse-community/Parse-SDK-JS/pull/1268))
12+
- New error code 161 (FILE_DELETE_UNNAMED_ERROR) ([#1257](https://github.com/parse-community/Parse-SDK-JS/pull/1257))
13+
14+
**Improvements**
15+
- Parse.File.destroy without name error message ([#1257](https://github.com/parse-community/Parse-SDK-JS/pull/1257))
16+
17+
**Fixes**
18+
- Remove unnecessary object reference and comment from AddUniqueOp ([#1253](https://github.com/parse-community/Parse-SDK-JS/pull/1253))
19+
- Internal Referencing for Increment Dot Notation ([#1255](https://github.com/parse-community/Parse-SDK-JS/pull/1255))
20+
- Saving for Increment Dot Notation ([#1219](https://github.com/parse-community/Parse-SDK-JS/pull/1219))
521

622
## 2.18.0
723
[Full Changelog](https://github.com/parse-community/Parse-SDK-JS/compare/2.17.0...2.18.0)

package-lock.json

+13-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "parse",
3-
"version": "2.18.0",
3+
"version": "2.19.0",
44
"description": "The Parse JavaScript SDK",
55
"homepage": "https://parseplatform.org/",
66
"keywords": [

src/__tests__/ParseQuery-test.js

+3
Original file line numberDiff line numberDiff line change
@@ -2801,6 +2801,9 @@ describe('ParseQuery', () => {
28012801
aggregate: () => {},
28022802
});
28032803
const query = new ParseQuery('TestCancel');
2804+
expect(query._xhrRequest).toBeDefined();
2805+
expect(query._xhrRequest.task).toBe(null);
2806+
expect(query._xhrRequest.onchange()).toBeUndefined();
28042807

28052808
jest.spyOn(mockRequestTask, 'abort');
28062809
query.cancel();

0 commit comments

Comments
 (0)