Skip to content

Conversation

@meherhowji
Copy link
Contributor

@meherhowji meherhowji commented May 2, 2024

🚀 Updates angular from 14.x to 17.3.6
✏️ used angular official documentation for upgrading the version (ng update)

Changelogs

Sourced from angular's changelog.

File Changes
  • angular.json
  • package.json
  • package-lock.json
  • tsconfig.json

🔨 Replaces ng2-codemirror from with ngx-codemirror
✏️ ng2-codemirror is no longer working in Angular-v16 and above and is not maintained from last 7 years.

ngx-codemirror v7 is open source with MIT license. It uses the same peer dependency codemirror, as ng2-codemirror does.

File Changes
  • package.json
  • package-lock.json
  • src/app/app.component.html
  • src/app/app.module.ts
  • src/app/fusioncharts/tabbedComponent/tabbed.code.html

🚀 Added a demo example application into _examples/fc-angular-chart-demo_
File Changes
  • everything in examples folder

🚀 Bumped Integration version from 4.0.3 to 4.1.0
File Changes
  • package.json
  • dist/package-dist.json
  • dist/package-lock.json
  • package-dist.json
  • package-lock.json
  • Readme.md

Other File Changes

Changed the type of input prop 'chartConfig' to same as 'dataSource' as it can also accept string and object.

  • src/angular-fusioncharts/src/fusioncharts.component.ts

Updated rollup config file(used in the build script), as the docs and config has changed.

  • rollup.config.js

Fixed compilation errors.

  • src/polyfills.ts
  • src/tsconfig.app.json

Made a new build using 'angular run build' command.

  • dist/dist/index.js
  • dist/dist/index.min.js
  • dist/src/fusioncharts.component.d.ts
  • dist/src/fusioncharts.component.js
  • dist/src/fusioncharts.component.js.map
  • dist/src/fusioncharts.directive.d.ts
  • dist/src/fusioncharts.service.js.map
  • yarn.lock

@kruzznikam kruzznikam changed the title feature/support-1234 upgraded angular version from v14 to v17. (#186) [feature] [SUPPORT-2357] upgrade angular version from v14 to v17. (#186) May 2, 2024
@meherhowji
Copy link
Contributor Author

@kruzznikam if you can squash the commits then let's merge this to develop. everything else looks good to me.

@meherhowji
Copy link
Contributor Author

@kruzznikam also, let's bump the integration version from 4.0.3 to 4.1.0

…fusioncharts example, bumped integration version

feature/support-2357 upgraded angular version from v14 to v17. (#186)

* used angular official documentation for upgrading the version (ng update)
 * replaced ng2-codemirror with ngx-codemirror (both of these are base on codemirror) for code-snippets as ng2-codemirror is no longer workin in Angular-v16 and above
 * updated rollup config file(used in the build script), as the docs and config has changed
 * changed fusionchart.component input prop from string to any as it also accects an object

[feature] [support - 2357] create a new angular fusioncharts example (#188)

-> Create a new examples folder which has a new angularv17 project and shows how to use angular-fusioncharts library

bumped integration version from 4.0.3 to 4.1.0
 * removed unnessary code from app.component.ts
@kruzznikam kruzznikam force-pushed the 4.0-dev-integration branch from 7a1ce76 to b0e72ec Compare May 6, 2024 05:24
@meherhowji meherhowji merged commit 64d613a into develop Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants