Skip to content

Commit c2c7dbe

Browse files
authored
Merge branch 'dev-2.0' into harden-github-actions-for-dev-2.0
2 parents 5d668de + 9498619 commit c2c7dbe

162 files changed

Lines changed: 5774 additions & 1302 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.all-contributorsrc

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7330,6 +7330,15 @@
73307330
"code"
73317331
]
73327332
},
7333+
{
7334+
"login": "skyash-dev",
7335+
"name": "yash",
7336+
"avatar_url": "https://avatars.githubusercontent.com/u/52105266?v=4",
7337+
"profile": "http://skyash.me",
7338+
"contributions": [
7339+
"code"
7340+
]
7341+
},
73337342
{
73347343
"login": "aashu2006",
73357344
"name": "akshat patil",
@@ -7348,6 +7357,15 @@
73487357
"code"
73497358
]
73507359
},
7360+
{
7361+
"login": "jjnawaaz",
7362+
"name": "Junaid Nawaz",
7363+
"avatar_url": "https://avatars.githubusercontent.com/u/124430303?v=4",
7364+
"profile": "https://github.com/jjnawaaz",
7365+
"contributions": [
7366+
"doc"
7367+
]
7368+
},
73517369
{
73527370
"login": "Sanchit2662",
73537371
"name": "SANCHIT KUMAR",
@@ -7376,6 +7394,26 @@
73767394
"code",
73777395
"test"
73787396
]
7397+
},
7398+
{
7399+
"login": "imrinahru",
7400+
"name": "imrinahru",
7401+
"avatar_url": "https://avatars.githubusercontent.com/u/120927437?v=4",
7402+
"profile": "https://github.com/imrinahru",
7403+
"contributions": [
7404+
"bug",
7405+
"code",
7406+
"test"
7407+
]
7408+
},
7409+
{
7410+
"login": "Nitin2332",
7411+
"name": "Nitin Rajpoot",
7412+
"avatar_url": "https://avatars.githubusercontent.com/u/175546686?v=4",
7413+
"profile": "https://github.com/Nitin2332",
7414+
"contributions": [
7415+
"code"
7416+
]
73797417
}
73807418
],
73817419
"repoType": "github",

.github/ISSUE_TEMPLATE/1-p5.js-2.0-bug-report.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
name: 📃 p5.js 2.0 Beta Bug Report
2-
description: This template is for submitting a bug report for bugs found in the p5.js 2.0 beta releases.
3-
title: "[p5.js 2.0 Beta Bug Report]: "
4-
labels: [p5.js 2.0]
1+
name: 📃 p5.js 2.0+ Bug Report
2+
description: This template is for submitting a bug report for bugs found in p5v2!
3+
title: "[p5.js 2.0+ Bug Report]: "
4+
labels: [p5.js 2.0+]
55
body:
66
- type: markdown
77
attributes:
88
value: |
99
### What falls under this category?
10-
There has been many changes to p5.js in 2.0 that is currently released as beta versions. If you suspect there may be a bug, please follow the below steps before opening a bug report using this template:
11-
12-
1. There are some differences in behavior between p5.js 1.x and 2.0 beta, please check the changelog and/or [proposal list](https://github.com/orgs/processing/projects/21) to see if the difference in behavior is intended. If in doubt, feel free to open the issue anyway and ask.
13-
2. Breaking changes may still happen between beta versions, please make sure to include the full beta version number and use the latest beta release where possible.
14-
3. We are not considering any new proposal for p5.js 2.0 at this stage and if you would like to request new features, please use the "New feature request" issue template.
15-
4. The documentation and examples may be outdated at this stage while we work on updating them.
10+
There has been many changes to p5.js in 2.0! You can try it in p5.js Editor by updating the version in "Settings," and reference is available [on the beta version of the site](https://beta.p5js.org/). If you suspect there may be a bug, please follow the below steps before opening a bug report using this template:
11+
1. There are some differences in behavior between p5.js 1.x and 2.0 beta, please check the changelog and/or [2.0 status board](https://github.com/orgs/processing/projects/21) to see if the difference in behavior is intended. If in doubt, feel free to open the issue anyway and ask.
12+
2. New proposals for future p5.js 2.x minor releases may be considered! Please use the "New feature request" issue template, or check the [2.0 status board](https://github.com/orgs/processing/projects/21) is there is already discussion abotu this proposal.
13+
3. Reports of errors or potential improvements in documentation and examples is expecially helpful, since many things have been updated from 1.x to 2.0!
1614
- type: checkboxes
1715
id: sub-area
1816
attributes:
@@ -31,6 +29,8 @@ body:
3129
- label: Typography
3230
- label: Utilities
3331
- label: WebGL
32+
- label: WebGPU
33+
- label: p5.strands
3434
- label: Build process
3535
- label: Unit testing
3636
- label: Internationalization
@@ -78,4 +78,4 @@ body:
7878
7979
```"
8080
validations:
81-
required: true
81+
required: true
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Publish approved pull requests and latest commit to pkg.pr.new
2+
on:
3+
pull_request:
4+
branches:
5+
- 'dev-2.0'
6+
push:
7+
branches:
8+
- 'dev-2.0'
9+
tags:
10+
- '!**'
11+
12+
permissions:
13+
pull-requests: write
14+
issues: write
15+
16+
jobs:
17+
publish:
18+
if: github.repository == 'processing/p5.js'
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v4
23+
- uses: actions/setup-node@v4
24+
with:
25+
node-version: 22
26+
27+
- name: Install dependencies
28+
run: npm ci
29+
30+
- name: Build library
31+
run: npm run build
32+
33+
- name: Publish library
34+
run: npx pkg-pr-new publish --no-template --json output.json --comment=off
35+
36+
- name: Include PR info in output file
37+
uses: actions/github-script@v8
38+
env:
39+
PR_NUMBER: ${{ github.event.pull_request.number }}
40+
with:
41+
script: |
42+
const fs = require('fs');
43+
const output = JSON.parse(fs.readFileSync('output.json', 'utf8'));
44+
output.workflow = {
45+
pull_request: process.env.PR_NUMBER ? {
46+
number: process.env.PR_NUMBER
47+
} : null
48+
};
49+
fs.writeFileSync('output.json', JSON.stringify(output));
50+
51+
- name: Upload output data
52+
uses: actions/upload-artifact@v4
53+
with:
54+
name: output.zip
55+
path: output.json

0 commit comments

Comments
 (0)