-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci(changelog): add deprecation commits to changelog automation #10346
ci(changelog): add deprecation commits to changelog automation #10346
Conversation
…nto dit13711/9975-add-deprection-commits-to-changelog-automation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue seems primarily focused on documentation, so introducing a brand-new type for deprecations could be confusing (e.g., we sometimes deprecate purely with doc, and other times with a feature or fix).
The type object supports specifying a scope. Could we test if the following would address the request?
{"type": "docs", "hidden": true},
{"type": "docs", "scope": "deprecation", "hidden": false},
Yeah I like this idea, more specifically can you test if this works: { "type": "docs", "scope": "deprecation", "section": "Deprecations" }, |
Didn't realize I left out my suggestion 😅 (updated now), but let's proceed w/ @benelan's. |
@jcfranco You mentioned that sometimes we deprecate with purely docs and other times with a feat or fix, I thought that in those feat/fix cases is where the |
I was suggesting the latter.
We can only use one type per commit, so I don't think we can easily split up deprecation code changes from a |
So I thought something like that would now be
or
|
That would work if the change is purely to deprecate a component member, but we often handle deprecations within a |
🤔 I get that we currently sometimes handle deprecations like that but I guess I'm confused because I thought we would now just do the deprecation separate from the feature or a fix PRs. What do you have in mind for how having |
We can, but this adds, IMO, unnecessary overhead. In the example above, we need to add code to handle both the new prop and the deprecated one in the same PR. Not sure how we could separate those cleanly. Also, it'd be odd to not add a deprecation note when the new props are added. |
…nto dit13711/9975-add-deprection-commits-to-changelog-automation
…nto dit13711/9975-add-deprection-commits-to-changelog-automation
@benelan the conversation between Franco and I continued on teams and we wanted your input on the pending solution. We currently are planning to use Do you have any objections to the empty commit option or perhaps a suggestion for another route we could take. |
Yeah that works for me. We can add multiple changelog entries from a single PR in release-please: So we could create the PR title as the type doc/fix/feat, but include a |
…nto dit13711/9975-add-deprection-commits-to-changelog-automation
@jcfranco I've made the changes based on Ben's suggestions. Also updated the wording on the pending wiki update to reflect the proposed process, LMK what you think:
|
That looks great! Thanks to both of youse! The only note I have is to consider adding some example snippets to the wiki update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝
📝⛔⛔⛔⛔📝⛔📝📝📝📝📝⛔📝⛔⛔⛔⛔📝📝⛔⛔⛔📝📝⛔⛔📝📝⛔📝📝📝⛔📝⛔⛔⛔⛔📝⛔📝
📝⛔📝📝⛔📝⛔📝📝📝📝📝⛔📝⛔📝📝📝📝⛔📝📝📝📝⛔📝📝⛔📝⛔⛔📝⛔⛔📝⛔📝📝📝📝⛔📝
📝⛔⛔⛔⛔📝⛔📝📝⛔📝📝⛔📝⛔⛔⛔📝📝📝⛔⛔📝📝⛔📝📝⛔📝⛔📝⛔📝⛔📝⛔⛔⛔📝📝⛔📝
📝⛔📝📝⛔📝⛔📝⛔📝⛔📝⛔📝⛔📝📝📝📝📝📝📝⛔📝⛔📝📝⛔📝⛔📝📝📝⛔📝⛔📝📝📝📝📝📝
📝⛔📝📝⛔📝📝⛔📝📝📝⛔📝📝⛔⛔⛔⛔📝⛔⛔⛔📝📝📝⛔⛔📝📝⛔📝📝📝⛔📝⛔⛔⛔⛔📝⛔📝
📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝📝
) **Related Issue:** N/A ## Summary Updates our semantic PR check to allow the new commit type added in #10346.
…estone-estimates * origin/dev: (26 commits) test: fix `window.getComputedStyle` arguments (#10424) test(card): remove redundant spy and setup wrapper element (#10429) test(heading): avoid `newSpecPage` usage to ease Lumina migration (#10431) refactor(themed): drop broken, unused, regexp arg support (#10425) docs: component token description consistency (#10430) refactor: prevent mixed Sass mixed declaration warnings (#10426) deprecate: deprecate `enforce-ref-last-prop` rule (#10421) chore(actions): add custom `deprecate` type to semantic-pr check (#10427) chore(issue templates): add arcgis data pipelines to team dropdown (#10418) fix(tooltip): closed tooltips should not reappear (#10420) feat: add dashboard-graph (#10417) fix(input-time-zone): fix region mode quirks after update (#10413) fix(text-area): ensure border-color token doesn't override invalid styles (#10390) ci(changelog): add deprecation commits to changelog automation (#10346) fix: properly set aria attributes on components (#10404) feat: add parcel parameter (#10384) feat(alert): apply --calcite-alert-corner-radius to internal close button (#10388) feat(dialog, panel): Add css properties for background-color (#10387) fix: remove aria-disabled from components where necessary (#10374) feat(action-group, block, panel): add `menuPlacement` and `menuFlipPlacements` properties (#10249) ...
Related Issue: #9975
Summary
Adds custom type list to lerna and release-please config files, and add a deprecation type to the list. This should allow for tracking deprecations in the change-logs