# Version 0.1.0

> Initial release of Zest cookie consent toolkit

Source: https://zest.freshjuice.dev/changelog/v0.1.0/
Date: 2026-01-21

The first public release of Zest - a lightweight, zero-dependency cookie consent toolkit.

## Features

### Core Functionality

- **Intelligent Script Blocking** - Automatically detect and block tracking scripts
- **Cookie Interception** - Intercept `document.cookie` operations
- **Storage Interception** - Proxy `localStorage` and `sessionStorage`
- **Consent Management** - Track user consent across four categories

### Blocking Modes

- `manual` - Only block explicitly tagged scripts
- `safe` - Block known major trackers (Google Analytics, Facebook, GTM)
- `strict` - Extended tracker blocking (Hotjar, Mixpanel, Segment, etc.)
- `doomsday` - Block all third-party scripts

### Privacy Controls

- Respect Do Not Track (DNT) browser signal
- Respect Global Privacy Control (GPC)
- Configurable DNT behavior (reject, preselect, ignore)

### UI Components

- Consent banner with customizable position
- Settings modal with per-category toggles
- Floating widget for reopening settings
- Light/Dark/Auto theme support
- Accent color customization

### Internationalization

- 12 built-in languages (EN, DE, ES, FR, IT, PT, NL, PL, UK, RU, JA, ZH)
- Auto-detection from HTML lang attribute
- Custom label overrides

### Developer Experience

- Simple configuration via `window.ZestConfig` or data attributes
- Comprehensive event system
- Callback support for consent lifecycle
- Programmatic API for full control

## Installation

```bash
npm install @freshjuice/zest
```

Or via CDN:

```html
<script src="https://unpkg.com/@freshjuice/zest"></script>
```

## Bundle Size

- Full bundle (all languages): ~14KB gzipped
- Single language: ~9KB gzipped

