Skip to content

Launchpad 2.0

Latest
Compare
Choose a tag to compare
@claytercek claytercek released this 26 Nov 21:07
· 3 commits to develop since this release
97012a7

πŸŽ‰ Major Release Overview

Launchpad 2.0 represents a complete architectural overhaul focused on flexibility, type safety, and developer experience. This release is not backwards compatible with 1.x versions.

πŸ“¦ Package Structure Changes

  • @bluecadet/launchpad is now a meta-package
    • Contains no code of its own
    • Acts as convenient shorthand for installing all Launchpad packages
    • Ensures consistent versioning across the ecosystem

πŸš€ Key Features

TypeScript Migration

  • Entire codebase converted to TypeScript for improved type safety and developer experience
  • Better IDE integration and autocomplete support
  • Runtime type validation using Zod

New Plugin Architecture

  • Introduced flexible plugin API across content, monitor, and core packages
  • Content sources reimplemented as composable functions
  • Media transformations and downloaders now available as optional plugins
  • Enhanced error handling using neverthrow

Improved CLI Experience

  • New dedicated @bluecadet/launchpad-cli package
  • Lazy-loaded commands for faster startup times
  • Centralized configuration and environment handling
  • Better command organization and documentation

Documentation

  • Brand new documentation site
  • Improved API references and examples
  • Better getting started guides

πŸ’₯ Breaking Changes

Configuration

  • Removed JSON config files in favor of JavaScript configuration
  • Removed credentials.json API in favor of environment variables

Content Package

  • Content sources must be implemented as functions
  • Media handling moved to plugin system

Monitor Package

  • Refactored error handling
  • New event hook system
  • Plugin-based monitoring capabilities

πŸ”„ Migration Guide

To upgrade from 1.x:

  1. Update configuration files to TypeScript/JavaScript format
  2. Migrate credentials to environment variables
  3. Convert custom content sources to function format
  4. Update media transformation code to use plugins
  5. Update content transformations to use plugins

πŸ“¦ Packages

  • @bluecadet/launchpad: Meta-package for installing all components
  • @bluecadet/launchpad-cli: New CLI package
  • @bluecadet/launchpad-content: Content management
  • @bluecadet/launchpad-monitor: Monitoring tools
  • @bluecadet/launchpad-utils: Shared utilities
  • @bluecadet/launchpad-scaffold: Project scaffolding
  • @bluecadet/launchpad-dashboard: Management UI

For detailed migration steps and API documentation, please visit our new documentation site https://bluecadet.github.io/launchpad/