Skip to content

Commit b500d35

Browse files
thegdsksglinr
andcommitted
feat: ship v2.0.0 — bundle surgery, docs redesign, branding
Breaking changes: - Core barrel slimmed to subpath-only imports (91% reduction, 34kB → 3kB gzip) - Zod moved to optional peer dependency Docs site: - 13-section landing page with live component demos and animations - 6 framework adapter guides (Vue, Svelte, Solid, Preact, Angular, Web Components) - Component gallery with live demos, props tables, install snippets - Expanded migration guide, launch flow, admin, release lifecycle docs - SEO: sitemap with lastmod/priority, FAQPage + SoftwareApplication JSON-LD - Deployment switched to Cloudflare Pages with featuredrop.dev custom domain Library: - Remote adapter hardened with retry logic and request deduplication - README polished: stars/downloads badges, segmentation section, adapter table - CHANGELOG.md with full version history - 57 docs pages, 374+ tests passing Co-Authored-By: Glinr <bot@glincker.com>
1 parent c09159d commit b500d35

126 files changed

Lines changed: 9187 additions & 2431 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docs-pages.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## [2.0.0] - 2026-02-27
6+
7+
### Breaking Changes
8+
9+
- **Core barrel slimmed**: `src/index.ts` no longer re-exports bridges, CMS adapters, admin components, analytics, schema validation, or database adapters. Import these from their subpaths instead:
10+
- `featuredrop/bridges` — SlackBridge, DiscordBridge, etc.
11+
- `featuredrop/admin` — ManifestEditor, AudienceBuilder, etc.
12+
- `featuredrop/schema` — validateManifest, featureEntrySchema, etc.
13+
- `featuredrop/ci` — diffManifest, validateManifestForCI, etc.
14+
- `featuredrop/flags` — createFlagBridge, LaunchDarklyBridge, etc.
15+
- `featuredrop/analytics` — AnalyticsCollector, PostHogAdapter, etc.
16+
- **Zod moved to optional peer dependency**: Only needed if you use `featuredrop/schema`. Core no longer requires it.
17+
18+
### Performance
19+
20+
- Core bundle reduced from 34.31 kB to 3.01 kB gzip (91% reduction)
21+
- Strict bundle budgets enforced: core < 5 kB, react < 55 kB, vue < 10 kB, svelte < 5 kB
22+
- Tree-shaking now works correctly — importing `isNew` from `featuredrop` pulls < 3 kB
23+
24+
### Documentation
25+
26+
- Added 6 framework adapter docs: Vue, Svelte, Solid, Preact, Angular, Web Components
27+
- Redesigned landing page with 13 sections, live interactive demos, comparison table, animated stats
28+
- Expanded release lifecycle, launch flow, admin components, and migration guide
29+
- Component gallery upgraded with live demos, props tables, and install snippets
30+
- Redesigned footer with 3-column layout
31+
- Total docs pages: 57 (up from 48)
32+
33+
### Fixes
34+
35+
- Fixed README size claims (< 3 kB core, not < 2 kB)
36+
- Fixed broken imports in README examples (subpath imports for analytics, CMS, renderer)
37+
- Updated tagline to "The open-source product adoption toolkit"
38+
- Added landing page comparison table vs Beamer and Pendo
39+
40+
## [1.3.0] - 2026-02-27
41+
42+
### Added
43+
44+
- Expanded docs site with live component demos
45+
- Code demo cards with preview/code tabs
46+
- 14 interactive component demos
47+
- Docs analytics tracking
48+
- SEO optimization with sitemap and robots.txt
49+
50+
## [1.2.0] - 2026-02-27
51+
52+
### Added
53+
54+
- Security audit script and CI checks
55+
- Error boundaries for production resilience
56+
- Accessibility testing with axe-core
57+
- Schema validation with Zod
58+
- Bundle budget monitoring
59+
60+
## [1.1.0] - 2026-02-26
61+
62+
### Added
63+
64+
- ChangelogWidget with Markdown support and emoji reactions
65+
- Spotlight and SpotlightChain components
66+
- Banner and Toast notification components
67+
- Tour and Checklist onboarding components
68+
- FeedbackWidget and Survey components
69+
- Feature request voting widget
70+
- useTabNotification hook
71+
- 8 framework adapters: React, Vue, Svelte, Solid, Preact, Angular, Web Components, vanilla JS
72+
- User segmentation with audience rules
73+
- Feature flag bridges (LaunchDarkly, generic)
74+
- Notification bridges (Slack, Discord, Email, Webhook, RSS)
75+
- CMS adapters (Contentful, Sanity, Strapi, Notion, Markdown)
76+
- Database adapters (Postgres, Redis, MySQL, MongoDB, SQLite, Supabase)
77+
- Admin components (ManifestEditor, ScheduleCalendar, PreviewPanel, AudienceBuilder)
78+
- CLI tooling (validate, doctor, build, diff)
79+
- CI utilities for manifest validation
80+
- Theme engine with presets
81+
- Animation system with reduced-motion support
82+
- Internationalization (i18n) support
83+
84+
## [1.0.0] - 2026-02-26
85+
86+
### Added
87+
88+
- Core engine: `isNew()`, `getNewFeatures()`, `getNewFeatureCount()`, `hasNewFeature()`, `getNewFeaturesSorted()`
89+
- Watermark + dismissed IDs dual-layer newness model
90+
- `MemoryAdapter` and `LocalStorageAdapter` storage adapters
91+
- React bindings: `FeatureDropProvider`, `NewBadge`, `useFeatureDrop`, `useNewFeature`, `useNewCount`
92+
- `createManifest()`, `getFeatureById()`, `getNewFeaturesByCategory()` helpers
93+
- Full TypeScript types with zero `any`
94+
- Dual ESM/CJS build with tsup
95+
- 121 passing tests
96+
- CI/CD with GitHub Actions

0 commit comments

Comments
 (0)