Skip to content

Commit 27f4bbe

Browse files
lforstadinauer
authored andcommitted
Add discontinuation of AngularJS 1.x (#5123)
1 parent 4c854c2 commit 27f4bbe

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/platforms/javascript/guides/angular/angular1.mdx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,22 @@ redirect_from:
77

88
If you're using `AngularJS 1.x`, you can use Sentry's AngularJS integration.
99

10+
<Alert level="warning" title="Discontinued support for AngularJS 1.x">
11+
12+
From version 7 onwards, the Sentry JavaScript SDK will not support AngularJS 1.x. Please use version 6.x of the SDK if you want to use Sentry in combination with AngularJs 1.x.
13+
14+
</Alert>
15+
1016
### Install
1117

1218
Install `@sentry/browser` and `@sentry/integrations` using `yarn` or `npm`:
1319

1420
```bash
1521
# Using yarn
16-
yarn add @sentry/browser @sentry/integrations
22+
yarn add @sentry/browser@6 @sentry/integrations@6
1723

1824
# Using npm
19-
npm install --save @sentry/browser @sentry/integrations
25+
npm install --save @sentry/browser@6 @sentry/integrations@6
2026
```
2127

2228
and afterwards using it like this:
@@ -41,14 +47,14 @@ If you're using the CDN version of the SDK, Sentry provides a standalone file fo
4147

4248
```html
4349
<script
44-
src="https://browser.sentry-cdn.com/{{ packages.version('sentry.javascript.browser') }}/bundle.min.js"
45-
integrity="sha384-{{ packages.checksum('sentry.javascript.browser', 'bundle.min.js', 'sha384-base64') }}"
50+
src="https://browser.sentry-cdn.com/6.19.7/bundle.min.js"
51+
integrity="sha384-KXjn4K+AYjp1cparCXazrB+5HKdi69IUYz8glD3ySH3fnDgMX3Wg6VTMvXUGr4KB"
4652
crossorigin="anonymous"
4753
></script>
4854

4955
<!-- If you include the integration it will be available under Sentry.Integrations.Angular -->
5056
<script
51-
src="https://browser.sentry-cdn.com/{{ packages.version('sentry.javascript.browser') }}/angular.min.js"
57+
src="https://browser.sentry-cdn.com/6.19.7/angular.min.js"
5258
crossorigin="anonymous"
5359
></script>
5460

0 commit comments

Comments
 (0)