Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support angular 17 #32

Merged
merged 13 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
projects/odata-v4-ng-app/src/environments/environment.prod.ts
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ Thumbs.db
.scannerwork/
.ng_pkg_build/
run-sonar-scanner.sh

# Ignore angular cache
.nx/cache
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
# Changelog
## [17.0.0](https://github.com/riccardomariani/odata-v4-ng/compare/v14.0.0...v15.0.1) (2024-05-10)
Update to support Angular 17
- Enabled Vite + ESBuild for faster builds
- Breaking change: HttpClientModule no longer injected automatically, in the location where you import the ODataMdoule you also need to specify the HttpClientModule now. This solves issue #8 by allowing you to specify HTTPInjectors. It is recommended to import ODataModule in the root application module.
- Project is now built using standalone project setup
- Peer dependency update: no longer using `angular2-uuid` package but using `uuid` package instead.

This version was tested with NodeJS 18.20.2 and NPM 10.6.0

## [16.0.1](https://github.com/riccardomariani/odata-v4-ng/compare/v14.0.0...v15.0.1) (2024-05-10)
Update to support Angular 16
This version was tested with NodeJS 18.20.2 and NPM 10.6.0
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ See [here](https://github.com/ebenefits/odata-v4-ng/blob/master/CHANGELOG.md).
| 14.x.x | 14.x.x |
| 15.x.x | 15.x.x |
| 16.x.x | 16.x.x |
| 17.x.x | 17.x.x |
24 changes: 12 additions & 12 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@
"prefix": "ov4",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/odata-v4-ng-app",
"outputPath": {
"base": "dist/odata-v4-ng-app"
},
"index": "projects/odata-v4-ng-app/src/index.html",
"main": "projects/odata-v4-ng-app/src/main.ts",
"polyfills": "projects/odata-v4-ng-app/src/polyfills.ts",
"polyfills": [
"projects/odata-v4-ng-app/src/polyfills.ts"
],
"tsConfig": "projects/odata-v4-ng-app/tsconfig.app.json",
"assets": [
"projects/odata-v4-ng-app/src/favicon.ico",
Expand All @@ -39,12 +42,11 @@
"projects/odata-v4-ng-app/src/styles.less"
],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
"namedChunks": true,
"browser": "projects/odata-v4-ng-app/src/main.ts"
},
"configurations": {
"production": {
Expand All @@ -59,8 +61,6 @@
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"baseHref": "/odata-v4-ng/",
"budgets": [
{
Expand All @@ -81,18 +81,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "odata-v4-ng-app:build"
"buildTarget": "odata-v4-ng-app:build"
},
"configurations": {
"production": {
"browserTarget": "odata-v4-ng-app:build:production"
"buildTarget": "odata-v4-ng-app:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "odata-v4-ng-app:build"
"buildTarget": "odata-v4-ng-app:build"
}
},
"test": {
Expand Down
165 changes: 93 additions & 72 deletions docs/3rdpartylicenses.txt
Original file line number Diff line number Diff line change
@@ -1,76 +1,13 @@
@angular/common
MIT

@angular/core
MIT
--------------------------------------------------------------------------------
Package: @angular/core
License: "MIT"

@angular/forms
MIT

@angular/platform-browser
MIT
--------------------------------------------------------------------------------
Package: rxjs
License: "Apache-2.0"

@angular/router
MIT

@ebenefitsbv/odata-v4-ng
MIT

angular2-uuid
MIT
The MIT License (MIT)

Copyright (c) 2016 Wulf Solter

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


primeicons
MIT
MIT License

Copyright (c) 2018-2021 PrimeTek

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


primeng
MIT

rxjs
Apache-2.0
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down Expand Up @@ -274,12 +211,68 @@ Apache-2.0
limitations under the License.


--------------------------------------------------------------------------------
Package: tslib
License: "0BSD"

Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
--------------------------------------------------------------------------------
Package: @angular/common
License: "MIT"


--------------------------------------------------------------------------------
Package: @angular/platform-browser
License: "MIT"


--------------------------------------------------------------------------------
Package: @angular/router
License: "MIT"


--------------------------------------------------------------------------------
Package: uuid
License: "MIT"

The MIT License (MIT)

Copyright (c) 2010-2020 Robert Kieffer and other contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

--------------------------------------------------------------------------------
Package: @angular/forms
License: "MIT"


--------------------------------------------------------------------------------
Package: primeng
License: "MIT"


--------------------------------------------------------------------------------
Package: zone.js
License: "MIT"

zone.js
MIT
The MIT License

Copyright (c) 2010-2023 Google LLC. https://angular.io/license
Copyright (c) 2010-2024 Google LLC. https://angular.io/license

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -298,3 +291,31 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

--------------------------------------------------------------------------------
Package: primeicons
License: "MIT"

MIT License

Copyright (c) 2018-2021 PrimeTek

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

--------------------------------------------------------------------------------
File renamed without changes.
14 changes: 14 additions & 0 deletions docs/browser/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="en" data-critters-container>
<head>
<meta charset="utf-8">
<title>odata-v4-ng</title>
<base href="/odata-v4-ng/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<style>@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--surface-a: #ffffff;--surface-b: #f4f4f4;--surface-c: #eaeaea;--surface-d: #c8c8c8;--surface-e: #ffffff;--surface-f: #ffffff;--text-color: #333333;--text-color-secondary: #848484;--primary-color: #007ad9;--primary-color-text: #ffffff;--surface-0: #ffffff;--surface-50: #eef1f2;--surface-100: #dde2e4;--surface-200: #bbc5ca;--surface-300: #98a8af;--surface-400: #768b95;--surface-500: #546e7a;--surface-600: #435862;--surface-700: #324249;--surface-800: #222c31;--surface-900: #111618;--gray-50: #eef1f2;--gray-100: #dde2e4;--gray-200: #bbc5ca;--gray-300: #98a8af;--gray-400: #768b95;--gray-500: #546e7a;--gray-600: #435862;--gray-700: #324249;--gray-800: #222c31;--gray-900: #111618;--content-padding: .571rem 1rem;--inline-spacing: .5rem;--border-radius: 3px;--surface-ground: #f4f4f4;--surface-section: #ffffff;--surface-card: #ffffff;--surface-overlay: #ffffff;--surface-border: #c8c8c8;--surface-hover: #eaeaea;--maskbg: rgba(0, 0, 0, .4);--highlight-bg: #007ad9;--highlight-text-color: #ffffff;--focus-ring: 0 0 0 .2rem #8dcdff;color-scheme:light}:root{--blue-50:#f3f8fc;--blue-100:#c6dcef;--blue-200:#98c1e3;--blue-300:#6ba5d7;--blue-400:#3d8aca;--blue-500:#106ebe;--blue-600:#0e5ea2;--blue-700:#0b4d85;--blue-800:#093d69;--blue-900:#062c4c;--green-50:#f7fbf6;--green-100:#d6ead1;--green-200:#b6d9ad;--green-300:#96c889;--green-400:#76b765;--green-500:#56a641;--green-600:#498d37;--green-700:#3c742e;--green-800:#2f5b24;--green-900:#22421a;--yellow-50:#fffcf5;--yellow-100:#fdefcd;--yellow-200:#fbe3a6;--yellow-300:#f9d67f;--yellow-400:#f8ca57;--yellow-500:#f6bd30;--yellow-600:#d1a129;--yellow-700:#ac8422;--yellow-800:#87681a;--yellow-900:#624c13;--cyan-50:#f4fbfd;--cyan-100:#ccebf5;--cyan-200:#a4dbed;--cyan-300:#7ccce5;--cyan-400:#54bcdd;--cyan-500:#2cacd5;--cyan-600:#2592b5;--cyan-700:#1f7895;--cyan-800:#185f75;--cyan-900:#124555;--pink-50:#fdf4f9;--pink-100:#f6cce0;--pink-200:#eea3c7;--pink-300:#e77aae;--pink-400:#df5296;--pink-500:#d8297d;--pink-600:#b8236a;--pink-700:#971d58;--pink-800:#771745;--pink-900:#561032;--indigo-50:#f4f6fd;--indigo-100:#ccd3f5;--indigo-200:#a4b0ed;--indigo-300:#7c8de5;--indigo-400:#546add;--indigo-500:#2c47d5;--indigo-600:#253cb5;--indigo-700:#1f3295;--indigo-800:#182775;--indigo-900:#121c55;--teal-50:#f6fbfa;--teal-100:#d1eae5;--teal-200:#add9d1;--teal-300:#89c8bd;--teal-400:#65b7a8;--teal-500:#41a694;--teal-600:#378d7e;--teal-700:#2e7468;--teal-800:#245b51;--teal-900:#1a423b;--orange-50:#fff9f5;--orange-100:#fde4cd;--orange-200:#fbcfa6;--orange-300:#f9ba7f;--orange-400:#f8a457;--orange-500:#f68f30;--orange-600:#d17a29;--orange-700:#ac6422;--orange-800:#874f1a;--orange-900:#623913;--bluegray-50:#f7f8f9;--bluegray-100:#dae0e3;--bluegray-200:#bdc7cd;--bluegray-300:#a0aeb6;--bluegray-400:#8295a0;--bluegray-500:#657c8a;--bluegray-600:#566975;--bluegray-700:#475761;--bluegray-800:#38444c;--bluegray-900:#283237;--purple-50:#f9f8fd;--purple-100:#e1dff7;--purple-200:#cac5f1;--purple-300:#b2abeb;--purple-400:#9b92e4;--purple-500:#8378de;--purple-600:#6f66bd;--purple-700:#5c549b;--purple-800:#48427a;--purple-900:#343059;--red-50:#fdf4f3;--red-100:#f6ccc6;--red-200:#eea39a;--red-300:#e77b6d;--red-400:#df5240;--red-500:#d82a13;--red-600:#b82410;--red-700:#971d0d;--red-800:#77170a;--red-900:#561108;--primary-50:#f2f8fd;--primary-100:#c2dff6;--primary-200:#91c6ef;--primary-300:#61ade7;--primary-400:#3093e0;--primary-500:#007ad9;--primary-600:#0068b8;--primary-700:#005598;--primary-800:#004377;--primary-900:#003157}@layer primeng{*{box-sizing:border-box}}@layer primeng{@-webkit-keyframes p-fadein{0%{opacity:0}to{opacity:1}}}@-webkit-keyframes p-icon-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}
</style><link rel="stylesheet" href="styles-N25IJGKV.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-N25IJGKV.css"></noscript></head>
<body>
<ov4-root></ov4-root>
<script src="polyfills-BHSJNACI.js" type="module"></script><script src="main-FE2ZEBLT.js" type="module"></script></body>
</html>
Loading