Skip to content

Commit 1ad7d48

Browse files
authored
build: release
2 parents b90ae25 + 4a586a6 commit 1ad7d48

File tree

13 files changed

+2393
-444
lines changed

13 files changed

+2393
-444
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
env:
2323
MONGODB_VERSION: 3.6.9
2424
steps:
25+
- name: Fix usage of insecure GitHub protocol
26+
run: sudo git config --system url."https://github".insteadOf "git://github"
2527
- uses: actions/checkout@v2
2628
- name: Use Node.js
2729
uses: actions/setup-node@v1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
[![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-dashboard/releases)
1212

1313
[![npm latest version](https://img.shields.io/npm/v/parse/latest.svg)](https://www.npmjs.com/package/parse)
14+
[![npm beta version](https://img.shields.io/npm/v/parse/beta.svg)](https://www.npmjs.com/package/parse)
1415
[![npm alpha version](https://img.shields.io/npm/v/parse/alpha.svg)](https://www.npmjs.com/package/parse)
15-
<!-- [![npm beta version](https://img.shields.io/npm/v/parse/beta.svg)](https://www.npmjs.com/package/parse) -->
1616

1717
[![Backers on Open Collective](https://opencollective.com/parse-server/backers/badge.svg)][open-collective-link]
1818
[![Sponsors on Open Collective](https://opencollective.com/parse-server/sponsors/badge.svg)][open-collective-link]

changelogs/CHANGELOG_alpha.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## [3.4.3-alpha.2](https://github.com/parse-community/Parse-SDK-JS/compare/3.4.3-alpha.1...3.4.3-alpha.2) (2022-05-29)
2+
3+
4+
### Bug Fixes
5+
6+
* invalid name for `Parse.Role` throws incorrect error ([#1481](https://github.com/parse-community/Parse-SDK-JS/issues/1481)) ([8326a6f](https://github.com/parse-community/Parse-SDK-JS/commit/8326a6f1d7cda0ca8c6f1a3a7ea82448881e118e))
7+
8+
## [3.4.3-alpha.1](https://github.com/parse-community/Parse-SDK-JS/compare/3.4.2...3.4.3-alpha.1) (2022-05-02)
9+
10+
11+
### Bug Fixes
12+
13+
* creating a Parse.File with base64 string fails for some file types ([#1467](https://github.com/parse-community/Parse-SDK-JS/issues/1467)) ([c07d6c9](https://github.com/parse-community/Parse-SDK-JS/commit/c07d6c99968163a72b6ab46e7970b7a5ca4ed540))
14+
115
## [3.4.2-alpha.1](https://github.com/parse-community/Parse-SDK-JS/compare/3.4.1...3.4.2-alpha.1) (2022-04-09)
216

317

integration/test/ParseACLTest.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,4 +533,13 @@ describe('Parse.ACL', () => {
533533
const obj1withInclude = await query.first();
534534
assert(obj1withInclude.get('other').get('ACL'));
535535
});
536+
537+
it('prevents save with invalid role name', async () => {
538+
expect(() => new Parse.Role(':%#', new Parse.ACL())).toThrow(
539+
new Parse.Error(
540+
Parse.Error.OTHER_CAUSE,
541+
`A role's name can be only contain alphanumeric characters, _, -, and spaces.`
542+
)
543+
);
544+
});
536545
});

integration/test/ParseFileTest.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ describe('Parse.File', () => {
6666

6767
it('can get file data from base64', async () => {
6868
const file = new Parse.File('parse-server-logo', { base64: 'ParseA==' });
69+
await file.save();
6970
let data = await file.getData();
7071
assert.equal(data, 'ParseA==');
7172
file._data = null;
@@ -79,6 +80,7 @@ describe('Parse.File', () => {
7980
const file = new Parse.File('parse-server-logo', {
8081
base64: 'data:image/jpeg;base64,ParseA==',
8182
});
83+
await file.save();
8284
let data = await file.getData();
8385
assert.equal(data, 'ParseA==');
8486
file._data = null;

0 commit comments

Comments
 (0)