Skip to content

Commit

Permalink
release(9.0.0): Angular 19 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Ahsan Ayaz committed Dec 8, 2024
1 parent a9f1eac commit e889613
Show file tree
Hide file tree
Showing 20 changed files with 389 additions and 390 deletions.
16 changes: 16 additions & 0 deletions CHANGE_LOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## 9.0.0 (2024-12-08)

* chore(angular): add ssr ([a9f1eac](https://github.com/AhsanAyaz/ngx-device-detector/commit/a9f1eac))
* chore(angular): update to v19 ([483af46](https://github.com/AhsanAyaz/ngx-device-detector/commit/483af46))
* chore(logo): update logo svg ([ffe9768](https://github.com/AhsanAyaz/ngx-device-detector/commit/ffe9768))



## 9.0.0 (2024-12-08)

* chore(angular): add ssr ([a9f1eac](https://github.com/AhsanAyaz/ngx-device-detector/commit/a9f1eac))
* chore(angular): update to v19 ([483af46](https://github.com/AhsanAyaz/ngx-device-detector/commit/483af46))
* chore(logo): update logo svg ([ffe9768](https://github.com/AhsanAyaz/ngx-device-detector/commit/ffe9768))



## 8.0.0 (2024-06-12)

* revert(package.json): revert the package version in favor of automation ([904817b](https://github.com/AhsanAyaz/ngx-device-detector/commit/904817b))
Expand Down
1 change: 1 addition & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Latest version available for each version of Angular
| 6.x.x | 16.x |
| 7.x.x | 17.x |
| 8.x.x | 18.x |
| 9.x.x | 19.x |

## Installation

Expand Down
53 changes: 35 additions & 18 deletions docs/components/AppComponent.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,20 @@ <h3>Metadata</h3>
<td class="col-md-9"><code>app-root</code></td>
</tr>

<tr>
<td class="col-md-3">standalone</td>
<td class="col-md-9"><code>true</code></td>
</tr>

<tr>
<td class="col-md-3">imports</td>
<td class="col-md-9">
<code>NgClass</code>
<code>NgIf</code>
<code>NgFor</code>
<code>KeysPipe</code>
</td>
</tr>

<tr>
<td class="col-md-3">styleUrls</td>
Expand Down Expand Up @@ -266,7 +279,7 @@ <h3 id="constructor">Constructor</h3>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="14" class="link-to-prism">projects/demo/src/app/app.component.ts:14</a></div>
<div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">projects/demo/src/app/app.component.ts:18</a></div>
</td>
</tr>

Expand Down Expand Up @@ -333,8 +346,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="40"
class="link-to-prism">projects/demo/src/app/app.component.ts:40</a></div>
<div class="io-line">Defined in <a href="" data-line="44"
class="link-to-prism">projects/demo/src/app/app.component.ts:44</a></div>
</td>
</tr>

Expand Down Expand Up @@ -400,8 +413,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="24"
class="link-to-prism">projects/demo/src/app/app.component.ts:24</a></div>
<div class="io-line">Defined in <a href="" data-line="28"
class="link-to-prism">projects/demo/src/app/app.component.ts:28</a></div>
</td>
</tr>

Expand Down Expand Up @@ -437,8 +450,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="45"
class="link-to-prism">projects/demo/src/app/app.component.ts:45</a></div>
<div class="io-line">Defined in <a href="" data-line="49"
class="link-to-prism">projects/demo/src/app/app.component.ts:49</a></div>
</td>
</tr>

Expand Down Expand Up @@ -484,7 +497,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="11" class="link-to-prism">projects/demo/src/app/app.component.ts:11</a></div>
<div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">projects/demo/src/app/app.component.ts:15</a></div>
</td>
</tr>

Expand Down Expand Up @@ -515,7 +528,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="10" class="link-to-prism">projects/demo/src/app/app.component.ts:10</a></div>
<div class="io-line">Defined in <a href="" data-line="14" class="link-to-prism">projects/demo/src/app/app.component.ts:14</a></div>
</td>
</tr>

Expand All @@ -535,7 +548,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="14" class="link-to-prism">projects/demo/src/app/app.component.ts:14</a></div>
<div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">projects/demo/src/app/app.component.ts:18</a></div>
</td>
</tr>

Expand Down Expand Up @@ -566,7 +579,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="13" class="link-to-prism">projects/demo/src/app/app.component.ts:13</a></div>
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">projects/demo/src/app/app.component.ts:17</a></div>
</td>
</tr>

Expand All @@ -591,7 +604,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="12" class="link-to-prism">projects/demo/src/app/app.component.ts:12</a></div>
<div class="io-line">Defined in <a href="" data-line="16" class="link-to-prism">projects/demo/src/app/app.component.ts:16</a></div>
</td>
</tr>

Expand Down Expand Up @@ -620,7 +633,7 @@ <h3 id="accessors">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">projects/demo/src/app/app.component.ts:28</a></div>
<div class="io-line">Defined in <a href="" data-line="32" class="link-to-prism">projects/demo/src/app/app.component.ts:32</a></div>
</td>
</tr>

Expand All @@ -642,7 +655,7 @@ <h3 id="accessors">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="32" class="link-to-prism">projects/demo/src/app/app.component.ts:32</a></div>
<div class="io-line">Defined in <a href="" data-line="36" class="link-to-prism">projects/demo/src/app/app.component.ts:36</a></div>
</td>
</tr>

Expand All @@ -664,7 +677,7 @@ <h3 id="accessors">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="36" class="link-to-prism">projects/demo/src/app/app.component.ts:36</a></div>
<div class="io-line">Defined in <a href="" data-line="40" class="link-to-prism">projects/demo/src/app/app.component.ts:40</a></div>
</td>
</tr>

Expand All @@ -677,11 +690,15 @@ <h3 id="accessors">
<div class="tab-pane fade tab-source-code" id="source">
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Component, VERSION } from &#x27;@angular/core&#x27;;
import { DeviceDetectorService } from &#x27;ngx-device-detector&#x27;;
import { NgClass, NgIf, NgFor } from &#x27;@angular/common&#x27;;
import { KeysPipe } from &#x27;./pipes/keys.pipe&#x27;;

@Component({
selector: &#x27;app-root&#x27;,
templateUrl: &#x27;./app.component.html&#x27;,
styleUrls: [&#x27;./app.component.scss&#x27;],
selector: &#x27;app-root&#x27;,
templateUrl: &#x27;./app.component.html&#x27;,
styleUrls: [&#x27;./app.component.scss&#x27;],
imports: [NgClass, NgIf, NgFor, KeysPipe],
standalone: true
})
export class AppComponent {
propsToShow &#x3D; [&#x27;userAgent&#x27;, &#x27;os&#x27;, &#x27;browser&#x27;, &#x27;device&#x27;, &#x27;os_version&#x27;, &#x27;browser_version&#x27;, &#x27;deviceType&#x27;, &#x27;orientation&#x27;];
Expand Down
104 changes: 82 additions & 22 deletions docs/coverage.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,22 +158,22 @@
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#__non_webpack_require__">projects/demo/server.ts</a>
<a href="./components/AppComponent.html">projects/demo/src/app/app.component.ts</a>
</td>
<td>variable</td>
<td>__non_webpack_require__</td>
<td>component</td>
<td>AppComponent</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
<span class="coverage-count">(0/10)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#mainModule">projects/demo/server.ts</a>
<a href="./miscellaneous/variables.html#config">projects/demo/src/app/app.config.server.ts</a>
</td>
<td>variable</td>
<td>mainModule</td>
<td>config</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
Expand All @@ -182,10 +182,10 @@
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#moduleFilename">projects/demo/server.ts</a>
<a href="./miscellaneous/variables.html#serverConfig">projects/demo/src/app/app.config.server.ts</a>
</td>
<td>variable</td>
<td>moduleFilename</td>
<td>serverConfig</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
Expand All @@ -194,13 +194,13 @@
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./components/AppComponent.html">projects/demo/src/app/app.component.ts</a>
<a href="./miscellaneous/variables.html#appConfig">projects/demo/src/app/app.config.ts</a>
</td>
<td>component</td>
<td>AppComponent</td>
<td>variable</td>
<td>appConfig</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/10)</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="low">
Expand All @@ -218,22 +218,22 @@
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./injectables/UniversalDeviceDetectorService.html">projects/demo/src/app/server.ts</a>
<a href="./miscellaneous/variables.html#REQUEST">projects/demo/src/express.tokens.ts</a>
</td>
<td>injectable</td>
<td>UniversalDeviceDetectorService</td>
<td align="right" data-sort="23">
<span class="coverage-percent">23 %</span>
<span class="coverage-count">(4/17)</span>
<td>variable</td>
<td>REQUEST</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#REQUEST">projects/demo/src/express.tokens.ts</a>
<a href="./miscellaneous/variables.html#RESPONSE">projects/demo/src/express.tokens.ts</a>
</td>
<td>variable</td>
<td>REQUEST</td>
<td>RESPONSE</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
Expand All @@ -242,10 +242,70 @@
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#RESPONSE">projects/demo/src/express.tokens.ts</a>
<a href="./miscellaneous/variables.html#bootstrap">projects/demo/src/main.server.ts</a>
</td>
<td>variable</td>
<td>RESPONSE</td>
<td>bootstrap</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#app">projects/demo/src/server.ts</a>
</td>
<td>variable</td>
<td>app</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#browserDistFolder">projects/demo/src/server.ts</a>
</td>
<td>variable</td>
<td>browserDistFolder</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#commonEngine">projects/demo/src/server.ts</a>
</td>
<td>variable</td>
<td>commonEngine</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#indexHtml">projects/demo/src/server.ts</a>
</td>
<td>variable</td>
<td>indexHtml</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#serverDistFolder">projects/demo/src/server.ts</a>
</td>
<td>variable</td>
<td>serverDistFolder</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
Expand Down
26 changes: 13 additions & 13 deletions docs/dependencies.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,37 +102,37 @@
</ol>
<ul class="dependencies-list">
<li>
<b>@angular/animations</b> : ~18.0.2</li>
<b>@angular/animations</b> : ~19.0.3</li>
<li>
<b>@angular/common</b> : ~18.0.2</li>
<b>@angular/common</b> : ~19.0.3</li>
<li>
<b>@angular/compiler</b> : ~18.0.2</li>
<b>@angular/compiler</b> : ~19.0.3</li>
<li>
<b>@angular/core</b> : ~18.0.2</li>
<b>@angular/core</b> : ~19.0.3</li>
<li>
<b>@angular/forms</b> : ~18.0.2</li>
<b>@angular/forms</b> : ~19.0.3</li>
<li>
<b>@angular/platform-browser</b> : ~18.0.2</li>
<b>@angular/platform-browser</b> : ~19.0.3</li>
<li>
<b>@angular/platform-browser-dynamic</b> : ~18.0.2</li>
<b>@angular/platform-browser-dynamic</b> : ~19.0.3</li>
<li>
<b>@angular/platform-server</b> : ~18.0.2</li>
<b>@angular/platform-server</b> : ~19.0.3</li>
<li>
<b>@angular/router</b> : ~18.0.2</li>
<b>@angular/router</b> : ~19.0.3</li>
<li>
<b>@angular/ssr</b> : ^18.0.3</li>
<b>@angular/ssr</b> : ^19.0.4</li>
<li>
<b>conventional-changelog-cli</b> : ~5.0.0</li>
<li>
<b>express</b> : ~4.19.2</li>
<b>express</b> : ^4.18.2</li>
<li>
<b>ngx-device-detector</b> : ^7.0.0</li>
<b>ngx-device-detector</b> : ^8.0.0</li>
<li>
<b>rxjs</b> : ~7.8.1</li>
<li>
<b>tslib</b> : ~2.6.3</li>
<li>
<b>zone.js</b> : ~0.14.7</li>
<b>zone.js</b> : ~0.15.0</li>
</ul>


Expand Down
Loading

0 comments on commit e889613

Please sign in to comment.