Releases: getsentry/sentry-java
4.0.0-alpha.3
What’s Changed
- Feat: Add maxAttachmentSize to SentryOptions (#1138)
- Feat: Drop invalid attachments (#1134)
- Ref: Make Attachment immutable (#1120)
- Fix inheriting sampling decision from parent (#1100)
- Fixes and Tests: Session serialization and deserialization
- Ref: using Calendar to generate Dates
- Fix: Exception only sets a stack trace if there are frames
- Feat: set isSideLoaded info tags
- Enhancement: Read tracesSampleRate from AndroidManifest
- Fix: Initialize Logback after context refreshes (#1129)
- Ref: Return NoOpTransaction instead of null (#1126)
- Fix: Do not crash when passing null values to @nullable methods, eg User and Scope
- Ref:
ITransport
implementations are now responsible for executing request in asynchronous or synchronous way (#1118) - Ref: Add option to set
TransportFactory
instead ofITransport
onSentryOptions
(#1124) - Ref: Simplify ITransport creation in ITransportFactory (#1135)
- Feat: Add non blocking Apache HttpClient 5 based Transport (#1136)
- Enhancement: Autoconfigure Apache HttpClient 5 based Transport in Spring Boot integration (#1143)
- Enhancement: Send user.ip_address = {{auto}} when sendDefaultPii is true (#1015)
- Fix: Resolving dashed properties from external configuration
- Feat: Read
uncaught.handler.enabled
property from the external configuration - Feat: Resolve servername from the localhost address
- Fix: Consider {{ auto }} as a default ip address (#1015)
- Fix: Set release and environment on Transactions (#1152)
- Fix: Do not set transaction on the scope automatically
- Enhancement: Automatically assign span context to captured events (#1156)
- Feat: OutboxSender supports all envelope item types #1158
- Enhancement: Improve ITransaction and ISpan null-safety compatibility (#1161)
Packages were released on bintray sentry-java
, bintray sentry-android
, jcenter
and mavenCentral
We'd love to get feedback.
4.0.0-alpha.2
- Feat: Add basic support for attachments (#1082)
- Fix: Remove method reference in SentryEnvelopeItem (#1091)
- Enhancement: Set transaction name on events and transactions sent using Spring integration (#1067)
- Fix: Set current thread only if there are no exceptions
- Enhancement: Set global tags on SentryOptions and load them from external configuration (#1066)
- Ref: Refactor resolving SpanContext for Throwable (#1068)
- Enhancement: Add API validator and remove deprecated methods
- Enhancement: Add more convenient method to start a child span (#1073)
- Enhancement: Autoconfigure traces callback in Spring Boot integration (#1074)
- Enhancement: Resolve in-app-includes and in-app-excludes parameters from the external configuration
- Enhancement: Make InAppIncludesResolver public (#1084)
- Ref: Change "op" to "operation" in @SentrySpan and @SentryTransaction
- Fix: SentryOptions creates GsonSerializer by default
- Enhancement: Add the ability to register multiple OptionsConfiguration beans (#1093)
- Fix: Append DebugImage list if event already has it
- Fix: Sort breadcrumbs by Date if there are breadcrumbs already in the event
Packages were released on bintray sentry-java
, bintray sentry-android
, jcenter
and mavenCentral
We'd love to get feedback.
4.0.0-alpha.1
What’s Changed
- Enhancement: Load sentry.properties from the application's current working directory (#1046) @maciejwalkowiak
- Ref: Refactor JSON deserialization (#1047) @maciejwalkowiak
- Feat: Performance monitoring (#971) @maciejwalkowiak
- Feat: Performance monitoring for Spring Boot applications (#971) @maciejwalkowiak
Packages were released on bintray sentry-java
, bintray sentry-android
, jcenter
and mavenCentral
We'd love to get feedback.
3.2.0
What’s Changed
- Bump: AGP 4.1.1 (#1040)
- Fix: use neutral Locale for String operations #1033
- Update to sentry-native 0.4.4 and fix shared library builds (#1039)
- Feat: Expose a Module (Debug images) Loader for Android thru sentry-native #1043
- Enhancement: Added java doc to protocol classes based on sentry-data-schemes project (#1045)
- Enhancement: Make SentryExceptionResolver Order configurable to not send handled web exceptions (#1008)
- Enhancement: Resolve HTTP Proxy parameters from the external configuration (#1028)
- Enhancement: Sentry NDK integration is compiled against the default NDK version based on AGP's version #1048
- Fix: Clean up JNI code and properly free strings #1050
- Fix: set userId for hard-crashes if no user is set #1049
Packages were released on bintray sentry-java
, bintray sentry-android
, jcenter
and mavenCentral
We'd love to get feedback.
3.1.3
What’s Changed
- Normalize DSN URI. (#1032) @maciejwalkowiak
- Do not exclude stack trace elements from samples. (#1031) @maciejwalkowiak
- Max queue items to 30 (#1029) @bruno-garcia
- Fix broken NDK integration on 3.1.2 (release failed on packaging a .so file)
Packages were released on bintray sentry-java
, bintray sentry-android
, jcenter
and mavenCentral
We'd love to get feedback.
3.1.2
What’s Changed
- feat: Manually capturing User Feedback (#1017) @philipphofmann
- fix #1012 - Make public the Breadcrumb constructor that accepts a Date (#1014) @ctweney
- Set environment to "production" by default. (#1006) @maciejwalkowiak
Attention: if you use the Android NDK Integration, please use v3.1.3 or higher
Packages were released on bintray sentry-java
, bintray sentry-android
, jcenter
and mavenCentral
We'd love to get feedback.
3.1.1
What’s Changed
- Prevent Logback and Log4j2 integrations from re-initializing Sentry when Sentry is already initialized (#994) @maciejwalkowiak
- Bind logging related SentryProperties to Slf4j Level (#987) @maciejwalkowiak
- Fix SentryUserProvider execution order (#986) @maciejwalkowiak
- fix: setting up Sentry in Spring Webflux annotation (#982) @maciejwalkowiak
Packages were released on bintray sentry-java
, bintray sentry-android
, jcenter
and mavenCentral
We'd love to get feedback.
3.1.0
What’s Changed
- fix: Android 11 + targetSdkVersion 30 crashes Sentry on start (#977) @marandaneto
- fix: remove chunked streaming mode (#974) @marandaneto
- Enhancement: accepted quoted values in properties from external configuration (#972) @maciejwalkowiak
- Enhancement: make getThrowable public and improve set contexts (#967) @marandaneto
- Auto-configure inAppIncludes in Spring Boot integration. (#966) @maciejwalkowiak
- fix: Don't require
sentry.dsn
to be set when usingio.sentry:sentry-spring-boot-starter
andio.sentry:sentry-logback
together #965 @buckett
Packages were released on bintray sentry-java
, bintray sentry-android
, jcenter
and mavenCentral
We'd love to get feedback.
3.0.0
Java + Android
This release marks the re-unification of Java and Android SDK code bases.
It's based on the Android 2.0 SDK, which implements Sentry's unified API.
Considerable changes were done, which include a lot of improvements. More are covered below, but the highlights are:
- Improved
log4j2
integration- Capture breadcrumbs for level INFO and higher
- Raises event for ERROR and higher.
- Minimum levels are configurable.
- Optionally initializes the SDK via appender.xml
- Dropped support to
log4j
. - Improved
logback
integration- Capture breadcrumbs for level INFO and higher
- Raises event for ERROR and higher.
- Minimum levels are configurable.
- Optionally initializes the SDK via appender.xml
- Configurable via Spring integration if both are enabled
- Spring
- No more duplicate events with Spring and logback
- Auto initalizes if DSN is available
- Configuration options available with auto complete
- Google App Engine support dropped
Note for Sentry On Premise users
This version uses the envelope endpoint. If you are using an on-premise installation it requires Sentry version >= v20.6.0 to work. If you are using sentry.io nothing will change and no action is needed.
What’s Changed
- Callback to validate SSL certificate (#944)
- Attach stack traces enabled by default
- Multiple samples in the
sentry-samples
directory
Android specific
- Release health enabled by default for Android
- Sync of Scopes for Java -> Native (NDK)
- Bump Sentry-Native v0.4.2
- Android 11 Support
Java specific
- Unified API for Java SDK and integrations (Spring, Spring boot starter, Servlet, Logback, Log4j2)
- Gson serialization. The previous major version (1.7.31) used Jackson for serialization.
New Java docs are live and being improved.
Acquisition
Packages were released on bintray sentry-java
, bintray sentry-android
, jcenter
and mavenCentral
Where is the Java 1.7 code base?
The previous Java releases, are all available in this repository through the tagged releases.
3.0.0-beta.1
What’s Changed
- feat: ssl support (#944) @ninekaw9 @marandaneto
- feat: sync Java to C (#937) @bruno-garcia @marandaneto
- feat: Auto-configure Logback appender in Spring Boot integration. (#938) @maciejwalkowiak
- feat: Add Servlet integration. (#935) @maciejwalkowiak
- fix: Pop scope at the end of the request in Spring integration. (#936) @maciejwalkowiak
- bump: Upgrade Spring Boot to 2.3.4. (#932) @maciejwalkowiak
- fix: Do not set cookies when send pii is set to false. (#931) @maciejwalkowiak
Packages were released on bintray sentry-java
, bintray sentry-android
, jcenter
and mavenCentral
We'd love to get feedback.