ng2-dragula icon indicating copy to clipboard operation
ng2-dragula copied to clipboard

[feature request] Angular 18 support

Open Dav2070 opened this issue 1 year ago • 8 comments

Please add support for Angular 18.

Dav2070 avatar Jul 18 '24 22:07 Dav2070

Any estimated time period when angular 18 support would be available? Thanks

62praveen avatar Jul 23 '24 20:07 62praveen

Any updates on this?

rohanahata avatar Jul 31 '24 04:07 rohanahata

Any updates?

mikolaj-jankowski avatar Aug 01 '24 11:08 mikolaj-jankowski

What we are doing for now which seems to be OK

  "overrides": {
    "ng2-dragula": {
      "@types/dragula": "^3.7.3",
      "@angular/animations": "18.1.3",
      "@angular/common": "18.1.3",
      "@angular/core": "18.1.3"
    }
  }

joh-klein avatar Aug 05 '24 10:08 joh-klein

And maybe Angular 19. 😄

Currently updating on my way up from 14 to the possibly highest version. Will try out the override workaround with 19 and report back with my experiences.

PhilLehmann avatar Dec 30 '24 14:12 PhilLehmann

Hey, here is my report (had to wait for compat of ng-slider for ng19, which is has been shipped a few days ago):

Changes overrides to (19.1.3 is the latest version as of today):

  "overrides": {
    "ng2-dragula": {
      "@types/dragula": "^3.7.3",
      "@angular/animations": "19.1.3",
      "@angular/common": "19.1.3",
      "@angular/core": "19.1.3"
    }
  }

Had to run ng update like this: ng update @angular/core@19 @angular/cli@19 --force, because otherwise it would not update due to dragula incompatibility (even though there is the override).

I am not done testing my whole app. But drag and drop works :) Thanks for the tip, @joh-klein !

PhilLehmann avatar Jan 28 '25 20:01 PhilLehmann

any update on this ?

alexNMD avatar Apr 14 '25 13:04 alexNMD

Not sure if this will help anyone else, but for people that 'fall here' from google searching for a solution, after doing a bit more searches I came up with this, and this lets me do the npm install without the force, so figured I'd put it here for anyone else that might encounter this. Feels a bit 'better' to since if there are any further updates in the future one might want to implement, they don't have to update the number in two places.

"overrides": {
    "ng2-dragula": {
      "@types/dragula": "^3.7.5",
      "@angular/animations": "$@angular/animations",
      "@angular/common": "$@angular/common",
      "@angular/core": "$@angular/core"
    }
 }

StevenTownsendTR avatar Jun 12 '25 21:06 StevenTownsendTR

any forks?

a1116 avatar Jul 21 '25 15:07 a1116

Hi! v6.0.0 is released and it supports all the way including angular v19, v20 is on its way

lexasq avatar Aug 20 '25 06:08 lexasq