This version of Angular will live forever ...

  Рет қаралды 3,748

Brandon Roberts

Brandon Roberts

Күн бұрын

Пікірлер: 67
@sefibra
@sefibra 7 ай бұрын
This has to be the best Angular plot twist out there 😂
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Surprising for sure!
@alfaproject0
@alfaproject0 6 ай бұрын
Ask Minko to add a deprecation notice to the npm package so that when it gets installed it will tell users that: 1. a deprecated package is installed that they might not even be using 2. or if it's being used, maybe they can update to eslint instead if at all possible
@alexibnz
@alexibnz 7 ай бұрын
Very interesting. Just discovered your video content and I love it! Wanted to say that your work is an inspiration for me
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Thanks Alex!
@JoshuaVanAllen
@JoshuaVanAllen 7 ай бұрын
dude! amazing investigation work!
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
I couldn't let it go lol
@EstherSoftwareDev
@EstherSoftwareDev 7 ай бұрын
Thank you so much for revealing what's behind it 🙏 this has been kinda bothering me too - it just didn't make sense much, but now it does 🙂 versions I am on - 15, 16, 17, 18
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
We can at least explain the numbers better now 👍
@toxaq
@toxaq 7 ай бұрын
4 of 5 projects gone from 1.7.8 to 16. Last one still working through. Hope to have them all to 17+ once that ones done but 12 years of active development is a slow change.
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Kudos to you for working through all those migrations!
@yuriblanc8446
@yuriblanc8446 7 ай бұрын
just moved an enterprise application from 8.2 to 15 and planned v18 this year.
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Nice. How were the upgrades? Did you upgrade one version at a time?
@yuriblanc8446
@yuriblanc8446 7 ай бұрын
@@BrandonRobertsDev Sure using the Angular cli update schematics. the app is built from different libraries so I had to teach every team of the company on how to deal with that. The application also still partially relies on UpgradeModule for angular.js. We are still running a few third party dependencies using ngcc. I don't know how it plays out with the router since the company uses a router and a UI toolkit I wrote that's partially built on top of Angular CDK (tables, overlay). Basically our feature libraries are mostly built from this toolkit and Angular core/common. We had some issues with a library that was using Material, mostly due to changes in the sass API but was a niche case. For the core/common parts the cli does a really good job on migrating the code and the configuration unit tests included. The Api is mostly consistent from 8-15 so no issues in that regard. We proceeded by ensuring that all libraries met the requirements (es. ModuleWithProviders with generic type set) then we upgraded the projects to ng15 and the first iteration was using ngcc on each library. We later upgraded all the libraries. The ngcc does a great job, it's only annoying if you need to compile them locally and link them since it does require ngcc to run and you can't just serve and watch from changes as easily as normal. I recommend anyone to jump to 15 since most stuff just works if you ignore peer dependencies requirements that may be outdated. From 16 ngcc is no longer a thing so we still need to upgrade some stuff before looking into beyond 15. We're still on rx.js 6 and we have some issues because also if not correctly stated in the breaking changes, rxjs 7 does no more provide rxjs/operators package and for that we may need to refactor many imports in many libraries.. any suggestions on this?
@martinn.6082
@martinn.6082 6 ай бұрын
That sounds like a nightmare to me lol
@BrandonRobertsDev
@BrandonRobertsDev 6 ай бұрын
RxJS still has rxjs/operators in 7.x for backward compatibility. We've stuck to using those in libraries because not everyone is using RxJS 7.,
@webmandman
@webmandman 7 ай бұрын
Still on 1.8
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
👀 No plans to upgrade or migrate?
@webmandman
@webmandman 7 ай бұрын
@@BrandonRobertsDev Yes, ive been saying it for years. new projects are done in Angular 15, these will beupgraded soon for.
@81223177
@81223177 7 ай бұрын
I'm using version 16.2.12, I update the projects every 3 versions. For example, from 13 to 16
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Interesting! Why every 3 versions? That way you're still in the LTS support window?
@81223177
@81223177 7 ай бұрын
@@BrandonRobertsDev I like to update Angular every 3 versions. This way, I can get the latest features without sacrificing project stability. Skipping a version in between gives me time to see if there are any reported bugs or compatibility issues. Of course, if a crucial feature is released in an intermediate version, I'll consider updating for that. Overall, this approach gives me more time between updates, lets me stay within the LTS window, and still get new features without feeling rushed. I'm aiming to migrate to v18 in the coming weeks.
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Thanks for the insight!
@smorebytes
@smorebytes 7 ай бұрын
On Angular 18. That very interesting, that makes me wonder about all the other software out there that have similar issues.
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Same. This one stands out because we always talk about trying to be on the latest version of Angular, but the downloads have always reflected something different.
@varagor23
@varagor23 7 ай бұрын
We're on 13, about to update to 14 (and then hopefully all the way to 18).
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Good to hear. How often do you update?
@varagor23
@varagor23 7 ай бұрын
@@BrandonRobertsDev Not often enough 😔
@madeOfClay99
@madeOfClay99 7 ай бұрын
So v9 is the most used because of codelyzer? Did I get it right? If so, I don't understand why this particular dependency makes Angular v9 so popular... I mean, since Angular v12, the angular team added strict mode and it was enabled by default so you would have all these "eslint", "tslint", encouragement of good practices out of the box without using any external package
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Yep. It's because even if you've upgraded along the way, Codelyzer is still in your package.json getting downloaded and in turn downloading its own copy of 9.0.0 because of the hard dependency
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
eslint/tslint were added later, and they are third-party packages also
@dmitriyzakharov3696
@dmitriyzakharov3696 7 ай бұрын
Usually who use that old school packages in project don't watch this type of videos. That's a problem.
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Good point. Maybe this will start to spread the word
@larshanisch
@larshanisch 7 ай бұрын
Just checked my main repo. Codelyzer must have been lost while migrating the code to an Nx monorepo. 😂 But I have some other smaller projects I have to check... Upgrading Angular is easy, that's why I'm using it. But getting rid off old dependencies is hard. I almost never know what all those dev dependencies are really used for...
@larshanisch
@larshanisch 7 ай бұрын
Yeah, found one in an Angular 14 project. Will remove! (it's on Angular 14, because I didn't had time yet to remove flex-layout. That was a sad day when that got deprecated...)
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
😮
@EstherSoftwareDev
@EstherSoftwareDev 7 ай бұрын
@@larshanisch it was a sad day when flex-layout got deprecated true, I don't know if it still makes sense to use it today but you can check out ngbracket/ngx-layout, this is the currently maintained version
@JeffryGonzalezHt
@JeffryGonzalezHt 7 ай бұрын
You need a Netflix series - the Sherlock Holmes of weird developer stuff. ;) Did I get this right? Angular 9.0.0 is really the aggregate of all Angular 9-12 because those depend on Codelyzer, so for each install of that, it also counts as a download for Angular 9? Freaky.
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Netflix series? Yes, please lol And yes, that's correct. I found so many example projects and repos from v9-12 and all of them when downloaded count every week
@EstherSoftwareDev
@EstherSoftwareDev 7 ай бұрын
those would be some cool series :) I would watch
@JohnCodes
@JohnCodes 7 ай бұрын
Angular 9. So hot right now.
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
And will be 😭
@webmandman
@webmandman 7 ай бұрын
no please dont
@webmandman
@webmandman 7 ай бұрын
🤣
@EstherSoftwareDev
@EstherSoftwareDev 7 ай бұрын
you are not cool if you are not using v9 🤣🤣🤣 jk of course
@TayambaMwanza
@TayambaMwanza 7 ай бұрын
I think its also cause 3rd party libs struggled to update to ivy or did update to ivy but also introduced huge breaking changes.
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Definitely, the 3rd party lib ecosystem needs better tools to handle upgrades also
@babchenkonikolay911
@babchenkonikolay911 7 ай бұрын
Cool investigation)
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Thanks. I'm glad to finally get this out of my brain :)
@razroo_chief
@razroo_chief 7 ай бұрын
Lol! That's hilarious. Subscribed
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
🤝
@dale_nguyen
@dale_nguyen 7 ай бұрын
So, mgechev is the culprit? lol
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
lol, I'm sure there's a reason it was pinned, but its been skewing the numbers for yearsss 😂
@dale_nguyen
@dale_nguyen 7 ай бұрын
@@BrandonRobertsDev I guess he forgot about it? Did you ask him? :D
@SamiullahKhan
@SamiullahKhan 7 ай бұрын
So Version 9 will live forever in seperate timeline 😅
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
TENET 😂
@TechTalksWithSantosh
@TechTalksWithSantosh 7 ай бұрын
Wow Interesting 😂
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
😅
@10x-Code
@10x-Code 7 ай бұрын
9.0 === Goat ?
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Yes, of course 😂
@tranquillityEnthusiast
@tranquillityEnthusiast 7 ай бұрын
We need to delete less than angular version 10 😅 just a thought
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
lol that would be something
@EstherSoftwareDev
@EstherSoftwareDev 7 ай бұрын
that would be a lot of work, but if you start I will be supporting you and sending tons of encouragement along the way 😃😇
@federicobalboa9145
@federicobalboa9145 7 ай бұрын
I am still coding in angularJS, pray for me, legacy code sucks.
@BrandonRobertsDev
@BrandonRobertsDev 7 ай бұрын
Hopefully at least your on AngularJS with the .component function? 🙏
@federicobalboa9145
@federicobalboa9145 7 ай бұрын
@@BrandonRobertsDev yes thank god! I am migrating AngularJS to Angular 17, step by step, pain in the a$$
@toxaq
@toxaq 7 ай бұрын
Me too! ngUpgrade does work though.
Vite + Rolldown: Embarrassingly fast build times!
11:48
Brandon Roberts
Рет қаралды 1,5 М.
React 19: What every Angular Developer Needs to Know!
13:11
Brandon Roberts
Рет қаралды 1,1 М.
ССЫЛКА НА ИГРУ В КОММЕНТАХ #shorts
0:36
Паша Осадчий
Рет қаралды 8 МЛН
Непосредственно Каха: сумка
0:53
К-Media
Рет қаралды 12 МЛН
Manage State with Angular Signals
14:24
Deborah Kurata
Рет қаралды 23 М.
Angular in 2025,  NgRx OSS,  Q&A
55:22
Brandon Roberts
Рет қаралды 426
AnalogJS 1.7 is out! Filesystem routing for all Angular apps?!
11:29
Brandon Roberts
Рет қаралды 1,2 М.
React vs Angular In 2025
8:23
Impekable
Рет қаралды 7 М.
Deferrable Views - New Feature in Angular 17
15:31
Decoded Frontend
Рет қаралды 25 М.
You NEED to Contribute to Open Source
11:21
Chris Titus Tech
Рет қаралды 32 М.
These Angular components are pretty Svelte
55:12
Brandon Roberts
Рет қаралды 950
Full-stack Angular (SSR, file-based routing, + more) with AnalogJS
1:27:55
Learn With Jason
Рет қаралды 1,6 М.
Working on Open Source: NgRx and Analog
1:02:18
Brandon Roberts
Рет қаралды 652
How to Open Source Like a Pro
8:41
Ben Awad
Рет қаралды 554 М.