diff --git a/CHANGELOG.md b/CHANGELOG.md index 77f525b..686b33f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,20 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [v2.0.0](https://github.com/Celtian/ngx-repeat/compare/v1.1.0...v2.0.0) + +- feat/angular 17 [`#9`](https://github.com/Celtian/ngx-repeat/pull/9) +- feat(standalone): make everything standalone [`cfd4e9a`](https://github.com/Celtian/ngx-repeat/commit/cfd4e9aa1a6c6c82553bcdecc67d483654ea5857) +- chore(deps): deps updated [`424a930`](https://github.com/Celtian/ngx-repeat/commit/424a930663322086fc740858a9863fc18367840d) +- chore(readme): readme changed [`7fb0832`](https://github.com/Celtian/ngx-repeat/commit/7fb08327ffcffca3622f782f3b50fc3fee0f8deb) + #### [v1.1.0](https://github.com/Celtian/ngx-repeat/compare/v1.0.5...v1.1.0) +> 14 August 2023 + - Angular 16 [`#8`](https://github.com/Celtian/ngx-repeat/pull/8) - chore(deps): deps updated [`514ae75`](https://github.com/Celtian/ngx-repeat/commit/514ae758bf81a02d0ea3bc9ffe05da38bc4b51cb) +- chore(update): release 1.1.0 🚀 [`63c321e`](https://github.com/Celtian/ngx-repeat/commit/63c321e04563723f279c5b9139603453d782118d) - chore(tslint): comment replaced [`300e7c7`](https://github.com/Celtian/ngx-repeat/commit/300e7c7ee2feb482db76374951ac7a72fda33f78) #### [v1.0.5](https://github.com/Celtian/ngx-repeat/compare/v1.0.4...v1.0.5) diff --git a/package.json b/package.json index 46230a8..12d0f5b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ngx-repeat", - "version": "1.1.0", + "version": "2.0.0", "author": { "name": "Dominik Hladík", "email": "dominik.hladik@seznam.cz", diff --git a/projects/ngx-repeat/README.md b/projects/ngx-repeat/README.md index 8d4219e..f1d33f7 100644 --- a/projects/ngx-repeat/README.md +++ b/projects/ngx-repeat/README.md @@ -14,7 +14,7 @@ > Angular directive for repeating HTML element by count -> ✓ _Angular 16, Ivy and SSR compatible_ +> ✓ _Angular 17 compatible_ Here's the [demo](http://celtian.github.io/ngx-repeat/) or [stackblitz live preview](https://stackblitz.com/edit/ngx-repeat) or [codesandbox live preview](https://codesandbox.io/s/ngx-repeat-bew8f) @@ -30,29 +30,29 @@ Here's the [demo](http://celtian.github.io/ngx-repeat/) or [stackblitz live prev yarn add ngx-repeat ``` -2. Add NgxRepeatModule into your module `imports` +2. Add NgxRepeatDirective into your component` ```typescript -import { NgxRepeatModule } from 'ngx-repeat'; +import { NgxRepeatDirective } from 'ngx-repeat'; -@NgModule({ - // ... - imports: [ +@Component({ + standalone: true, + imports: [NgxRepeatDirective /*, ...*/], // ... - NgxRepeatModule - ] }) ``` -or +or module ```typescript -import { NgxRepeatModule } from 'ngx-repeat'; +import { NgxRepeatDirective } from 'ngx-repeat'; -@Component({ - standalone: true, - imports: [NgxRepeatModule /*, ...*/], +@NgModule({ + // ... + imports: [ // ... + NgxRepeatDirective + ] }) ``` @@ -60,7 +60,8 @@ import { NgxRepeatModule } from 'ngx-repeat'; | Angular | ngx-repeat | Install | | --------- | ---------- | ----------------------- | -| >= 12 | 1.x | `yarn add ngx-repeat` | +| >= 14 | 2.x | `yarn add ngx-repeat ` | +| >= 12 | 1.x | `yarn add ngx-repeat@1` | | >= 5 < 13 | 0.x | `yarn add ngx-repeat@0` | ## Quick start diff --git a/projects/ngx-repeat/package.json b/projects/ngx-repeat/package.json index fea6006..b932719 100644 --- a/projects/ngx-repeat/package.json +++ b/projects/ngx-repeat/package.json @@ -1,6 +1,6 @@ { "name": "ngx-repeat", - "version": "1.1.0", + "version": "2.0.0", "author": { "name": "Dominik Hladík", "email": "dominik.hladik@seznam.cz",