Skip to content

Commit 1f69115

Browse files
authored
[minor release] ml5 v0.4.1 (#657)
* updates version to v0.4.1 * updates docs to reference 0.4.1
1 parent 3014601 commit 1f69115

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,21 @@ There are several ways you can use the ml5.js library:
2626

2727

2828

29+
2930
<p id="latest-version">
3031

31-
* You can use the latest version (0.4.0) by adding it to the head section of your HTML document:
32+
* You can use the latest version (0.4.1) by adding it to the head section of your HTML document:
3233

33-
**v0.4.0**
34+
**v0.4.1**
3435

35-
<script src="https://unpkg.com/[email protected].0/dist/ml5.min.js" type="text/javascript"></script>
36+
<script src="https://unpkg.com/[email protected].1/dist/ml5.min.js" type="text/javascript"></script>
3637

3738
</p data-id="latest-version">
3839

3940

4041

4142

43+
4244

4345

4446
* If you need to use an earlier version for any reason, you can change the version number. The [previous versions of ml5 can be found here](https://www.npmjs.com/package/ml5). You can use those previous versions by replacing `<version>` with the ml5 version of interest:
@@ -49,7 +51,7 @@ There are several ways you can use the ml5.js library:
4951

5052
For example:
5153
```js
52-
<script src="https://unpkg.com/ml5@0.3.1/dist/ml5.min.js" type="text/javascript"></script>
54+
<script src="https://unpkg.com/ml5@0.4.1/dist/ml5.min.js" type="text/javascript"></script>
5355
```
5456

5557
* You can also reference "latest", but we do not recommend this as your code may break as we update ml5.

docs/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ The fastest way to get started exploring the creative possibilities of ml5.js ar
1919
3. You can also copy and paste the cdn link to the ml5 library here:
2020

2121
```
22-
<script src="https://unpkg.com/[email protected].0/dist/ml5.min.js"></script>
22+
<script src="https://unpkg.com/[email protected].1/dist/ml5.min.js"></script>
2323
```
2424

2525
***
2626
#### Quickstart: Plain JavaScript
2727

28-
Reference the [latest version](https://unpkg.com/[email protected].0/dist/ml5.min.js) of ml5.js using a script tag in an HTML file as below:
28+
Reference the [latest version](https://unpkg.com/[email protected].1/dist/ml5.min.js) of ml5.js using a script tag in an HTML file as below:
2929

3030

3131
In an **index.html** file, copy and paste the following and open up that file in your web browser.
@@ -36,13 +36,13 @@ In an **index.html** file, copy and paste the following and open up that file in
3636
<head>
3737
<title>Getting Started with ml5.js</title>
3838
<meta name="viewport" content="width=device-width, initial-scale=1.0">
39-
<script src="https://unpkg.com/[email protected].0/dist/ml5.min.js"></script>
39+
<script src="https://unpkg.com/[email protected].1/dist/ml5.min.js"></script>
4040
</head>
4141

4242
<body>
4343
<script>
4444
// Your code will go here
45-
// open up your console - if everything loaded properly you should see 0.4.0
45+
// open up your console - if everything loaded properly you should see 0.4.1
4646
console.log('ml5 version:', ml5.version);
4747
4848
</script>
@@ -71,7 +71,7 @@ In an **index.html** file, copy and paste the following and open up that file in
7171
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/addons/p5.dom.min.js"></script>
7272
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/addons/p5.sound.min.js"></script>
7373
<!-- ml5 -->
74-
<script src="https://unpkg.com/[email protected].0/dist/ml5.min.js"></script>
74+
<script src="https://unpkg.com/[email protected].1/dist/ml5.min.js"></script>
7575
</head>
7676

7777
<body>

docs/tutorials/hello-ml5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Here you can see that we read in the javascript libraries. This includes our ml5
7272

7373
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/p5.min.js"></script>
7474
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/addons/p5.dom.min.js"></script>
75-
<script src="https://unpkg.com/[email protected].0/dist/ml5.min.js"></script>
75+
<script src="https://unpkg.com/[email protected].1/dist/ml5.min.js"></script>
7676
</head>
7777

7878
<body>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ml5",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "A friendly machine learning library for the web.",
55
"main": "dist/ml5.min.js",
66
"directories": {

0 commit comments

Comments
 (0)