Skip to content

Commit 227ccad

Browse files
chore: Release 4.1.0 and upgrading release process (#147)
* update changelog and bump version in gradle.properties * update .gitignore * keep releasing folder (empty) * wip gradle maven-publish upgrade * releasing docs updated * cleanup changelog * comment out release script
1 parent eeef23e commit 227ccad

File tree

6 files changed

+222
-103
lines changed

6 files changed

+222
-103
lines changed

.idea/AndroidProjectSystem.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 164 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,96 +1,197 @@
11
## Changelog
22

3-
- v4.1.0-alpha2:
3+
### v4.1.0
4+
5+
- feat: RUM support for Fragments (#131) (2025-01-17)
6+
- feat: Migrating from IntentService to WorkManager (#133) (2025-01-16)
7+
- feat: new public method to allow sending simple strings (#122) (2024-10-14)
8+
- Quick fix for #94. (2024-09-06)
9+
- chore(deps): bump com.android.tools.build:gradle from 8.7.3 to 8.8.2 (#146) (2025-03-05)
10+
- chore(deps): bump org.jetbrains.kotlin.android from 1.8.22 to 2.1.10 (#144) (2025-03-05)
11+
- chore(deps): bump com.diffplug.spotless from 6.25.0 to 7.0.2 (#143) (2025-03-05)
12+
- chore(deps): bump androidx.activity:activity from 1.10.0 to 1.10.1 (#145) (2025-03-02)
13+
- chore(deps): bump androidx.constraintlayout:constraintlayout (#142) (2025-03-02)
14+
- chore(deps): bump androidx.work:work-runtime from 2.9.1 to 2.10.0 (#138) (2025-02-02)
15+
- chore(deps): bump androidx.activity:activity from 1.8.0 to 1.10.0 (#139) (2025-02-02)
16+
- chore(deps): bump com.google.code.gson:gson from 2.11.0 to 2.12.1 (#141) (2025-02-02)
17+
- chore(deps): bump org.jetbrains.kotlin:kotlin-gradle-plugin (#137) (2025-02-02)
18+
- chore(deps): bump mockito from 3.11.2 to 5.2.0 (#126) (2025-01-31)
19+
- chore(deps): bump org.jetbrains.kotlin:kotlin-gradle-plugin (#128) (2025-01-31)
20+
- chore: Code formatting in provider sourcecode (#130) (2024-12-12)
21+
- chore: Project upgrades to run on Android Studio 2024.2.1 Patch 3 (#129) (2024-12-12)
22+
- chore(deps): bump androidx.constraintlayout:constraintlayout (#124) (2024-12-12)
23+
- chore(deps): bump androidx.core:core from 1.13.1 to 1.15.0 (#123) (2024-12-12)
24+
- OKHttp to 4.12.0 (#121) (2024-10-14)
25+
- chore: Collection of dependabot changes (#120) (2024-10-10)
26+
- chore: Testing infrastructure (#119) (2024-10-10)
27+
- chore(deps): bump androidx.test.espresso:espresso-core (#108) (2024-09-06)
28+
- chore(deps): bump androidx.appcompat:appcompat from 1.6.1 to 1.7.0 (#111) (2024-09-06)
29+
- chore(deps): bumps Spotless to 6.25.0 and associated fixes. (2024-09-06)
30+
- chore(deps): bump com.squareup.leakcanary:leakcanary-android (#110) (2024-09-05)
31+
- chore(deps): bump com.google.code.gson:gson from 2.8.9 to 2.11.0 (#112) (2024-09-05)
32+
- Ran spotless checks from root for the first time and it found more to correct. (2024-09-05)
33+
- Changed build management for resources after investigating the new Gradle settings. (2024-09-05)
34+
- Merge pull request #107 from MindscapeHQ/feature/#102-dependencies (2024-09-05)
35+
- Formatting result (2024-09-03)
36+
- Tweaking formatting rules (2024-09-03)
37+
- Dependabot integration using the Gradle version library setup. (2024-09-03)
38+
- Merge pull request #106 from MindscapeHQ/feature/#100-templates (2024-09-03)
39+
- Transition to using a Gradle library version management file and re-wiring, so that we can use dependabot and generate BOMs etc. (2024-09-02)
40+
- Merge pull request #105 from MindscapeHQ/feature/#103-linting-formatting (2024-09-02)
41+
- Added issue and PR templates. (2024-08-31)
42+
- Spotless run to cleanup and normalize formatting. (2024-08-31)
43+
- Added Spotless for code project-wide code-formatting. (2024-08-31)
44+
- Merge pull request #99 from MindscapeHQ/feature/#98-feedbackonbuttons (2024-08-31)
45+
- Added some screenshots of the sample app and mentioned in documentation. (2024-08-30)
46+
- Changing the way 2nd activity is called so that a snackbar can be shown on return properly. (2024-08-30)
47+
- Enabling multi-dexing for the sample app. (2024-08-30)
48+
- Added some UI Snackbars as action indicators. (2024-02-21)
49+
- Added material to sample app for Snackbar component (2024-02-21)
50+
- Fixed wrong tool context (2024-02-21)
51+
- ci: Add connected test to GH CI (#136) (2025-01-31)
52+
- ci: #90 add CI workflow (#132) (2025-01-14)
53+
54+
### v4.1.0-alpha2
55+
456
- Gradle 8, AGP 8.1.1
557
- Fix: Sample app displayed wrong provider version
658
- Internal: Introduced gitflow process
759

8-
- v4.1.0-alpha1:
9-
- Upgrade repo and all dependencies to SDK 34, Android X (#83) and others.
10-
- Documented Timber linting behaviour and solution (#69).
11-
- Upgraded all builds to Gradle 7.x to work correctly with Android Studio Giraffe (2022.3.1)
60+
### v4.1.0-alpha1
61+
62+
- Upgrade repo and all dependencies to SDK 34, Android X (#83) and others.
63+
- Documented Timber linting behaviour and solution (#69).
64+
- Upgraded all builds to Gradle 7.x to work correctly with Android Studio Giraffe (2022.3.1)
65+
66+
### v4.0.2-beta1
67+
68+
- Added additional RaygunClient.init() entry point to make usage from within cross-platform libraries more accessible (#72)
69+
- Debug build of the sample app now includes LeakCanary
70+
71+
### v4.0.1
72+
73+
- Fixes for an issue with breadcrumb processing (#64) and improved general parsing of the stack trace
74+
- Fixes inability to use CrashReporingOnBeforeSend interface due to wrong visibility (#63)
75+
- Safeguard against slightly obscure "out of files" scenario that can cause File.listFiles() to return null (#62)
76+
- General improvements to the sample app:
77+
- Refactoring of sample app into its own namespace
78+
- Samples for breadcrumb handling
79+
- Samples for intercepting the crash reporting data
80+
81+
### v4.0.0
82+
83+
- Minor internal changes to memory handling
84+
- Linting cleanup
85+
86+
### v4.0.0-beta3
87+
88+
- API changes for setting and working with custom data: the field userCustomData is now being referred to as customData. This is reflected in API method changes.
89+
- Documentation for both Raygun4Android Gradle tasks
90+
- Added Timber 4.7.1 dependency for debug/prod logging
91+
92+
### v4.0.0-beta2
93+
94+
This is a major release and has a variety of breaking changes, depending on your use cases. This is an overview of the most important and visible changes:
95+
96+
- The Maven groupID for loading RG4A has changed to com.raygun.
97+
- The build process now uses Gradle, the Maven build process has been removed without replacement.
98+
- Project setup optimised for Android Studio 3.1+:
99+
- app module build sample app
100+
- provider module is an Android Library project and creates .aar artifacts
101+
- Various improvements to sample app
102+
- The background services are now a JobIntentService to better deal with background limitations in Android 8+. This will behave as a Service on Android 7 and earlier devices.
103+
- Sending POST data to the Raygun backend has been refactored to using Okhttp3. RG4A therefore has a new implementation dependency on this library.
104+
- Build requirements have been updated to compileSDK 28 and minSDK 16+.
105+
- There is a new convenience constructor on RaygunUserInfo to create a user object that only has an identifier.
106+
- All deprecated functionality from 3.x has been removed.
107+
- Custom endpoints are supported now.
108+
- You can change the default of 64 reports being stored to a lower value now.
109+
- General API cleanup and changes to Pulse -> all renamed RUM now
110+
- Removed uuid field from RaygunUserInfo
111+
- You have to enable individual products now before being able to use them.
112+
- Changes to RUM and Pulse APIs
113+
- The post() functions in RaygunClient have been removed.
114+
115+
### v3.0.6
116+
117+
- Fixed null reference exception when building crash report messages. We now send messages using a JobIntentService to improve compatibility with the latest Android versions. IMPORTANT: Support for API versions 9 to 15 has been discontinued from this release due to that.
118+
119+
### v3.0.5
120+
121+
- Fixing timing issue from ConnectivityManager in RaygunPostService (#41), adding null checks around intent extras being null that should never be null (XRAY-1898)
122+
123+
### v3.0.4
124+
125+
- Fixing NPE in RaygunPostService (#34, PR #37); RaygunErrorMessage can now accept any Throwable (PR #33); Pulse now checks for connectivity (PR #38)
126+
127+
### v3.0.3
128+
129+
- Bug fix: removing println from code (PR #36)
130+
131+
### v3.0.2
132+
133+
- Allowing all properties of the RaygunMessageDetails to be modifiable during the onBeforeSend callback.
134+
135+
### v3.0.1
136+
137+
- Update sample app in repository to remove usage of deprecated methods on RaygunClient
138+
139+
### v3.0.0
140+
141+
- Add support for Pulse for Mobile (automatic network call tracking etc)
142+
143+
### v2.1.1
12144

13-
- v4.0.2-beta1:
14-
- Added additional RaygunClient.init() entry point to make usage from within cross-platform libraries more accessible (#72)
15-
- Debug build of the sample app now includes LeakCanary
145+
- Added MY_PACKAGE_REPLACED intent receiver and guard against spurious null Context seen on some devices when checking net connection
16146

17-
- v4.0.1:
18-
- Fixes for an issue with breadcrumb processing (#64) and improved general parsing of the stack trace
19-
- Fixes inability to use CrashReporingOnBeforeSend interface due to wrong visibility (#63)
20-
- Safeguard against slightly obscure "out of files" scenario that can cause File.listFiles() to return null (#62)
21-
- General improvements to the sample app:
22-
- Refactoring of sample app into its own namespace
23-
- Samples for breadcrumb handling
24-
- Samples for intercepting the crash reporting data
147+
### v2.1.0
25148

26-
- v4.0.0:
27-
- Minor internal changes to memory handling
28-
- Linting cleanup
149+
- Add OnBeforeSend implementation; expose setGroupingKey
29150

30-
- v4.0.0-beta3:
31-
- API changes for setting and working with custom data: the field userCustomData is now being referred to as customData. This is reflected in API method changes.
32-
- Documentation for both Raygun4Android Gradle tasks
33-
- Added Timber 4.7.1 dependency for debug/prod logging
151+
### v2.0.0
34152

35-
- v4.0.0-beta2: This is a major release and has a variety of breaking changes, depending on your use cases. This is an overview of the most important and visible changes:
153+
- Replace deprecated Apache HTTP library with HttpUrlConnection; change packaging format to AAR for Android Studio/Gradle compatibility
36154

37-
- The Maven groupID for loading RG4A has changed to com.raygun.
38-
- The build process now uses Gradle, the Maven build process has been removed without replacement.
39-
- Project setup optimised for Android Studio 3.1+:
40-
- app module build sample app
41-
- provider module is an Android Library project and creates .aar artifacts
42-
- Various improvements to sample app
43-
- The background services are now a JobIntentService to better deal with background limitations in Android 8+. This will behave as a Service on Android 7 and earlier devices.
44-
- Sending POST data to the Raygun backend has been refactored to using Okhttp3. RG4A therefore has a new implementation dependency on this library.
45-
- Build requirements have been updated to compileSDK 28 and minSDK 16+.
46-
- There is a new convenience constructor on RaygunUserInfo to create a user object that only has an identifier.
47-
- All deprecated functionality from 3.x has been removed.
48-
- Custom endpoints are supported now.
49-
- You can change the default of 64 reports being stored to a lower value now.
50-
- General API cleanup and changes to Pulse -> all renamed RUM now
51-
- Removed uuid field from RaygunUserInfo
52-
- You have to enable individual products now before being able to use them.
53-
- Changes to RUM and Pulse APIs
54-
- The post() functions in RaygunClient have been removed.
155+
### v1.3.0
55156

56-
- v3.0.6: Fixed null reference exception when building crash report messages. We now send messages using a JobIntentService to improve compatibility with the latest Android versions. IMPORTANT: Support for API versions 9 to 15 has been discontinued from this release due to that.
157+
- Provide device network connectivity state under Request section; aAdded RaygunClient.SetTags() and SetUserCustomData() to provide objects that will be attached to all exceptions
57158

58-
- v3.0.5: Fixing timing issue from ConnectivityManager in RaygunPostService (#41), adding null checks around intent extras being null that should never be null (XRAY-1898)
159+
### v1.2.1
59160

60-
- v3.0.4: Fixing NPE in RaygunPostService (#34, PR #37); RaygunErrorMessage can now accept any Throwable (PR #33); Pulse now checks for connectivity (PR #38)
161+
- Fix: only distinct device IPs are transmitted
61162

62-
- v3.0.3: Bug fix: removing println from code (PR #36)
163+
### v1.2.0
63164

64-
- v3.0.2: Allowing all properties of the RaygunMessageDetails to be modifiable during the onBeforeSend callback.
165+
- Added device IP data (shown in the 'Request' tab in the Raygun dashboard)
65166

66-
- v3.0.1: Update sample app in repository to remove usage of deprecated methods on RaygunClient
167+
### v1.1.0
67168

68-
- v3.0.0: Add support for Pulse for Mobile (automatic network call tracking etc)
169+
- Add new user info properties, bump Gson to 2.2.4
69170

70-
- v2.1.1: Added MY_PACKAGE_REPLACED intent receiver and guard against spurious null Context seen on some devices when checking net connection
171+
### v1.0.5
71172

72-
- v2.1.0: Add OnBeforeSend implementation; expose setGroupingKey
173+
- Guard against a spurious NullPointerException caused by the posting service
73174

74-
- v2.0.0: Replace deprecated Apache HTTP library with HttpUrlConnection; change packaging format to AAR for Android Studio/Gradle compatibility
175+
### v1.0.4
75176

76-
- v1.3.0: Provide device network connectivity state under Request section; aAdded RaygunClient.SetTags() and SetUserCustomData() to provide objects that will be attached to all exceptions
177+
- JSON payload now encoded in UTF-8, fixes issues with post-ASCII chars (e.g Cyrillic) were displayed as '?' in Raygun dashboard
77178

78-
- v1.2.1: Fix: only distinct device IPs are transmitted
179+
### v1.0.3
79180

80-
- v1.2.0: Added device IP data (shown in the 'Request' tab in the Raygun dashboard)
181+
- Improved version tracking support
81182

82-
- v1.1.0: Add new user info properties, bump Gson to 2.2.4
183+
### v1.0.2
83184

84-
- v1.0.5: Guard against a spurious NullPointerException caused by the posting service
185+
- Added SetUser method for unique user tracking/customers.
85186

86-
- v1.0.4: JSON payload now encoded in UTF-8, fixes issues with post-ASCII chars (e.g Cyrillic) were displayed as '?' in Raygun dashboard
187+
### v1.0.1
87188

88-
- v1.0.3: Improved version tracking support
189+
- Added caching of messages to disk when network unavailable & post them when it becomes available again; several bug fixes relating to the posting service. This version is recommended; do not use 1.0.0.
89190

90-
- v1.0.2: Added SetUser method for unique user tracking/customers.
191+
### v1.0.0
91192

92-
- v1.0.1: Added caching of messages to disk when network unavailable & post them when it becomes available again; several bug fixes relating to the posting service. This version is recommended; do not use 1.0.0.
193+
- Completed initial version with background service for performing posting, API key read from AndroidManifest and more.
93194

94-
- v1.0.0: Completed initial version with background service for performing posting, API key read from AndroidManifest and more.
195+
### v0.0.1
95196

96-
- v0.0.1: Initial release with basic functionality.
197+
- Initial release with basic functionality.

RELEASING.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
Official development or production releases of Raygun4Android are usually done by the Raygun team. This file documents the setup needed to do snapshot and production releases.
44

5-
The release process uses a modified version of Chris Banes' library for pushing to Maven with Gradle: https://github.com/chrisbanes/gradle-mvn-push. Please check out Chris' documentation before reading further.
5+
The release process is implemented in the Gradle file `provider/gradle-mv-push.gradle` which uses the `maven-publish` plugin.
6+
7+
Plugin documentation can be found here: https://docs.gradle.org/current/userguide/publishing_maven.html
68

79
## Preparation
810

@@ -110,7 +112,7 @@ Here you can manually upload artifacts.
110112
1. Build the provider for release and upload it to Nexus by running the following command in the terminal:
111113

112114
````
113-
./gradlew clean :provider:build :provider:uploadArchives
115+
./gradlew clean :provider:build :provider:publish
114116
````
115117
116118
2. Login to the [Nexus Repository Manager](https://oss.sonatype.org) and go to the **Staging Repositories**.

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ org.gradle.jvmargs=-Xmx1536m
2323
# 5.3.3-beta2-SNAPSHOT
2424
#
2525
# Adding -SNAPSHOT to VERSION_NAME triggers publishing to a snapshot server at Maven Central.
26-
VERSION_NAME=4.1-SNAPSHOT
26+
VERSION_NAME=4.1.0
2727

2828
# Use a numeric value for VERSION_CODE
2929
#
@@ -42,7 +42,7 @@ VERSION_NAME=4.1-SNAPSHOT
4242
# 4.1.0-alpha2 -> 40100032
4343
# 5.2.3 -> 50203000
4444
# 5.3.3-beta2 -> 50303072
45-
VERSION_CODE=40100032
45+
VERSION_CODE=40100099
4646

4747
GROUP=com.raygun
4848

0 commit comments

Comments
 (0)