Skip to content

Releases: mvllow/pinecone

v2.1.1

21 Jun 17:46
Compare
Choose a tag to compare
  • fix: always enable invalidate workaround 34536c2

v2.1.0...v2.1.1

v2.1.0

21 Jun 17:38
Compare
Choose a tag to compare

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

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

21 Jun 16:06
Compare
Choose a tag to compare
v2.0.2-1 Pre-release
Pre-release
  • docs: update defaults a4ebbc7
  • feat: init template uses defineConfig 35ed12d

v2.0.2-0...v2.0.2-1

v2.0.2-0

21 Jun 15:57
Compare
Choose a tag to compare
v2.0.2-0 Pre-release
Pre-release
  • 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 (via alpha) 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...v2.0.2-0

v2.0.1-beta

18 Jun 02:52
Compare
Choose a tag to compare
v2.0.1-beta Pre-release
Pre-release
  • fix(temp): remove imports from pinecone-cli in config bdff7e2
  • docs: link to v1 readme fd69c10

v2.0.0...v2.0.1

v2.0.0-beta

18 Jun 01:51
Compare
Choose a tag to compare
v2.0.0-beta Pre-release
Pre-release

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

Bug fixes

  • Italic variants would sometimes be purged when includeNonItalicVariants was enabled

v1.6.2

18 Jun 01:26
Compare
Choose a tag to compare
  • 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

v1.6.1...v1.6.2

v1.6.1

08 Feb 17:53
Compare
Choose a tag to compare

v1.6.0...v1.6.1

v1.6.0

27 Jan 03:35
Compare
Choose a tag to compare
  • Merge pull request #16 from mvllow/feat-improve-watch b257d78
  • feat: watch both config and theme file 2a65737
  • chore(deps): add node-watch ef3db54

v1.5.0...v1.6.0

v1.5.0

27 Jan 03:32
Compare
Choose a tag to compare
  • docs: update watch details 8d75fb2 (this was meant to include the feature too, oops! check out v1.6.0)
  • Merge pull request #15 from mvllow/separate-commands-lib 380a9ef
  • refactor: create commands / lib d134b67

v1.4.3...v1.5.0