Skip to content

Commit ca542e9

Browse files
Version history updates and formatting
1 parent 1e32405 commit ca542e9

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

README.md

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,24 @@ ZendSentry is released under the New BSD License.
66

77
The current version of ZendSentry for ZF3 is `3.2.0`. It supports Zend Framework >= 3.0. For other versions see tags in the 1.* series as well as 2.* series.
88

9-
#Latest Changes
10-
- possibility to add extra context to the log event
11-
- Switch Raven dependency to new official sentry/sentry repository
12-
- Fix problem introduced by ZF BC break in ZF version 2.5.3 and branch of legacy branch
13-
14-
#Important Changes
9+
# Important Changes
10+
- 3.2.0: Upgrade dependencies to `sentry/sentry` 1.7.0 and `ravenjs` 3.17.0
1511
- 3.0.1: ViewHelper fix
1612
- 3.0.0: First ZF2 release with latest sentry SDK dependencies and ZF3 compatibility fixes
17-
- 2.2.1: Update to `sentry/sentry` 1.5.0 and `ravenjs` 3.8.0, Fix: Only detach HttpExceptionStrategy if it exists
18-
- 2.2.0: Update to `sentry/sentry` 0.21.2
13+
- 2.2.1: Fix: Only detach HttpExceptionStrategy if it exists
1914
- 2.0.0: New major version for ZF >=2.5.3
2015
- 1.5.2: Configurable error messages
2116
- 1.4.0: Raven configuration can now be overwritten through ZendSentry configuration if needed
2217
- 1.2.0: supports tags, every logging action returns the Sentry event_id, Raven is registered as Service
2318
- 0.3.1: dedicated CLI ExceptionStrategy (credits to Mateusz Mirosławski)
2419

25-
#Introduction
20+
# Introduction
2621

27-
##What's Sentry?
22+
## What's Sentry?
2823
[Sentry](https://www.getsentry.com/welcome/) is an online service to which you can log anything including your
2924
exceptions and errors. Sentry creates nice reports in real time and aggregates your logged data for you.
3025

31-
##What's ZendSentry
26+
## What's ZendSentry
3227
It is a module that builds the bridge between your Zend Framework 2 application and the Sentry service. It's extremely
3328
easy to setup and does a lot of things out-of-the-box.
3429

@@ -43,7 +38,7 @@ Current features:
4338
* Raven is registered as a Service
4439
* override Raven config defaults
4540

46-
#Installation
41+
# Installation
4742

4843
This module is available on [Packagist](https://packagist.org/packages/cloud-solutions/zend-sentry).
4944
In your project's `composer.json` use:
@@ -69,7 +64,7 @@ is registered as both error and exception handler, [try it](#try-it) by triggeri
6964
exceptions. You should instantly see them in your Sentry dashboard. ZendSentry also packages its own ExceptionStrategies
7065
to make sure, exceptions ZF would otherwise intercept, are logged.
7166

72-
#Manual Usage
67+
# Manual Usage
7368
Additonally, the module registers a log event listener on application level. So you can trigger custom log events from
7469
anywhere in your application.
7570

@@ -106,7 +101,7 @@ exceptions manually by using the respective listener directly:
106101
$eventID = $result->last();
107102
}
108103

109-
#Using Tags
104+
# Using Tags
110105

111106
You can also pass your own tags to Sentry. The service will automatically create filtering and sorting for these tags.
112107
When using the `log` event, you can optionally pass tags like this:
@@ -130,7 +125,7 @@ If using the `logException` event manually, you can also pass along tags:
130125

131126
See how to use tags for automagically logged exceptions below.
132127

133-
#Raven as Service
128+
# Raven as Service
134129

135130
The module registers the Raven_Client as an application wide service. Usually you don't want to access it directly
136131
because triggering the event listeners leaves you with cleaner code. One example where the direct usage of Raven can
@@ -154,7 +149,7 @@ You might want to do something like this e.g. in your `AbstractActionController:
154149
);
155150
}
156151

157-
#Configuration options
152+
# Configuration options
158153

159154
Just for the record, a copy of the actual global configuration options:
160155

@@ -225,7 +220,7 @@ Just for the record, a copy of the actual global configuration options:
225220
*/
226221
'raven-config' => array(),
227222

228-
#Try it
223+
# Try it
229224
A few ideas how to try the different features from a Controller or View:
230225

231226
// Test logging of PHP errors

0 commit comments

Comments
 (0)