angular-material-components icon indicating copy to clipboard operation
angular-material-components copied to clipboard

Angular 17

Open belugasanity opened this issue 2 years ago • 13 comments

Still testing locally but I hope this can give a decent start to the next update.

belugasanity avatar Nov 14 '23 18:11 belugasanity

@Klaster1 please can you check this branch if is possible updated to angular 17.

AdamsContreras999 avatar Nov 27 '23 23:11 AdamsContreras999

@AdamsContreras999 not sure I follow you here. While changes in the PR do in fact make the "angular-material-components" compatible with Angular 17 (I did the same here), I doubt this would be sufficient given the #357 remains unresolved. I am not "angular-material-components" maintainer and like most people watching the PR, have a couple of projects where Angular 17 is blocked by issues outlined above.

Klaster1 avatar Nov 28 '23 09:11 Klaster1

This problem happens every six months, since this package takes too long to update to the major versions. For Angular 16 some issues like "Is this repo abandoned?" popped up.

Maybe it's more "useful" for now to update the package.json to >= 16 to avoid future blocks like this¿?

As a workaround, i added this to my package.json and it just works:

  "overrides": {
    "@angular-material-components/datetime-picker": {
      "@angular/platform-browser": ">=16.0.0",
      "@angular/common": ">=16.0.0",
      "@angular/core": ">=16.0.0",
      "@angular/forms": ">=16.0.0",
      "@angular/material": ">=16.0.0",
      "@angular/cdk": ">=16.0.0"
    },
    "@angular-material-components/moment-adapter": {
      "@angular/common": ">=16.0.0",
      "@angular/core": ">=16.0.0"
    }
  }

Sergiobop avatar Dec 05 '23 18:12 Sergiobop

@Sergiobop perfect! works like a charm

LanderBeeuwsaert avatar Dec 06 '23 14:12 LanderBeeuwsaert

@Sergiobop - Nice one!

I've added the above to the overrides object. Added the HTML and receive the following console error. I've tried installing animations v16 without luck. Any ideas at all please?

Unexpected synthetic property @transitionMessages found. Please make sure that:
  - Either `BrowserAnimationsModule` or `NoopAnimationsModule` are imported in your application.
  - There is corresponding configuration for the animation named `@transitionMessages` defined in the `animations` field of the `@Component` decorator (see https://angular.io/api/core/Component#animations).

Although, in the meantime, I'm trying this: https://github.com/danielmoncada/date-time-picker as I can't wait around too long for this update.

MatthewLHolden avatar Dec 17 '23 09:12 MatthewLHolden

Hi! Is there some news about this PR?

LcsGa avatar Jan 18 '24 11:01 LcsGa

Hi! Is there some news about this PR?

BetynMineiro avatar Mar 19 '24 17:03 BetynMineiro

Hi! we are looking forward to this update

kupchic avatar Apr 23 '24 06:04 kupchic

Hi, When this Angular 17 support is expected?

Afzalraza235 avatar May 08 '24 06:05 Afzalraza235

Angular 18 is just around the corner. Sadly, updates in this package are not expected

Maybe we should try to fork and maintain a different repo..

Sergiobop avatar May 09 '24 08:05 Sergiobop

any news guys??? Angular 19 is almost here and we are struggling to work with the 17th 🤦‍♂️

MeadAlsorani avatar Aug 19 '24 10:08 MeadAlsorani

any news guys??? Angular 19 is almost here and we are struggling to work with the 17th 🤦‍♂️

Check this PR. Updated to Angular 18, and working almost without bugs: https://github.com/h2qutc/angular-material-components/pull/393

Sergiobop avatar Aug 19 '24 11:08 Sergiobop

Angular 19 is almost here !! guys ! we need moreee reactivity here

fouratachour avatar Aug 20 '24 09:08 fouratachour