Skip to content

Commit 34f8700

Browse files
committed
update changelog for v2.0.0
1 parent 44e27c8 commit 34f8700

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# 2.0.0
2+
3+
- **BREAKING** Editable SVG element creation function has moved to `blobs.xml(tagName)`.
4+
- Added `"blobs/v2"`
5+
- 30% smaller compressed size
6+
- Supports canvas rendering
7+
- Supports raw SVG path rendering
8+
19
# 1.1.0
210

311
- Add support for editable output

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 Gabriel Harel
3+
Copyright (c) Gabriel Harel
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blobs",
3-
"version": "2.0.0-beta.1",
3+
"version": "2.0.0",
44
"description": "Random blob generator",
55
"author": "g-harel",
66
"license": "MIT",

public/blobs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const typeCheck = (name: string, val: any, expected: string[]) => {
3333
const raw = (blobOptions: BlobOptions): Point[] => {
3434
const rgen = rand(String(blobOptions.seed));
3535

36+
typeCheck("blobOptions", blobOptions, ["object"]);
3637
typeCheck("seed", blobOptions.seed, ["string", "number"]);
3738
typeCheck("extraPoints", blobOptions.extraPoints, ["number"]);
3839
typeCheck("randomness", blobOptions.randomness, ["number"]);

0 commit comments

Comments
 (0)