|
1 | 1 | # @tidaltheory/lens
|
2 | 2 |
|
3 |
| -### 0.5.2 β 2022-08-09 |
| 3 | +## 1.0.0 β 2022-08-12 |
4 | 4 |
|
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 |
6 | 23 |
|
7 | 24 | - Include types in npm bundle [`b0eb237`](https://github.com/tidaltheory/lens/commit/b0eb237c35b539a12d2791d1d7544222ce39a9f2)
|
8 | 25 |
|
9 |
| -### 0.5.1 β 2022-08-08 |
| 26 | +## 0.5.1 β 2022-08-08 |
10 | 27 |
|
11 |
| -#### π Fixed |
| 28 | +### π Fixed |
12 | 29 |
|
13 | 30 | - Make types export more reliable [`02f93e4`](https://github.com/tidaltheory/lens/commit/02f93e486a46f359d23f0188663312322ff1ae5e)
|
14 | 31 |
|
15 | 32 | ## 0.5.0 β 2022-08-08
|
16 | 33 |
|
17 |
| -#### π Added |
| 34 | +### π Added |
18 | 35 |
|
19 | 36 | - Export image object types [#112](https://github.com/tidaltheory/lens/pull/112)
|
20 | 37 |
|
21 | 38 | Should make it easier to work with the metadata objects in a typed environment.
|
22 | 39 |
|
23 | 40 | ## 0.4.0 β 2022-03-05
|
24 | 41 |
|
25 |
| -#### π Added |
| 42 | +### π Added |
26 | 43 |
|
27 | 44 | - Allow glob paths for input source [#92](https://github.com/tidaltheory/lens/pull/92)
|
28 | 45 | - Extract dominant colour from image [#95](https://github.com/tidaltheory/lens/pull/95)
|
29 | 46 | - Generate AVIF and WebP formats of original image [#96](https://github.com/tidaltheory/lens/pull/96)
|
30 | 47 |
|
31 | 48 | ## 0.3.0 β 2022-03-03
|
32 | 49 |
|
33 |
| -#### π Fixed |
| 50 | +### π Fixed |
34 | 51 |
|
35 | 52 | - Fix JPG thumbnail file output [#83](https://github.com/tidaltheory/lens/pull/83)
|
36 | 53 |
|
|
39 | 56 | seemed to work fine in Firefox). Thumbnail images are now explicitly
|
40 | 57 | output as JPG, regardless of original image format.
|
41 | 58 |
|
42 |
| -#### π Added |
| 59 | +### π Added |
43 | 60 |
|
44 | 61 | - `jpg` command to convert an image to a high-quality JPG file [#87](https://github.com/tidaltheory/lens/pull/87)
|
45 | 62 | - Add `useFilenameDirectory` option [#90](https://github.com/tidaltheory/lens/pull/90)
|
|
49 | 66 |
|
50 | 67 | ## 0.2.0 β 2022-02-25
|
51 | 68 |
|
52 |
| -#### π Added |
| 69 | +### π Added |
53 | 70 |
|
54 | 71 | - Add basic `add` command [#69](https://github.com/tidaltheory/lens/pull/69)
|
55 | 72 | - Enable thumbnail generation during `add` command [#80](https://github.com/tidaltheory/lens/pull/80)
|
|
0 commit comments