feat: Prepare for v0.5.0 release

- Bump workspace version to 0.5.0
- Update main package to v0.5.0
- Add performance audit system documentation
- Temporarily comment out performance audit dependency for publishing
This commit is contained in:
Peter Hanssens
2025-09-04 22:15:51 +10:00
parent fe17b6a8a0
commit 646da84211
5 changed files with 47 additions and 19 deletions

34
Cargo.lock generated
View File

@@ -2250,17 +2250,6 @@ dependencies = [
"web-sys",
]
[[package]]
name = "leptos-shadcn-error-boundary"
version = "0.4.0"
dependencies = [
"leptos",
"log",
"shadcn-ui-test-utils",
"wasm-bindgen-test",
"web-sys",
]
[[package]]
name = "leptos-shadcn-error-boundary"
version = "0.4.0"
@@ -2272,6 +2261,17 @@ dependencies = [
"web-sys",
]
[[package]]
name = "leptos-shadcn-error-boundary"
version = "0.5.0"
dependencies = [
"leptos",
"log",
"shadcn-ui-test-utils",
"wasm-bindgen-test",
"web-sys",
]
[[package]]
name = "leptos-shadcn-form"
version = "0.4.0"
@@ -2433,15 +2433,15 @@ dependencies = [
[[package]]
name = "leptos-shadcn-lazy-loading"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8c15e13c1824f88a6a8796b96042a9fe8dbfc4c5984fb37c41a0fbec2ece9f0"
dependencies = [
"leptos",
]
[[package]]
name = "leptos-shadcn-lazy-loading"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8c15e13c1824f88a6a8796b96042a9fe8dbfc4c5984fb37c41a0fbec2ece9f0"
version = "0.5.0"
dependencies = [
"leptos",
]
@@ -3063,7 +3063,7 @@ dependencies = [
[[package]]
name = "leptos-shadcn-ui"
version = "0.4.1"
version = "0.5.0"
dependencies = [
"gloo-timers",
"leptos",
@@ -3088,13 +3088,13 @@ dependencies = [
"leptos-shadcn-dialog 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"leptos-shadcn-drawer 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"leptos-shadcn-dropdown-menu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"leptos-shadcn-error-boundary 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"leptos-shadcn-error-boundary 0.4.0",
"leptos-shadcn-form 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"leptos-shadcn-hover-card 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"leptos-shadcn-input 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"leptos-shadcn-input-otp 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"leptos-shadcn-label 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"leptos-shadcn-lazy-loading 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"leptos-shadcn-lazy-loading 0.4.0",
"leptos-shadcn-menubar 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"leptos-shadcn-navigation-menu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"leptos-shadcn-pagination 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@@ -81,7 +81,7 @@ authors = ["CloudShuttle <info@cloudshuttle.com>"]
edition = "2024"
license = "MIT"
repository = "https://github.com/cloud-shuttle/leptos-shadcn-ui"
version = "0.4.0"
version = "0.5.0"
[workspace.dependencies]
leptos = "0.8"

View File

@@ -16,6 +16,7 @@
-**E2E Tests**: 129 Playwright tests covering all workflows
-**Quality Standards**: Industry-best practices implemented
-**Documentation**: Comprehensive guides and examples
-**Performance Audit**: Complete TDD performance monitoring system
---
@@ -28,6 +29,7 @@
- **Accessibility First** - WCAG compliance built into every component
- **Performance Optimized** - No memory leaks or performance bottlenecks
- **Cross-Platform** - Works consistently across all major browsers and devices
- **Performance Monitoring** - Built-in performance audit and optimization tools
## 🚀 **Quick Start**
@@ -62,6 +64,24 @@ pub fn MyForm() -> impl IntoView {
}
```
### **Performance Monitoring**
Monitor and optimize your component performance with the built-in audit system:
```bash
# Install the performance audit tool
cargo install leptos-shadcn-performance-audit
# Run comprehensive performance audit
performance-audit audit
# Analyze bundle sizes
performance-audit bundle --components-path packages/leptos
# Monitor real-time performance
performance-audit monitor --duration 30s
```
### **Run Examples**
```bash

View File

@@ -1,6 +1,6 @@
[package]
name = "leptos-shadcn-ui"
version = "0.4.1"
version = "0.5.0"
edition = "2021"
description = "A comprehensive collection of beautiful, accessible UI components built for Leptos v0.8+, inspired by shadcn/ui. Core components with 100% test coverage, automated testing infrastructure, and production-ready quality standards. Focus on reliable, well-tested components without external icon dependencies. Fully compatible with Leptos v0.8 attribute system."
homepage = "https://github.com/cloud-shuttle/leptos-shadcn-ui"
@@ -68,6 +68,7 @@ leptos-shadcn-drawer = { version = "0.4.0", optional = true }
leptos-shadcn-alert-dialog = { version = "0.4.0", optional = true }
leptos-shadcn-avatar = { version = "0.4.0", optional = true }
leptos-shadcn-resizable = { version = "0.4.0", optional = true }
# leptos-shadcn-performance-audit = { version = "0.1.0", optional = true }
# Additional packages (published dependencies for v0.4.0 release)
leptos-shadcn-error-boundary = { version = "0.4.0", optional = true }
@@ -136,6 +137,7 @@ drawer = ["leptos-shadcn-drawer"]
alert-dialog = ["leptos-shadcn-alert-dialog"]
avatar = ["leptos-shadcn-avatar"]
resizable = ["leptos-shadcn-resizable"]
# performance-audit = ["leptos-shadcn-performance-audit"]
error-boundary = ["leptos-shadcn-error-boundary"]
lazy-loading = ["leptos-shadcn-lazy-loading"]
registry = ["leptos-shadcn-registry"]

View File

@@ -36,6 +36,12 @@
//! ### Interactive Components
//! - Slider, Toggle
//!
//! ### Performance Monitoring
//! - Performance Audit System - Comprehensive performance monitoring and optimization
//! - Bundle Size Analysis - Component size tracking and optimization recommendations
//! - Real-time Monitoring - Performance metrics collection and analysis
//! - CLI Tool - Command-line interface for running audits and generating reports
//!
//! ## License
//!
//! MIT License - see the [LICENSE](../LICENSE) file for details.