# @bamboocss/logger

## 1.45.4

### Patch Changes

- @bamboocss/types@1.45.4

## 1.45.3

### Patch Changes

- @bamboocss/types@1.45.3

## 1.45.2

### Patch Changes

- @bamboocss/types@1.45.2

## 1.45.1

### Patch Changes

- @bamboocss/types@1.45.1

## 1.45.0

### Patch Changes

- @bamboocss/types@1.45.0

## 1.44.1

### Patch Changes

- @bamboocss/types@1.44.1

## 1.44.0

### Patch Changes

- Updated dependencies [78b4de5]
  - @bamboocss/types@1.44.0

## 1.43.1

### Patch Changes

- @bamboocss/types@1.43.1

## 1.43.0

### Patch Changes

- Updated dependencies [1cef86c]
  - @bamboocss/types@1.43.0

## 1.42.0

### Patch Changes

- Updated dependencies [4fcae37]
- Updated dependencies [6fa8d1a]
- Updated dependencies [5c33622]
  - @bamboocss/types@1.42.0

## 1.41.1

### Patch Changes

- @bamboocss/types@1.41.1

## 1.41.0

### Patch Changes

- @bamboocss/types@1.41.0

## 1.40.1

### Patch Changes

- @bamboocss/types@1.40.1

## 1.40.0

### Patch Changes

- @bamboocss/types@1.40.0

## 1.39.1

### Patch Changes

- @bamboocss/types@1.39.1

## 1.39.0

### Patch Changes

- Updated dependencies [4d27ba4]
  - @bamboocss/types@1.39.0

## 1.38.0

### Patch Changes

- @bamboocss/types@1.38.0

## 1.37.13

### Patch Changes

- @bamboocss/types@1.37.13

## 1.37.12

### Patch Changes

- @bamboocss/types@1.37.12

## 1.37.11

### Patch Changes

- @bamboocss/types@1.37.11

## 1.37.10

### Patch Changes

- @bamboocss/types@1.37.10

## 1.37.9

### Patch Changes

- @bamboocss/types@1.37.9

## 1.37.8

### Patch Changes

- @bamboocss/types@1.37.8

## 1.37.7

### Patch Changes

- @bamboocss/types@1.37.7

## 1.37.6

### Patch Changes

- @bamboocss/types@1.37.6

## 1.37.5

### Patch Changes

- @bamboocss/types@1.37.5

## 1.37.4

### Patch Changes

- @bamboocss/types@1.37.4

## 1.37.3

### Patch Changes

- @bamboocss/types@1.37.3

## 1.37.2

### Patch Changes

- @bamboocss/types@1.37.2

## 1.37.1

### Patch Changes

- @bamboocss/types@1.37.1

## 1.37.0

### Patch Changes

- @bamboocss/types@1.37.0

## 1.36.5

### Patch Changes

- @bamboocss/types@1.36.5

## 1.36.4

### Patch Changes

- @bamboocss/types@1.36.4

## 1.36.3

### Patch Changes

- @bamboocss/types@1.36.3

## 1.36.2

### Patch Changes

- @bamboocss/types@1.36.2

## 1.36.1

### Patch Changes

- @bamboocss/types@1.36.1

## 1.36.0

### Patch Changes

- @bamboocss/types@1.36.0

## 1.35.5

### Patch Changes

- @bamboocss/types@1.35.5

## 1.35.4

### Patch Changes

- @bamboocss/types@1.35.4

## 1.35.3

### Patch Changes

- @bamboocss/types@1.35.3

## 1.35.2

### Patch Changes

- @bamboocss/types@1.35.2

## 1.35.1

### Patch Changes

- @bamboocss/types@1.35.1

## 1.35.0

### Patch Changes

- Updated dependencies [9bfcf31]
  - @bamboocss/types@1.35.0

## 1.34.1

### Patch Changes

- @bamboocss/types@1.34.1

## 1.34.0

### Patch Changes

- Updated dependencies [e66c5f8]
- Updated dependencies [10bf63d]
- Updated dependencies [c49ab36]
- Updated dependencies [c527ea7]
  - @bamboocss/types@1.34.0

## 1.33.0

### Patch Changes

- Updated dependencies [f7bbc14]
  - @bamboocss/types@1.33.0

## 1.32.0

### Patch Changes

- Updated dependencies [b0ed6dc]
- Updated dependencies [8a66bb9]
- Updated dependencies [da792cc]
- Updated dependencies [1cc1860]
- Updated dependencies [c29044f]
- Updated dependencies [f3a8b0d]
- Updated dependencies [c29044f]
  - @bamboocss/types@1.32.0

## 1.31.0

### Minor Changes

- 8fb87ac: Make `hash`, `prefix` and `preflight` compose across a preset and an app, and wire up `logFilter`.

  **Scalar-shorthand options merge per member.** `hash: true` is shorthand for setting both `cssVar` and `className`;
  `prefix: 'bb'` is shorthand for both. Expanding the scalar before merging is what lets the object forms compose — a
  preset setting `prefix.className` and an app setting `prefix.cssVar` now end up with both.

  Before this the later object replaced the earlier one wholesale, and silently, because the two usually name
  _different_ members: a preset's `hash: { cssVar: true }` under an app's `hash: { className: true }` resolved to just
  `{ className: true }`. Both options take optional members, so writing the partial form that triggers it is the natural
  thing to do.

  `false` remains a statement about the whole option and turns it off outright.

  **`logFilter` does something.** It was declared in the config type and read by nothing. The logger's type filter —
  globs over the namespaced log type, `vite:transform`, `tokens:unresolved`, `prune:tokens`, `config` — was reachable
  only through the `BAMBOO_DEBUG` environment variable, which put it out of reach of a checked-in config. It is now
  settable and applied from the config alongside `logLevel`, so a build can stay at `warn` while one subsystem is
  followed in full.

  ```ts
  export default defineConfig({ logLevel: 'warn', logFilter: 'prune:*' })
  ```

  Also adds coverage for the behaviour introduced by the config reshape, which had none: `theme.variants` merging
  (including its nested `extend`), `prune.propertyRegistrations`, pattern `cssProps`, and the warning when `presets` no
  longer includes `@bamboocss/preset-base`.

### Patch Changes

- Updated dependencies [8fb87ac]
- Updated dependencies [8fb87ac]
- Updated dependencies [cd5954c]
- Updated dependencies [678bdee]
- Updated dependencies [774048b]
  - @bamboocss/types@1.31.0

## 1.30.1

### Patch Changes

- @bamboocss/types@1.30.1

## 1.30.0

### Patch Changes

- Updated dependencies
  - @bamboocss/types@1.30.0

## 1.29.0

### Patch Changes

- Updated dependencies [0dbe9c4]
- Updated dependencies [6114f6e]
- Updated dependencies [38393c4]
  - @bamboocss/types@1.29.0

## 1.28.1

### Patch Changes

- Updated dependencies [31749e1]
- Updated dependencies [be39dac]
  - @bamboocss/types@1.28.1

## 1.28.0

### Patch Changes

- Updated dependencies [d7fc408]
  - @bamboocss/types@1.28.0

## 1.27.0

### Patch Changes

- @bamboocss/types@1.27.0

## 1.26.0

### Patch Changes

- @bamboocss/types@1.26.0

## 1.25.0

### Patch Changes

- @bamboocss/types@1.25.0

## 1.24.0

### Patch Changes

- @bamboocss/types@1.24.0

## 1.23.0

### Patch Changes

- Updated dependencies [b041398]
  - @bamboocss/types@1.23.0

## 1.22.0

### Patch Changes

- Updated dependencies [fe62614]
- Updated dependencies [41d9052]
- Updated dependencies [a1062c9]
  - @bamboocss/types@1.22.0

## 1.21.0

### Patch Changes

- @bamboocss/types@1.21.0

## 1.20.4

### Patch Changes

- @bamboocss/types@1.20.4

## 1.20.3

### Patch Changes

- @bamboocss/types@1.20.3

## 1.20.2

### Patch Changes

- @bamboocss/types@1.20.2

## 1.20.1

### Patch Changes

- @bamboocss/types@1.20.1

## 1.20.0

### Patch Changes

- Updated dependencies [5d2c91c]
  - @bamboocss/types@1.20.0

## 1.19.0

### Patch Changes

- @bamboocss/types@1.19.0

## 1.18.0

### Patch Changes

- @bamboocss/types@1.18.0

## 1.17.3

### Patch Changes

- @bamboocss/types@1.17.3

## 1.17.2

### Patch Changes

- @bamboocss/types@1.17.2

## 1.17.1

### Patch Changes

- @bamboocss/types@1.17.1

## 1.17.0

### Patch Changes

- Updated dependencies [355e573]
  - @bamboocss/types@1.17.0

## 1.16.1

### Patch Changes

- @bamboocss/types@1.16.1

## 1.16.0

### Patch Changes

- Updated dependencies [091f2e1]
- Updated dependencies [f2d5df2]
- Updated dependencies [1dbeb84]
- Updated dependencies [d7226f0]
- Updated dependencies [31d8577]
- Updated dependencies [2ab7f19]
- Updated dependencies [ca558fb]
  - @bamboocss/types@1.16.0

## 1.15.0

### Patch Changes

- Updated dependencies [3014989]
  - @bamboocss/types@1.15.0

## 1.14.0

### Patch Changes

- Updated dependencies [b567114]
  - @bamboocss/types@1.14.0

## 1.13.2

### Patch Changes

- @bamboocss/types@1.13.2

## 1.13.1

### Patch Changes

- @bamboocss/types@1.13.1

## 1.13.0

### Patch Changes

- Updated dependencies [a07286f]
- Updated dependencies [a5cb5a8]
  - @bamboocss/types@1.13.0

## 1.12.3

### Patch Changes

- @bamboocss/types@1.12.3

## 1.12.2

### Patch Changes

- @bamboocss/types@1.12.2

## 1.12.1

### Patch Changes

- @bamboocss/types@1.12.1

## 1.12.0

### Patch Changes

- @bamboocss/types@1.12.0

## 1.11.5

### Patch Changes

- @bamboocss/types@1.11.5

## 1.11.4

### Patch Changes

- fix pre-commit hook leaving dirty state after commit
- Updated dependencies
  - @bamboocss/types@1.11.4

## 1.11.3

### Patch Changes

- fix shared package producing chunk files that break codegen output
- Updated dependencies
  - @bamboocss/types@1.11.3

## 1.11.2

### Patch Changes

- 0f49103: migrate build to tsdown
- migrate to tsdown
- Updated dependencies [0f49103]
- Updated dependencies
  - @bamboocss/types@1.11.2

## 1.11.1

### Patch Changes

- Updated dependencies [2ea9205]
  - @bamboocss/types@1.11.1

## 1.11.0

### Patch Changes

- Updated dependencies [78869ae]
  - @bamboocss/types@1.11.0

## 1.10.0

### Patch Changes

- c31f3a2: Improve error handling architecture across all packages.
- Updated dependencies [c31f3a2]
- Updated dependencies [bbaa8b3]
- Updated dependencies [8d3b6f8]
- Updated dependencies [44457bb]
  - @bamboocss/types@1.10.0

## 1.9.1

### Patch Changes

- @bamboocss/types@1.9.1

## 1.9.0

### Patch Changes

- @bamboocss/types@1.9.0

## 1.8.2

### Patch Changes

- Updated dependencies [331d1a5]
  - @bamboocss/types@1.8.2

## 1.8.1

### Patch Changes

- Updated dependencies [3c86c29]
  - @bamboocss/types@1.8.1

## 1.8.0

### Patch Changes

- @bamboocss/types@1.8.0

## 1.7.3

### Patch Changes

- @bamboocss/types@1.7.3

## 1.7.2

### Patch Changes

- @bamboocss/types@1.7.2

## 1.7.1

### Patch Changes

- @bamboocss/types@1.7.1

## 1.7.0

### Patch Changes

- Updated dependencies [86b30b1]
  - @bamboocss/types@1.7.0

## 1.6.1

### Patch Changes

- @bamboocss/types@1.6.1

## 1.6.0

### Patch Changes

- @bamboocss/types@1.6.0

## 1.5.1

### Patch Changes

- @bamboocss/types@1.5.1

## 1.5.0

### Patch Changes

- Updated dependencies [91c65ff]
  - @bamboocss/types@1.5.0

## 1.4.3

### Patch Changes

- @bamboocss/types@1.4.3

## 1.4.2

### Patch Changes

- @bamboocss/types@1.4.2

## 1.4.1

### Patch Changes

- @bamboocss/types@1.4.1

## 1.4.0

### Patch Changes

- @bamboocss/types@1.4.0

## 1.3.1

### Patch Changes

- @bamboocss/types@1.3.1

## 1.3.0

### Patch Changes

- Updated dependencies [70efd73]
  - @bamboocss/types@1.3.0

## 1.2.0

### Patch Changes

- @bamboocss/types@1.2.0

## 1.1.0

### Patch Changes

- Updated dependencies [47a0011]
- Updated dependencies [e8ec0aa]
  - @bamboocss/types@1.1.0

## 1.0.1

### Patch Changes

- @bamboocss/types@1.0.1

## 1.0.0

### Major Changes

- a3bcbea: Stable release of BambooCSS

  ### Style Context

  Add `createStyleContext` function to framework artifacts for React, Preact, Solid, and Vue frameworks

  ```tsx
  import { sva } from 'styled-system/css'
  import { createStyleContext } from 'styled-system/jsx'

  const card = sva({
    slots: ['root', 'label'],
    base: {
      root: {
        color: 'red',
        bg: 'red.300',
      },
      label: {
        fontWeight: 'medium',
      },
    },
    variants: {
      size: {
        sm: {
          root: {
            padding: '10px',
          },
        },
        md: {
          root: {
            padding: '20px',
          },
        },
      },
    },
    defaultVariants: {
      size: 'sm',
    },
  })

  const { withProvider, withContext } = createStyleContext(card)

  const CardRoot = withProvider('div', 'root')
  const CardLabel = withContext('label', 'label')
  ```

  Then, use like this:

  ```tsx
  <CardRoot size="sm">
    <CardLabel>Hello</CardLabel>
  </CardRoot>
  ```

### Patch Changes

- Updated dependencies [a3bcbea]
  - @bamboocss/types@1.0.0

## 0.54.0

### Patch Changes

- @bamboocss/types@0.54.0

## 0.53.7

### Patch Changes

- @bamboocss/types@0.53.7

## 0.53.6

### Patch Changes

- @bamboocss/types@0.53.6

## 0.53.5

### Patch Changes

- @bamboocss/types@0.53.5

## 0.53.4

### Patch Changes

- @bamboocss/types@0.53.4

## 0.53.3

### Patch Changes

- @bamboocss/types@0.53.3

## 0.53.2

### Patch Changes

- @bamboocss/types@0.53.2

## 0.53.1

### Patch Changes

- @bamboocss/types@0.53.1

## 0.53.0

### Patch Changes

- Updated dependencies [5286731]
  - @bamboocss/types@0.53.0

## 0.52.0

### Patch Changes

- @bamboocss/types@0.52.0

## 0.51.1

### Patch Changes

- @bamboocss/types@0.51.1

## 0.51.0

### Patch Changes

- Updated dependencies [d68ad1f]
  - @bamboocss/types@0.51.0

## 0.50.0

### Patch Changes

- Updated dependencies [fea78c7]
- Updated dependencies [ad89b90]
  - @bamboocss/types@0.50.0

## 0.49.0

### Patch Changes

- Updated dependencies [97a0e4d]
  - @bamboocss/types@0.49.0

## 0.48.1

### Patch Changes

- @bamboocss/types@0.48.1

## 0.48.0

### Patch Changes

- @bamboocss/types@0.48.0

## 0.47.1

### Patch Changes

- @bamboocss/types@0.47.1

## 0.47.0

### Patch Changes

- Updated dependencies [5e683ee]
  - @bamboocss/types@0.47.0

## 0.46.1

### Patch Changes

- @bamboocss/types@0.46.1

## 0.46.0

### Patch Changes

- @bamboocss/types@0.46.0

## 0.45.2

### Patch Changes

- @bamboocss/types@0.45.2

## 0.45.1

### Patch Changes

- @bamboocss/types@0.45.1

## 0.45.0

### Patch Changes

- Updated dependencies [dcc9053]
  - @bamboocss/types@0.45.0

## 0.44.0

### Patch Changes

- Updated dependencies [c99cb75]
  - @bamboocss/types@0.44.0

## 0.43.0

### Patch Changes

- Updated dependencies [e952f82]
  - @bamboocss/types@0.43.0

## 0.42.0

### Patch Changes

- Updated dependencies [e157dd1]
- Updated dependencies [19c3a2c]
- Updated dependencies [f00ff88]
- Updated dependencies [17a1932]
  - @bamboocss/types@0.42.0

## 0.41.0

### Patch Changes

- @bamboocss/types@0.41.0

## 0.40.1

### Patch Changes

- @bamboocss/types@0.40.1

## 0.40.0

### Patch Changes

- @bamboocss/types@0.40.0

## 0.39.2

### Patch Changes

- @bamboocss/types@0.39.2

## 0.39.1

### Patch Changes

- @bamboocss/types@0.39.1

## 0.39.0

### Patch Changes

- Updated dependencies [221c9a2]
- Updated dependencies [c3e797e]
  - @bamboocss/types@0.39.0

## 0.38.0

### Patch Changes

- Updated dependencies [96b47b3]
- Updated dependencies [bc09d89]
  - @bamboocss/types@0.38.0

## 0.37.2

### Patch Changes

- Updated dependencies [74dfb3e]
  - @bamboocss/types@0.37.2

## 0.37.1

### Patch Changes

- Updated dependencies [885963c]
  - @bamboocss/types@0.37.1

## 0.37.0

### Patch Changes

- Updated dependencies [bcfb5c5]
- Updated dependencies [6247dfb]
  - @bamboocss/types@0.37.0

## 0.36.1

### Patch Changes

- Updated dependencies [bd0cb07]
  - @bamboocss/types@0.36.1

## 0.36.0

### Patch Changes

- Updated dependencies [861a280]
- Updated dependencies [2691f16]
- Updated dependencies [340f4f1]
- Updated dependencies [fabdabe]
  - @bamboocss/types@0.36.0

## 0.35.0

### Patch Changes

- Updated dependencies [50db354]
- Updated dependencies [f6befbf]
- Updated dependencies [a0c4d27]
  - @bamboocss/types@0.35.0

## 0.34.3

### Patch Changes

- @bamboocss/types@0.34.3

## 0.34.2

### Patch Changes

- @bamboocss/types@0.34.2

## 0.34.1

### Patch Changes

- @bamboocss/types@0.34.1

## 0.34.0

### Patch Changes

- Updated dependencies [d1516c8]
  - @bamboocss/types@0.34.0

## 0.33.0

### Patch Changes

- Updated dependencies [cca50d5]
- Updated dependencies [fde37d8]
  - @bamboocss/types@0.33.0

## 0.32.1

### Patch Changes

- Updated dependencies [a032375]
- Updated dependencies [89ffb6b]
  - @bamboocss/types@0.32.1

## 0.32.0

### Patch Changes

- Updated dependencies [60cace3]
- Updated dependencies [de4d9ef]
  - @bamboocss/types@0.32.0

## 0.31.0

### Patch Changes

- Updated dependencies [8f36f9af]
- Updated dependencies [a17fe387]
- Updated dependencies [2d69b340]
  - @bamboocss/types@0.31.0

## 0.30.2

### Patch Changes

- Updated dependencies [6b829cab]
  - @bamboocss/types@0.30.2

## 0.30.1

### Patch Changes

- @bamboocss/types@0.30.1

## 0.30.0

### Patch Changes

- d5977c24: - Add a `--logfile` flag to the `bamboo`, `bamboo codegen`, `bamboo cssgen` and `bamboo debug` commands.
  - Add a `logfile` option to the postcss plugin

  Logs will be streamed to the file specified by the `--logfile` flag or the `logfile` option. This is useful for
  debugging issues that occur during the build process.

  ```sh
  bamboo --logfile ./logs/bamboo.log
  ```

  ```js
  module.exports = {
    plugins: {
      '@bamboocss/dev/postcss': {
        logfile: './logs/bamboo.log',
      },
    },
  }
  ```

- Updated dependencies [74485ef1]
- Updated dependencies [ab32d1d7]
- Updated dependencies [d5977c24]
  - @bamboocss/types@0.30.0

## 0.29.1

## 0.29.0

## 0.28.0

## 0.27.3

## 0.27.2

## 0.27.1

## 0.27.0

### Minor Changes

- 84304901: Improve performance, mostly for the CSS generation by removing a lot of `postcss` usage (and plugins).

  ## Public changes:
  - Introduce a new `config.lightningcss` option to use `lightningcss` (currently disabled by default) instead of
    `postcss`.
  - Add a new `config.browserslist` option to configure the browserslist used by `lightningcss`.
  - Add a `--lightningcss` flag to the `bamboo` and `bamboo cssgen` command to use `lightningcss` instead of `postcss`
    for this run.

  ## Internal changes:
  - `markImportant` fn from JS instead of walking through postcss AST nodes
  - use a fork of `stitches` `stringify` function instead of `postcss-css-in-js` to write the CSS string from a JS
    object
  - only compute once `TokenDictionary` properties
  - refactor `serializeStyle` to use the same code path as the rest of the pipeline with `StyleEncoder` / `StyleDecoder`
    and rename it to `transformStyles` to better convey what it does

## 0.26.2

## 0.26.1

## 0.26.0

## 0.25.0

## 0.24.2

## 0.24.1

## 0.24.0

## 0.23.0

### Patch Changes

- bd552b1f: Log stacktrace on error instead of only logging the message

## 0.22.1

## 0.22.0

## 0.21.0

## 0.20.1

## 0.20.0

## 0.19.0

## 0.18.3

## 0.18.2

## 0.18.1

## 0.18.0

## 0.17.5

## 0.17.4

## 0.17.3

## 0.17.2

## 0.17.1

## 0.17.0

## 0.16.0

## 0.15.5

## 0.15.4

## 0.15.3

## 0.15.2

## 0.15.1

## 0.15.0

## 0.14.0

## 0.13.1

## 0.13.0

## 0.12.2

## 0.12.1

## 0.12.0

## 0.11.1

## 0.11.0

## 0.10.0

## 0.9.0

## 0.8.0

## 0.7.0

## 0.6.0

## 0.5.1

### Patch Changes

- f9247e52: Provide better error logs:
  - full stacktrace when using BAMBOO_DEBUG
  - specific CssSyntaxError to better spot the error

## 0.5.0

## 0.4.0

## 0.3.2

## 0.3.1

### Patch Changes

- efd79d83: Baseline release for the launch

## 0.3.0

## 0.0.2

### Patch Changes

- fb40fff2: Initial release of all packages
  - Internal AST parser for TS and TSX
  - Support for defining presets in config
  - Support for design tokens (core and semantic)
  - Add `outExtension` key to config to allow file extension options for generated javascript. `.js` or `.mjs`
  - Add `jsxElement` option to patterns, to allow specifying the jsx element rendered by the patterns.
