Skip to content

Convert to V2 Addon, add types#89

Merged
NullVoxPopuli merged 10 commits intoemberjs:masterfrom
aklkv:feat/modernize
Apr 13, 2026
Merged

Convert to V2 Addon, add types#89
NullVoxPopuli merged 10 commits intoemberjs:masterfrom
aklkv:feat/modernize

Conversation

@aklkv
Copy link
Copy Markdown
Contributor

@aklkv aklkv commented Feb 16, 2026

No description provided.

@aklkv aklkv force-pushed the feat/modernize branch 2 times, most recently from 819b4d9 to 5eadd85 Compare February 16, 2026 07:37
@kategengler
Copy link
Copy Markdown
Member

This drops testing of Ember < 5.8

@NullVoxPopuli
Copy link
Copy Markdown
Contributor

aye, that's the default in the blueprint: https://github.com/ember-cli/ember-addon-blueprint/blob/main/files/.try.mjs#L29

this is def still a breaking change tho, as there was no ember-auto-import requirement before, and at least ember-auto-import will be required now

@kategengler
Copy link
Copy Markdown
Member

aye, that's the default in the blueprint: [ember-cli/ember-addon-blueprint@main/files/.try.mjs#L29]

Yes, I am noting it for later use in the CHANGELOG


</details>

#### DOM setup on insert → custom modifier
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

#### `didUpdate`
</details>

#### Reacting to argument changes → custom modifier
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

#### `willDestroy`
</details>

#### Cleanup on teardown → modifier destructor
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@aklkv
Copy link
Copy Markdown
Contributor Author

aklkv commented Mar 15, 2026

@NullVoxPopuli @kategengler any chance we can land this?

aklkv and others added 2 commits March 16, 2026 15:23
Co-authored-by: Katie Gengler <katie@kmg.io>
Co-authored-by: Katie Gengler <katie@kmg.io>
Copy link
Copy Markdown
Member

@kategengler kategengler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm 👍 except for those eslint changes I proposed.

Generally, though, I think it is silly that we are converting barely touched addons to the v2 format before it is default for anybody generating an addon because it means we will have to expend effort to convert this addon again to the final format.

@NullVoxPopuli
Copy link
Copy Markdown
Contributor

the v1 addon format is actively harmful for new projects tho

I dunno if it's the exact same, but it seems the fact that so many people want v2 addons kinda show that we're potentially repeating the mistake we made with holding out on embroider for so long

@kategengler
Copy link
Copy Markdown
Member

I agree, v2 addons needed to be the default a long time ago.

@kategengler
Copy link
Copy Markdown
Member

Noticed No CI ran here, I just re-enabled the workflow, could you kick it so it runs?

@NullVoxPopuli
Copy link
Copy Markdown
Contributor

closing and re-open will re-start ci as well

@aklkv aklkv closed this Mar 17, 2026
@aklkv aklkv reopened this Mar 17, 2026
@aklkv aklkv requested a review from kategengler April 5, 2026 10:12
Copy link
Copy Markdown
Contributor

@NullVoxPopuli NullVoxPopuli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked that the implementations were the exact same, and they are -- so I'm good with this moving forward -- README updates are good too.

everything is just applying the v2 addon blueprint from ember-cli/ember-addon-blueprint (the blueprint being proposed for default)

@NullVoxPopuli NullVoxPopuli dismissed kategengler’s stale review April 13, 2026 01:22

CI is green now 🎉

@NullVoxPopuli NullVoxPopuli merged commit 3a0fe06 into emberjs:master Apr 13, 2026
10 checks passed
@NullVoxPopuli NullVoxPopuli changed the title feat: modernize Convert to V2 Addon, add types Apr 13, 2026
This was referenced Apr 13, 2026
@github-actions github-actions bot mentioned this pull request Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants