-
Notifications
You must be signed in to change notification settings - Fork 3
feat: api history #73
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
2512f37
feat(api-history): basic parsing
piotrpdev 4665853
feat(api-history): try to detect basic user error
piotrpdev d7c370a
feat(api-history): zod validation
piotrpdev 4947073
feat(api-history): switch to json schema and ajv instead of zod
piotrpdev edb99b0
refactor(api-history): remove namespace in schema title
piotrpdev c4b0846
feat(api-history): optimize imports, more async
piotrpdev 51f3859
feat(api-history): remove `removed` schema property
piotrpdev e6bc3df
fix(api-history): add missing param to usage
piotrpdev dfb7b91
feat(api-history): basic tests
piotrpdev d609df1
feat(api-history): cli schema option
piotrpdev d2ae01b
fix(api-history): delete links from fixtures
piotrpdev 16790db
feat(api-history): use mockup schema
piotrpdev 687d78c
style(api-history): remove old comments
piotrpdev 43cb826
feat(api-history): add format test
piotrpdev 20ade10
test(api-history): remove snapshot, destructure regex matches
piotrpdev 9038174
feat(api-history): use `hast-util-from-markdown` instead of regex
dsanders11 bac2454
style(api-history): slightly nicer formatting
piotrpdev 25c0f6b
feat(api-history): remove redundant `validate-with-schema` flag
piotrpdev bd16eb8
feat(api-history): check breaking changes header exists
piotrpdev 1c0b98e
feat(api-history): check placement
piotrpdev cba5b11
feat(api-history): check strings (previously check descriptions)
piotrpdev edc9a69
fix(api-history): change check descriptions to check strings in help
piotrpdev 1dd1383
style(api-history): catch-up on linting
piotrpdev c577ec0
feat(api-history): check pull request links
piotrpdev f7b4866
test(api-history): explicitly specify default flags
piotrpdev 0175428
feat(api-history): warnings, nicer errors
piotrpdev 0ff2a8b
test(api-history): check all numbers in each test
piotrpdev cd54d6a
test(api-history): large amount of api history
piotrpdev 42ab830
Merge remote-tracking branch 'origin/main' into feat/api-history
piotrpdev c59af26
refactor(api-history): remove `--check-pull-request-links`
piotrpdev 1f34a44
style(api-history): catch up on lint
piotrpdev 22c2b38
fix(api-history): unnecessary lowercase
piotrpdev db34c2a
fix(api-history): match api history block more consistently
piotrpdev f089760
feat(api-history): skip documents without html comments
piotrpdev 3ccddfe
fix(api-history): remove debug `console.log`
piotrpdev 43155a3
Apply suggestions from code review
piotrpdev 8f8c461
style(api-history): lint fix
piotrpdev b5d6213
style(api-history): reorder imports
piotrpdev 59e9a67
docs(api-history): comments for script options
piotrpdev ee64a4c
fix(api-history): remove `fs.access()` before `fs.readFile()`
piotrpdev ed86d93
test(api-history): use `fs.mkdtemp()` instead of fixtures folder
piotrpdev bbdc778
test(api-history): use newest schema
piotrpdev 441c8a0
test(api-history): use newest `breaking-changes.md`
piotrpdev 7a7366b
test(api-history): rename fixture to avoid conflict with other `.spec…
piotrpdev 84a3dbc
chore: retain .md extension
dsanders11 4d42ea2
chore: maintainer committed yarn.lock
dsanders11 4f988c9
test: ignore API history files in links spec
dsanders11 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat(api-history): check pull request links
- Loading branch information
commit c577ec002be100a89988c64ca097d7a76002d5bd
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #### `win.setTrafficLightPosition(position)` _macOS_ _Deprecated_ | ||
|
|
||
| <!-- | ||
| ```YAML history | ||
| added: | ||
| - pr-url: https://github.com/electron/electron/pull/225332672 | ||
| changes: | ||
| - pr-url: https://github.com/electron/electron/pull/26789 | ||
| description: Made `trafficLightPosition` option work for `customButtonOnHover`. | ||
| deprecated: | ||
| - pr-url: https://github.com/electron/electron/pull/37094 | ||
| breaking-changes-header: deprecated-browserwindowsettrafficlightpositionposition | ||
| ``` | ||
| --> | ||
|
|
||
| Set a custom position for the traffic light buttons in frameless window. | ||
| Passing `{ x: 0, y: 0 }` will reset the position to default. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.