Releases: mvllow/pinecone
v2.1.1
v2.1.0
Welcome to Pinecone v2! This is a pure ESM release so please read carefully before updating!
Versions pre v2.1.0 are beta. v2.1.0 is the first stable release on this major version
Breaking changes
Removed support for Node 10 and lower
We are moving to pure ESM packages. Please make sure your Node version is up to date.
Changes to pinecone.config.js
- const { alpha } = require('pinecone-cli')
+ import { alpha } from 'pinecone-cli
API
The CLI now matches config options.
- --include-non-italics
+ --include-non-italic-variants
The write meta option has been renamed. The shorthand -m
has been removed.
- --write-meta
+ --update-contributes
Some config options have been renamed and the default variable prefix is now $
.
export default {
- themeFile: './themes/_pinecone-color-theme.json',
- outputDir: './themes',
- varPrefix: '_',
+ source: './themes/_pinecone-color-theme.json',
+ output: './themes',
+ prefix: '$',
options: {
- writeMeta: false
+ updateContributes: false
}
}
Enhancements
- Config values are now checked on build, preventing common issues
- New
defineConfig
wrapper for improved suggestions
import { defineConfig } from 'pinecone-cli'
export default defineConfig({
...
})
- The
alpha
helper is now its own package (and is still exported from pinecone for simplicity)
import { alpha } from "pinecone-cli";
export default {
theme: {
variants: {
soap: { name: "Soap", type: "light" },
charcoal: { name: "Charcoal", type: "dark" },
},
colors: {
highlight: alpha("#fa8072", 0.5),
// Produces
highlight: {
soap: "#fa807280",
charcoal: "#fa807280",
},
},
},
};
Known bugs
pinecone watch
has a small memory leak due to not having a way to invalidate cache when using
import with ESM
Bug fixes
- When some errors occur,
pinecone.config.js
is overwritten with default values - Italic variants purged when
includeNonItalicVariants
is enabled (backported fix to v1.6.2)
v2.0.2-1
v2.0.2-0
- feat: use built-in colorish 8a612fb
- test: update descriptions 8601327
- fix: init overwrites malformatted config 60b6e39
- feat: check config on build 99e20d0
- feat: expose
defineConfig
and colorish (viaalpha
) cfcb0f0 - export lib 1ec6417
- move all deprecations to config interface 9d4bb13
- add deprecated options to config interface 1746382
- fix(docs): usage spacing 7606fad
v2.0.1-beta
v2.0.0-beta
Welcome to Pinecone v2! This is a pure ESM release so please read carefully before updating!
Breaking changes
Removed support for Node 10 and lower
We are moving to pure ESM packages. Please make sure your Node version is up to date.
Changes to pinecone.config.js
- const { alpha } = require('pinecone-cli')
+ import { alpha } from 'pinecone-cli
API
The CLI now matches config options.
- --include-non-italics
+ --include-non-italic-variants
The write meta option has been renamed. The shorthand -m
has been removed.
- --write-meta
+ --update-contributes
Some config options have been renamed and the default variable prefix is now $
.
export default {
- themeFile: './themes/_pinecone-color-theme.json',
- outputDir: './themes',
- varPrefix: '_',
+ source: './themes/_pinecone-color-theme.json',
+ output: './themes',
+ prefix: '$',
options: {
- writeMeta: false
+ updateContributes: false
}
}
Enhancements
- New
defineConfig
wrapper for improved suggestions
import { defineConfig } from 'pinecone-cli'
export default defineConfig({
...
})
Known bugs
pinecone watch
doesn't build when pinecone.config.js is updated (ESM doesn't provide a way to invalidate cache when using import)
Bug fixes
- Italic variants would sometimes be purged when
includeNonItalicVariants
was enabled
v1.6.2
- fix(test): generate non-italic variants b2a4a31
- fix: typo in theme safe list 9e3f157
- fix(deps): revert meow for non-esm support 7e5e247
- chore(deps): update packages & replace yarn 486f85e
- Merge pull request #20 from mvllow/dependabot/npm_and_yarn/glob-parent-5.1.2 2eb5585
- Merge pull request #21 from mvllow/dependabot/npm_and_yarn/normalize-url-4.5.1 b406625
- chore(deps): bump normalize-url from 4.5.0 to 4.5.1 20e154c
- chore(deps): bump glob-parent from 5.1.1 to 5.1.2 725c6b5
- Merge pull request #19 from mvllow/dependabot/npm_and_yarn/trim-newlines-3.0.1 ab5fffb
- chore(deps): bump trim-newlines from 3.0.0 to 3.0.1 12c5a6b
- Merge pull request #18 from mvllow/dependabot/npm_and_yarn/lodash-4.17.21 4130578
- chore(deps): bump lodash from 4.17.20 to 4.17.21 dd22ee3
- refactor: remove unnecessary log 1badfa0
- refactor: update formatting d81ff10
- docs: use spaces 614bc72