Skip to content

Commit 0e20af9

Browse files
committed
Merge branch 'master' into pr/1091
2 parents 7f0e8f5 + 7106bdb commit 0e20af9

File tree

201 files changed

+4688
-6326
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+4688
-6326
lines changed

.codecov.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
coverage:
22
precision: 2
33
round: down
4-
range: "45...100"
4+
range: "65...100"
55

66
status:
7-
project:
7+
project:
88
default:
9-
target: 45%
9+
target: 65%
1010
patch: yes
1111
changes: no
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
name: "\U0001F41B Report an issue"
3+
about: A feature is not working as expected.
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
### New Issue Checklist
11+
<!--
12+
Please check all of the following boxes [x] before submitting your issue.
13+
Click the "Preview" tab for better readability.
14+
Thanks for contributing to the Parse Android SDK!
15+
-->
16+
17+
- [ ] I am not disclosing a [vulnerability](https://github.com/parse-community/Parse-SDK-Android/security/policy).
18+
- [ ] I am not just asking a [question](https://github.com/parse-community/.github/blob/main/SUPPORT.md).
19+
- [ ] I have searched through [existing issues](https://github.com/parse-community/Parse-SDK-Android/issues?q=is%3Aissue).
20+
- [ ] I can reproduce the issue with the [latest version of the Parse Android SDK](https://github.com/parse-community/Parse-SDK-Android/releases). <!-- We don't investigate issues for outdated releases. -->
21+
- [ ] I can reproduce the issue with the [latest version of Parse Server](https://github.com/parse-community/parse-server/releases).
22+
23+
### Issue Description
24+
<!-- What is the specific issue? -->
25+
26+
### Steps to reproduce
27+
<!-- How can someone else reproduce the issue? -->
28+
29+
### Actual Outcome
30+
<!-- What outcome, for example query result, did you get? -->
31+
32+
### Expected Outcome
33+
<!-- What outcome, for example query result, did you expect? -->
34+
35+
### Failing Test Case / Pull Request
36+
<!--
37+
Check one of the following boxes [x] if you added a PR and add the link.
38+
See the contribution guide for guidance, if you get stuck please do ask for help:
39+
https://github.com/parse-community/Parse-SDK-Android/blob/master/CONTRIBUTING.md
40+
-->
41+
42+
- [ ] 🤩 I submitted a PR with a fix and a test case.
43+
- [ ] 🧐 I submitted a PR with a failing test case.
44+
45+
### Environment
46+
<!-- Be specific with versions, don't use "latest" or semver ranges like "~x.y.z" or "^x.y.z". -->
47+
48+
Parse Android SDK
49+
- SDK version: `FILL_THIS_OUT`
50+
- Operating system version: `FILL_THIS_OUT`
51+
52+
Server
53+
- Parse Server version: `FILL_THIS_OUT`
54+
- Operating system: `FILL_THIS_OUT`
55+
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): `FILL_THIS_OUT`
56+
57+
Database
58+
- System (MongoDB or Postgres): `FILL_THIS_OUT`
59+
- Database version: `FILL_THIS_OUT`
60+
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): `FILL_THIS_OUT`
61+
62+
### Logs
63+
<!-- Include relevant logs here. -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: "\U0001F4A1 Request a feature"
3+
about: Suggest new functionality or an enhancement of existing functionality.
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
### New Feature / Enhancement Checklist
11+
<!--
12+
Check all of the following boxes [x] before submitting your issue.
13+
Click the "Preview" tab for better readability.
14+
Thanks for contributing to the Parse Android SDK!
15+
-->
16+
17+
- [ ] I am not disclosing a [vulnerability](https://github.com/parse-community/Parse-SDK-Android/security/policy).
18+
- [ ] I am not just asking a [question](https://github.com/parse-community/.github/blob/main/SUPPORT.md).
19+
- [ ] I have searched through [existing issues](https://github.com/parse-community/Parse-SDK-Android/issues?q=is%3Aissue).
20+
21+
### Current Limitation
22+
<!-- Which current limitation is the feature or enhancement addressing? -->
23+
24+
### Feature / Enhancement Description
25+
<!-- What is the concept of the functionality and how should it be implemented? -->
26+
27+
### Example Use Case
28+
<!-- What is an example use case in steps (1. / 2. / 3. / etc.) that describes the functionality? -->
29+
30+
### Alternatives / Workarounds
31+
<!-- Which alternatives or workarounds exist currently? -->
32+
33+
### 3rd Party References
34+
<!-- Have you seen a similar functionality provided somewhere else? -->

.github/ISSUE_TEMPLATE/config.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 🙋🏽‍♀️ Getting help with code
4+
url: https://stackoverflow.com/questions/tagged/parse-platform
5+
about: Get help with code-level questions on Stack Overflow.
6+
- name: 🙋 Getting general help
7+
url: https://community.parseplatform.org
8+
about: Get help with other questions on our Community Forum.

.github/workflows/ci.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
2+
3+
name: ci
4+
on:
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
branches:
10+
- '**'
11+
jobs:
12+
check-changelog:
13+
name: Changelog
14+
timeout-minutes: 5
15+
runs-on: ubuntu-18.04
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: dangoslen/changelog-enforcer@v2
19+
check-build:
20+
name: Gradle Build
21+
timeout-minutes: 5
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Set up JDK 11
26+
uses: actions/setup-java@v2
27+
with:
28+
java-version: '11'
29+
distribution: 'adopt'
30+
- name: Validate Gradle wrapper
31+
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
32+
- run: pip install --user codecov
33+
- run: mkdir "$ANDROID_HOME/licenses" || true
34+
- run: echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" >> "$ANDROID_HOME/licenses/android-sdk-license"
35+
- run: ./gradlew clean jacocoTestReport
36+
- run: codecov

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,5 @@ docs/
3939
# Jacoco
4040
jacoco.exec
4141

42+
# VSC
43+
.project

.travis.yml

-26
This file was deleted.

CHANGELOG.md

+56-30
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,59 @@
1-
## Changelog
2-
3-
### master
4-
> __BREAKING CHANGES__
5-
>
6-
> - Removed the `gcm` module since GCM is no longer supported by Google (#1091)
7-
8-
### 1.26.0
9-
- fix TypeCastException when unlinking google account (#1076)
10-
- feature: KTX property delegation custom labels (#1066)
11-
- feature: Coroutine Task Wrapper (#1064)
12-
- Rename functions that cause shadow members (#1054)
13-
14-
### 1.25.0
1+
# Changelog
2+
3+
# master
4+
5+
### BREAKING CHANGES
6+
- Remove `gcm` module since GCM is no longer supported by Google (John Carlson) [#1091](https://github.com/parse-community/Parse-SDK-Android/pull/1091)
7+
8+
# 2.0.0-alpha.1
9+
10+
### BREAKING CHANGES
11+
- Required minimum SDK version is 16
12+
13+
### Feature
14+
- Update all dependencies and modernize the source base (Asen Lekov) [#1095](https://github.com/parse-community/Parse-SDK-Android/pull/1095)
15+
- Upgrade Facebook Login SDK to 8.2.0 (Somye Mahajan) [#1105](https://github.com/parse-community/Parse-SDK-Android/pull/1105)
16+
17+
### Internal Changes
18+
- SDK targets the latest Android version API 30
19+
- Update the codebase to advantage of Java 8 syntax
20+
- Update Kotlin and Coroutines version to `1.5.31`
21+
- Update project from Android Studio `3.6` to `4.2`
22+
- Update Gradle version from `5.6.4` to `6.8.3`
23+
- Update Robolectric from `3.8` to `4.6` and adjust all tests
24+
- Update Play services
25+
- Google Play services auth from `18.0.0` to `19.2.0`
26+
- Google Cloud Messaging from `12.0.1` to `17.0.0`
27+
- Firebase Messaging from `20.1.5` to `22.0.0`
28+
- Update jacoco and fixed reporting of test coverage
29+
- Migrate deprecated dependency repository from `jcenter()` to `mavenCentral()`
30+
31+
### CI
32+
- Migrate from Travis CI to GitHub Actions (Asen Lekov) [#1095](https://github.com/parse-community/Parse-SDK-Android/pull/1095)
33+
34+
# 1.26.0
35+
- fix TypeCastException when unlinking google account [#1076](https://github.com/parse-community/Parse-SDK-Android/pull/1076)
36+
- feature: KTX property delegation custom labels [#1066](https://github.com/parse-community/Parse-SDK-Android/pull/1066)
37+
- feature: Coroutine Task Wrapper [#1064](https://github.com/parse-community/Parse-SDK-Android/pull/1064)
38+
- Rename functions that cause shadow members [#1054](https://github.com/parse-community/Parse-SDK-Android/pull/1054)
39+
40+
# 1.25.0
1541
> __BREAKING CHANGES__
1642
>
1743
> - FIX: Corrected the `Installation` property `appVersion` to be the build version instead of the version name. This aligns the property with its equivalent in the Parse iOS SDK. See [#902](https://github.com/parse-community/Parse-SDK-Android/issues/902) for details. Thanks to [Manuel Trezza](https://github.com/mtrezza).
1844
- Added RxJava module to transform `Task`s into RxJava types.
1945

20-
### 1.24.2
46+
# 1.24.2
2147
- FIX: Fixed naming collission bug due to integration of bolts-tasks module. See [#1028](https://github.com/parse-community/Parse-SDK-Android/issues/1028) for details. Thanks to [Manuel Trezza](https://github.com/mtrezza)
2248

23-
### 1.24.1
49+
# 1.24.1
2450
> __WARNING__
2551
>
2652
> Avoid using this release as it contains a [naming collission bug](https://github.com/parse-community/Parse-SDK-Android/issues/1028) that has been introduced in release `1.24.0` and fixed in release `1.24.2`. The bug causes the project compliation to fail due to duplicate class names for the `bolts-tasks` module when using the Facebook Android SDK or the Parse Android SDK Facebook module.
2753
2854
- Resolves issue around missing bolts-tasks dependency thanks to @rogerhu (#1025)
2955

30-
### 1.24.0
56+
# 1.24.0
3157
> __WARNING__
3258
>
3359
> Avoid using this release as it contains a [naming collission bug](https://github.com/parse-community/Parse-SDK-Android/issues/1028) that has been introduced in release `1.24.0` and fixed in release `1.24.2`. The bug causes the project compliation to fail due to duplicate class names for the `bolts-tasks` module when using the Facebook Android SDK or the Parse Android SDK Facebook module.
@@ -37,55 +63,55 @@
3763
- Set to unknown name if version name is null (#1014) thanks to @Jawnnypoo
3864
- Fix signup method name (#1017) thanks to @Jawnnypoo
3965

40-
### 1.23.1
66+
# 1.23.1
4167
- Correction to OkHttp version thanks to @mtrezza
4268

43-
### 1.23.0
69+
# 1.23.0
4470
- Add Google login/signup support
4571
- Move Facebook and Twitter libraries to be modules within this library
4672
- Update Facebook login to use AndroidX
4773
- Add ability to update the server without having to reinitialize the client thanks to @mtrezza
4874

49-
### 1.22.1
75+
# 1.22.1
5076
Re-releasing since Jitpack failed. Same as 1.22.0
5177

52-
### 1.22.0
78+
# 1.22.0
5379
- Expose client destroy
5480
- Enhancement to ParseQuery kt operations
5581

56-
### 1.21.0
82+
# 1.21.0
5783
- Add coroutines support module
5884
- Fix bug in save user in batch
5985

60-
### 1.20.0
86+
# 1.20.0
6187
- Fix fetchAllIfNeeded and fetchAllIfNeededInBackground limit #939
6288
- Expose useful constants #930
6389
- ParseQuery extensions #929
6490
- Change to non-deprecated methods for FCM #927. If you are using FCM and updating to 1.20.0, be sure to take a look at the FCM README for the updated steps on usage.
6591

66-
### 1.19.0
92+
# 1.19.0
6793
- SDK now uses AndroidX and API 28
6894
- Kotlin Delegates
6995
- Fix StackOverflowError when merging ParseObject from JSON #896
7096

71-
### 1.18.5
97+
# 1.18.5
7298
- Fix for issue #886
7399

74-
### 1.18.4
100+
# 1.18.4
75101
- Fix issue with returning { "result": null } in cloud function (deserialized as JSONObject instead of null)
76102
- Remove deprecated methods in ParseAnalytics and ParsePush
77103
- Add findAll() method to ParseQuery which iterates and finds all ParseObjects for a query (no limit)
78104

79-
### 1.18.3
105+
# 1.18.3
80106
- Add ktx module and dependency, which adds some Kotlin extensions for easier Parse SDK usage.
81107

82-
### 1.18.2
108+
# 1.18.2
83109
- More things made public for LiveQuery support
84110

85-
### 1.18.1
111+
# 1.18.1
86112
- Make things public for LiveQuery support
87113

88-
### 1.18.0
114+
# 1.18.0
89115
- Annotate ParseObject with nullability thanks to @kurtisnelson and @Jawnnypoo
90116
- Remove deprecated refresh() method from ParseObject
91117
- Partial string match thanks to @rogerhu

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# Parse SDK for Android
22

3-
[![License](https://img.shields.io/badge/license-BSD-lightgrey.svg)](https://github.com/parse-community/Parse-SDK-Android/blob/master/LICENSE)
4-
[![Build Status](https://travis-ci.org/parse-community/Parse-SDK-Android.svg?branch=master)](https://travis-ci.org/parse-community/Parse-SDK-Android)
3+
[![Build Status](https://github.com/parse-community/Parse-SDK-Android/workflows/ci/badge.svg?branch=master)](https://github.com/parse-community/Parse-SDK-Android/actions?query=workflow%3Aci+branch%3Amaster)
54
[![](https://jitpack.io/v/parse-community/Parse-SDK-Android.svg)](https://jitpack.io/#parse-community/Parse-SDK-Android)
5+
[![codecov](https://codecov.io/gh/parse-community/Parse-SDK-Android/branch/master/graph/badge.svg)](https://codecov.io/gh/parse-community/Parse-SDK-Android)
66
[![Backers on Open Collective](https://opencollective.com/parse-server/backers/badge.svg)][open-collective-link]
77
[![Sponsors on Open Collective](https://opencollective.com/parse-server/sponsors/badge.svg)][open-collective-link]
8+
[![License](https://img.shields.io/badge/license-BSD-lightgrey.svg)](https://github.com/parse-community/Parse-SDK-Android/blob/master/LICENSE)
89
[![Twitter Follow](https://img.shields.io/twitter/follow/ParsePlatform.svg?label=Follow%20us%20on%20Twitter&style=social)](https://twitter.com/intent/follow?screen_name=ParsePlatform)
910

10-
A library that gives you access to the powerful Parse cloud platform from your Android app.
11+
A library that gives you access to the powerful Parse Server backend from your Android app.
1112
For more information about Parse and its features, see [the website](https://parseplatform.org/), [getting started][guide], and [blog](https://blog.parseplatform.org/).
1213

1314
## Dependency

0 commit comments

Comments
 (0)