Skip to content

Commit 83c46ac

Browse files
Chore: Publish release (#120)
1 parent 1cdc602 commit 83c46ac

File tree

4 files changed

+27
-27
lines changed

4 files changed

+27
-27
lines changed

β€Ž.changeset/beige-socks-rest.mdβ€Ž

Lines changed: 0 additions & 5 deletions
This file was deleted.

β€Ž.changeset/thin-radios-repair.mdβ€Ž

Lines changed: 0 additions & 12 deletions
This file was deleted.

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,53 @@
11
# @tidaltheory/lens
22

3-
### 0.5.2 β€” 2022-08-09
3+
## 1.0.0 β€” 2022-08-12
44

5-
#### πŸ› Fixed
5+
### πŸ’£ Breaking
6+
7+
- Change dominant colour strategy [#119](https://github.com/tidaltheory/lens/pull/119)
8+
9+
Switched to using `node-vibrant` for finding dominant colours, rather than `sharp`’s built-in helper.
10+
11+
The `colors` key of each image object is now an object with the following keys:
12+
13+
- `palette` is an array of six hex colours (`node-vibrant`’s default output)
14+
- `dominant` is the colour from that array with the highest `population`
15+
16+
### ♻️ Changed
17+
18+
- Update sharp to v0.30.7 [#99](https://github.com/tidaltheory/lens/pull/99)
19+
20+
## 0.5.2 β€” 2022-08-09
21+
22+
### πŸ› Fixed
623

724
- Include types in npm bundle [`b0eb237`](https://github.com/tidaltheory/lens/commit/b0eb237c35b539a12d2791d1d7544222ce39a9f2)
825

9-
### 0.5.1 β€” 2022-08-08
26+
## 0.5.1 β€” 2022-08-08
1027

11-
#### πŸ› Fixed
28+
### πŸ› Fixed
1229

1330
- Make types export more reliable [`02f93e4`](https://github.com/tidaltheory/lens/commit/02f93e486a46f359d23f0188663312322ff1ae5e)
1431

1532
## 0.5.0 β€” 2022-08-08
1633

17-
#### 🎁 Added
34+
### 🎁 Added
1835

1936
- Export image object types [#112](https://github.com/tidaltheory/lens/pull/112)
2037

2138
Should make it easier to work with the metadata objects in a typed environment.
2239

2340
## 0.4.0 β€” 2022-03-05
2441

25-
#### 🎁 Added
42+
### 🎁 Added
2643

2744
- Allow glob paths for input source [#92](https://github.com/tidaltheory/lens/pull/92)
2845
- Extract dominant colour from image [#95](https://github.com/tidaltheory/lens/pull/95)
2946
- Generate AVIF and WebP formats of original image [#96](https://github.com/tidaltheory/lens/pull/96)
3047

3148
## 0.3.0 β€” 2022-03-03
3249

33-
#### πŸ› Fixed
50+
### πŸ› Fixed
3451

3552
- Fix JPG thumbnail file output [#83](https://github.com/tidaltheory/lens/pull/83)
3653

@@ -39,7 +56,7 @@
3956
seemed to work fine in Firefox). Thumbnail images are now explicitly
4057
output as JPG, regardless of original image format.
4158

42-
#### 🎁 Added
59+
### 🎁 Added
4360

4461
- `jpg` command to convert an image to a high-quality JPG file [#87](https://github.com/tidaltheory/lens/pull/87)
4562
- Add `useFilenameDirectory` option [#90](https://github.com/tidaltheory/lens/pull/90)
@@ -49,7 +66,7 @@
4966

5067
## 0.2.0 β€” 2022-02-25
5168

52-
#### 🎁 Added
69+
### 🎁 Added
5370

5471
- Add basic `add` command [#69](https://github.com/tidaltheory/lens/pull/69)
5572
- Enable thumbnail generation during `add` command [#80](https://github.com/tidaltheory/lens/pull/80)

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tidaltheory/lens",
3-
"version": "0.5.2",
3+
"version": "1.0.0",
44
"description": "Optimise & thumbnail images, and store metadata",
55
"keywords": [
66
"sharp",

0 commit comments

Comments
Β (0)