Skip to content
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

Release - v2.2.4 #2971

Merged
merged 40 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
6c1c5cf
hyperscript: handles shared empty attrs, fixes #2821
kfule Feb 15, 2023
a28e91e
Fix typos in `stream()` docs (#2825)
mtsknn Mar 12, 2023
a621d9d
docs: removed question mark and fixed not working anchor link (github…
tbreuss May 3, 2023
811c216
docs: fix regex for parsing page title
tbreuss May 3, 2023
9ba52b3
Add missing `m.censor` to API navigation
dead-claudia May 17, 2023
7d7d645
Bump yaml and lint-staged
dependabot[bot] Apr 25, 2023
f1fcaa6
fix strange behavior, bump marked.js version up
tbreuss May 19, 2023
3fd24e3
docs: make url absolute in version selector
tbreuss May 5, 2023
9a42616
Bump gh-pages from 2.1.1 to 5.0.0
dependabot[bot] Apr 23, 2024
2fcaec7
Temporarily host REM on fly to fix the docs
JAForbes Jun 8, 2024
ccdb138
Move from individual code owners to just pinging all collaborators
dead-claudia May 17, 2023
5488953
Tweak docs with warning to fix #2508 (#2895)
dead-claudia Jun 8, 2024
8e7ef42
Remove dependance on global window and document (#2897)
KoryNunn Jul 29, 2024
123ccc1
Update changelog.md
dead-claudia Jul 29, 2024
5351b9b
Delete .github/workflows/auto-merge.yml
dead-claudia Aug 25, 2024
2b687a3
Tolerate docs failures
dead-claudia Aug 25, 2024
1b0899b
Migrate to Node 20, clean up workflows (#2902)
dead-claudia Aug 25, 2024
3a633ce
Update vnodes.md
dead-claudia Sep 1, 2024
0d095d1
Rewrite docs linter
dead-claudia Sep 1, 2024
5af0693
Fuse the command boilerplate into the relative subcommands
dead-claudia Sep 1, 2024
593562a
Fix outstanding docs issues, so everything checks (again).
dead-claudia Sep 2, 2024
2a7f31a
Fix some outstanding bugs in the docs linter.
dead-claudia Sep 2, 2024
8505916
Add code owners, add triage ping, fix workflows
dead-claudia Sep 2, 2024
8865d09
Update README.md
dead-claudia Sep 2, 2024
3e3c8cf
Update ospec
dead-claudia Sep 2, 2024
a4db1a1
Migrate to maintained html-minifier fork
dead-claudia Sep 2, 2024
57c331c
Fix GitHub actions to work a little better
dead-claudia Sep 2, 2024
8673cd9
Add support for jsDelivr CDN
dead-claudia Sep 2, 2024
dcb9920
Migrate to issue forms
dead-claudia Sep 2, 2024
436634b
Revise issue templates
dead-claudia Sep 2, 2024
84ca0d8
Create dependabot.yml
dead-claudia Sep 13, 2024
ac4ff1b
Bump gh-pages from 5.0.0 to 6.1.1
dependabot[bot] Sep 13, 2024
05caaaf
Update _npm-task.yml
dead-claudia Sep 16, 2024
a4670fd
Bump glob from 7.1.4 to 11.0.0
dependabot[bot] Sep 16, 2024
bf842ce
Bump rimraf from 3.0.2 to 6.0.1
dependabot[bot] Sep 17, 2024
700b9f8
Bump lint-staged from 13.2.1 to 15.2.10
dependabot[bot] Sep 17, 2024
b8f5a10
Update _post-comment.yml
dead-claudia Sep 22, 2024
a4bf63d
Remove the binary attribute from the lockfiles
dead-claudia Sep 23, 2024
36c503a
Restore pr-release stuff, fix target branch
dead-claudia Sep 23, 2024
53a4c2f
Update dependabot to batch everything
dead-claudia Sep 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf

[{package.json,.travis.yml}]
[{package.json,.travis.yml,.github/**/*.yml}]
indent_style = space
indent_size = 2
2 changes: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
* text=auto
/mithril.js binary
/mithril.min.js binary
/package-lock.json binary
/yarn.lock binary

# Assets
*.png binary
Expand Down
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* @dead-claudia @StephanHoyer
* @MithrilJS/Committers
/.github/ @MithrilJS/Admins
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/0-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: '📃 Documentation Issue'
description: Report an issue with Mithril.js's documentation
assignees: dead-claudia
labels:
- 'Area: Documentation'
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: input
attributes:
label: Offending URL
description: Provide a link to the page with the issue
placeholder: https://mithril.js.org/
validations:
required: true
- type: textarea
attributes:
label: Issue description
description: What is the precise issue with it. Please be specific.
validations:
required: true
117 changes: 117 additions & 0 deletions .github/ISSUE_TEMPLATE/1-core.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
name: '🐛 Framework Bug'
description: Report a bug in Mithril.js core
assignees: dead-claudia
labels:
- 'Area: Core'
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: input
attributes:
label: Mithril.js Version
description: |
Provide the exact version of Mithril.js you're experiencing these issues with. This
matters, even if it's really old like version 0.1.0. Do note that bugs in older
versions are commonly fixed in newer versions, so you should try to test it
against the latest version if you can.
validations:
required: true
- type: textarea
attributes:
label: Browser and OS
description: |
Provide the name and version of both the browser and operating system you're
experiencing these issues with. If it's multiple, feel free to list multiple.
This matters, even if it's super ancient.
validations:
required: true
- type: textarea
attributes:
label: Project
description: |
(Optional) Provide a link to your project, if it happens to be open source or if
you created a repo somewhere that we can look into further. If it's spread across
multiple repos or projects, feel free to list them all.
- type: textarea
attributes:
label: Code
description: |
What did you try? What code is causing the unexpected behavior? Make sure to
try to reduce your code as best as you can while still reproducing the bug, so
we can more accurately determine the cause. Ideally, it should just be a bunch
of Mithril.js calls with virtually no logic at all, but it's sufficient to just
remove unrelated network calls, attributes, and the like.

In addition, make sure the bug still persists with the latest version of
Mithril. If it's an older version, the bug may have already been fixed.

If you'd prefer, replace this code block with a link to a code playground like
any of these:

- Flems <https://flems.io/mithril> (stores everything in URL hash)
- JSFiddle <https://jsfiddle.net>
- CodePen <https://codepen.io>
- JSBin <https://jsbin.com>
- Plunker <https://plnkr.co>
- Glitch <https://glitch.com> (supports backend)
- CodeSandbox <https://codesandbox.io> (supports backend)

Or if it's a remote development project on your own server, feel free to provide
that if it's serving unminified code we can look at.

If it's a closed-source repo, it's okay to censor names and pull out irrelevant
logic - we'd rather not sign NDAs just to see the code you're having trouble
with. We do still need code of some kind that triggers the bug you're running
into.
render: javascript
validations:
required: true
- type: textarea
attributes:
label: Steps to Reproduce
description: |
What steps need to be taken to reproduce this behavior? Please include things
like specific data that need typed in, specific buttons that need clicked, and
so on.
placeholder: |
1.
2.
3.
4.
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: |
What did you expect to happen?

- An alert to pop up?
- A specific thing to be logged?

Please be very specific here.
validations:
required: true
- type: textarea
attributes:
label: Observed Behavior
description: |
What actually happened?

- The alert never showed?
- The wrong thing was logged?

Please be very specific here.
validations:
required: true
- type: textarea
attributes:
label: Context
description: |
(Optional) How is this issue affecting you? What are you trying to do? Providing
us context helps us reach a solution that best fits your particular needs.
117 changes: 117 additions & 0 deletions .github/ISSUE_TEMPLATE/2-stream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
name: '🌊 Mithril.js Streams bug'
description: Report an issue with Mithril.js's Streams module
assignees: dead-claudia
labels:
- 'Area: Stream'
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: input
attributes:
label: Mithril.js Version
description: |
Provide the exact version of Mithril.js you're experiencing these issues with. This
matters, even if it's really old like version 0.1.0. Do note that bugs in older
versions are commonly fixed in newer versions, so you should try to test it
against the latest version if you can.
validations:
required: true
- type: textarea
attributes:
label: Browser and OS
description: |
Provide the name and version of both the browser and operating system you're
experiencing these issues with. If it's multiple, feel free to list multiple.
This matters, even if it's super ancient.
validations:
required: true
- type: textarea
attributes:
label: Project
description: |
(Optional) Provide a link to your project, if it happens to be open source or if
you created a repo somewhere that we can look into further. If it's spread across
multiple repos or projects, feel free to list them all.
- type: textarea
attributes:
label: Code
description: |
What did you try? What code is causing the unexpected behavior? Make sure to
try to reduce your code as best as you can while still reproducing the bug, so
we can more accurately determine the cause. Ideally, it should just be a bunch
of Mithril.js calls with virtually no logic at all, but it's sufficient to just
remove unrelated network calls, attributes, and the like.

In addition, make sure the bug still persists with the latest version of
Mithril. If it's an older version, the bug may have already been fixed.

If you'd prefer, replace this code block with a link to a code playground like
any of these:

- Flems <https://flems.io/mithril> (stores everything in URL hash)
- JSFiddle <https://jsfiddle.net>
- CodePen <https://codepen.io>
- JSBin <https://jsbin.com>
- Plunker <https://plnkr.co>
- Glitch <https://glitch.com> (supports backend)
- CodeSandbox <https://codesandbox.io> (supports backend)

Or if it's a remote development project on your own server, feel free to provide
that if it's serving unminified code we can look at.

If it's a closed-source repo, it's okay to censor names and pull out irrelevant
logic - we'd rather not sign NDAs just to see the code you're having trouble
with. We do still need code of some kind that triggers the bug you're running
into.
render: javascript
validations:
required: true
- type: textarea
attributes:
label: Steps to Reproduce
description: |
What steps need to be taken to reproduce this behavior? Please include things
like specific data that need typed in, specific buttons that need clicked, and
so on.
placeholder: |
1.
2.
3.
4.
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: |
What did you expect to happen?

- An alert to pop up?
- A specific thing to be logged?

Please be very specific here.
validations:
required: true
- type: textarea
attributes:
label: Observed Behavior
description: |
What actually happened?

- The alert never showed?
- The wrong thing was logged?

Please be very specific here.
validations:
required: true
- type: textarea
attributes:
label: Context
description: |
(Optional) How is this issue affecting you? What are you trying to do? Providing
us context helps us reach a solution that best fits your particular needs.
102 changes: 0 additions & 102 deletions .github/ISSUE_TEMPLATE/bug.md

This file was deleted.

Loading