ssr_cli 0.1.8
ssr_cli: ^0.1.8 copied to clipboard
Command-line interface for SSR Framework - Create projects, generate code, build and serve
Changelog #
All notable changes to SSR Framework will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.8 - 2025-07-31 #
Fixed #
- Fix server.dart imports to use correct relative paths (../lib/pages/...)
- Server can now start without import errors
0.1.7 - 2025-07-31 #
Fixed #
- Update angulardart dependency to ^8.0.8 (includes missing model.g.dart)
- Build now succeeds without errors
0.1.6 - 2025-07-31 #
Fixed #
- Update ssr_client dependency to ^0.1.3
- Simplify dependency injection (no more Client injection)
- Fix AngularDart build issues with http package
0.1.5 - 2025-07-31 #
0.1.4 - 2025-07-31 #
Fixed #
- Replace relative path dependencies with published versions from pub.dev
- Use angulardart ^8.0.6 and angulardart_test ^5.0.2 from pub.dev
- Use ssr_core ^0.1.0, ssr_server ^0.1.0, ssr_client ^0.1.1 from pub.dev
- Downgrade lints to ^4.0.0 for compatibility with angulardart_test
0.1.3 - 2025-07-31 #
Fixed #
- Normalize project names to use underscores (Dart identifier requirement)
- Convert hyphens to underscores in project name, directory, and pubspec
0.1.2 - 2025-07-31 #
Fixed #
- Wire up command options in main parser (--template, --force, --release, --port)
- Fix argument parsing for all subcommands
0.1.1 - 2025-07-31 #
Fixed #
- Escape
$in regex replacement string intemplate_utils.dart - Fix Dart 3
catchsyntax inssr_cli.dart - Fix nested triple-quoted strings in
generate.dartcomponent template - Remove unused imports in
create.dartandgenerate.dart - Remove unused
targetDirvariable inbuild.dart
0.1.0 - 2024-01-26 #
Added #
-
Initial release
-
ssr_core: Core interfaces and types
SsrApp,SsrPage,SsrConfigSsrRouter,SsrRouteSsrStatefor state management
-
ssr_server: Server-side rendering engine
- HTTP server with Alfred
- Template engine with Jinja
- Static file serving
- SEO routes (sitemap.xml, robots.txt)
- PWA support (manifest.json)
-
ssr_client: Client-side hydration
HydrationServicefor data transferNavigationServicefor client-side routingApiServicefor HTTP requestsMetaServicefor dynamic meta tags
-
ssr_router: File-based routing
- Automatic route discovery
- Dynamic routes with parameters
- Route registry
-
ssr_hydration: Automatic hydration
- Server-to-client data transfer
- JSON serialization/deserialization
-
ssr_seo: SEO utilities
- Sitemap generation
- Robots.txt generation
- Meta tags management
-
ssr_pwa: PWA utilities
- Manifest generation
- Service worker generation
- Offline support
-
ssr_cli: Command-line interface
ssr create- Create new projectsssr generate- Generate pages, components, servicesssr build- Build for productionssr serve- Start development server
-
ssr_example: Example application
- Home page
- Profile page
- About page
- Full SSR + hydration demo
Features #
- Server-Side Rendering (SSR)
- Automatic hydration
- File-based routing
- Code splitting with deferred imports
- Prefetching with IntersectionObserver
- Optimistic updates
- Error boundaries
- Loading states
- Page transitions
- SEO optimization (meta tags, sitemap, robots)
- PWA support (service worker, manifest, offline)
- SQLite database integration
- State management (Redux-like)
- API client
- Dynamic meta tags
Documentation #
- Quick start guide
- Installation guide
- Deployment guide
- Configuration guide
- Best practices
- Troubleshooting
- FAQ
- API reference for all packages
- Example applications (blog, portfolio)