Skip to content

Commit b9c38b0

Browse files
committed
feat: drop support for Angular 7, following #103
1 parent 6dd2120 commit b9c38b0

File tree

6 files changed

+17
-34
lines changed

6 files changed

+17
-34
lines changed

.circleci/config.yml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs: # a collection of steps
3636
- run: # run tests
3737
name: test
3838
command: npm test && npm run test:ivy
39-
ng7ts31:
39+
ng80:
4040
docker: # run the steps with Docker
4141
- image: circleci/node:10-browsers # ...with this image as the primary container; this is where all `steps` will run
4242
steps: # a collection of executable commands
@@ -49,24 +49,7 @@ jobs: # a collection of steps
4949
command: npm install
5050
- run:
5151
name: downgrade
52-
command: npm run ci:ng7ts31
53-
- run: # run tests
54-
name: test
55-
command: npm test
56-
ng7ts32:
57-
docker: # run the steps with Docker
58-
- image: circleci/node:10-browsers # ...with this image as the primary container; this is where all `steps` will run
59-
steps: # a collection of executable commands
60-
- checkout
61-
- restore_cache: # special step to restore the dependency cache
62-
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/
63-
key: dependency-cache-{{ checksum "package-lock.json" }}
64-
- run:
65-
name: install-npm-wee
66-
command: npm install
67-
- run:
68-
name: downgrade
69-
command: npm run ci:ng7ts32
52+
command: npm run ci:ng80
7053
- run: # run tests
7154
name: test
7255
command: npm test
@@ -76,5 +59,4 @@ workflows:
7659
jobs:
7760
- lint
7861
- test
79-
- ng7ts31
80-
- ng7ts32
62+
- ng80

CHANGELOG.md

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

33
This lib is fully documented and so you'll find detailed [migration guides](./MIGRATION.md).
44

5-
## 8.0.0-beta.11 (2019-05-10)
5+
## 8.0.0-beta.12 (2019-05-13)
66

77
**A [full migration guide to version 8](./docs/MIGRATION_TO_V8.md) is available.**
88

9-
v8 works with:
10-
- Angular 8 and TypeScript 3.4,
11-
- Angular 7 and TypeScript 3.1 or 3.2 and RxJS >= 6.4
9+
### Angular 8
10+
11+
v8 requires Angular 8.
1212

1313
### Feature: new `StorageMap` service
1414

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ to be homogeneous with other Angular modules.
4545
Install the right version according to your Angular one via [`npm`](http://npmjs.com):
4646

4747
```bash
48-
# For Angular 7 & 8 and RxJS >= 6.4:
48+
# For Angular 8:
4949
npm install @ngx-pwa/local-storage@next
5050

51-
# For Angular 6:
51+
# For Angular 6 & 7:
5252
npm install @ngx-pwa/local-storage@6
5353
```
5454

@@ -104,7 +104,7 @@ export class YourService {
104104
}
105105
```
106106

107-
New since version 8 of this lib, this service API follows the
107+
New *since version 8* of this lib, this service API follows the
108108
[native `Map` API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map),
109109
except it's asynchronous via [RxJS `Observable`s](http://reactivex.io/rxjs/).
110110

docs/MIGRATION_TO_V7.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ Unfortunately, unforeseen issues happened, some very bad as they were beyond our
1212

1313
Version 8 achieves the goal we tried in v7 the right way. Everything has been cleaned and things are a lot easier for you.
1414

15-
Then, **v7 is deprecated**: for Angular 7 & 8, **upgrade directly to v8 and go to the [v8 migration guide](./MIGRATION_TO_V8.md)**.
15+
Then, **v7 is deprecated**. For Angular 7, it is recommended to:
16+
- stay on v6 of the lib,
17+
- or upgrade to Angular 8 and use v8 of the lib (see the [v8 migration guide](./MIGRATION_TO_V8.md).
1618

1719
## Previous migrations
1820

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
"test:ivy": "ng e2e ivy",
1414
"lint": "ng lint",
1515
"publish": "npm run lint && npm test && npm run build && npm publish dist/ngx-pwa/local-storage --access public --tag next",
16-
17-
"ci:ng7ts32": "npm install [email protected] [email protected] @angular/common@7 @angular/compiler@7 @angular/core@7 @angular/platform-browser@7 @angular/platform-browser-dynamic@7 @angular/router@7 @angular/cli@7 @angular/compiler-cli@7 @angular-devkit/[email protected] @angular-devkit/[email protected]"
16+
"ci:ng80": "npm install [email protected] [email protected] [email protected] @angular/common@next @angular/compiler@next @angular/core@next @angular/platform-browser@next @angular/platform-browser-dynamic@next @angular/router@next @angular/cli@next @angular/compiler-cli@next @angular-devkit/build-angular@next @angular-devkit/build-ng-packagr@next"
1817
},
1918
"private": true,
2019
"dependencies": {

projects/ngx-pwa/local-storage/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngx-pwa/local-storage",
3-
"version": "8.0.0-beta.11",
3+
"version": "8.0.0-beta.12",
44
"description": "Efficient local storage module for Angular apps and PWA: simple API based on native localStorage API, but internally stored via the asynchronous IndexedDB API for performance, and wrapped in RxJS observables to be homogeneous with other Angular modules.",
55
"author": "Cyrille Tuzi",
66
"license": "MIT",
@@ -27,8 +27,8 @@
2727
"url": "https://github.com/cyrilletuzi/angular-async-local-storage/issues"
2828
},
2929
"peerDependencies": {
30-
"@angular/common": "^7.0.0 || ^8.0.0-beta || ^8.0.0-rc || ^8.0.0",
31-
"@angular/core": "^7.0.0 || ^8.0.0-beta || ^8.0.0-rc || ^8.0.0",
30+
"@angular/common": "^8.0.0-beta || ^8.0.0-rc || ^8.0.0",
31+
"@angular/core": "^8.0.0-beta || ^8.0.0-rc || ^8.0.0",
3232
"rxjs": "^6.4.0"
3333
}
3434
}

0 commit comments

Comments
 (0)