Repository navigation
Releases: Pregum/http_sandbox_viewer
Releases · Pregum/http_sandbox_viewer
Release list
v0.1.1 - Working Sample APIs
🎉 HTTP Sandbox Viewer v0.1.1
A production-ready Flutter package for debugging HTTP requests with working sample APIs and optimized package size.
🔧 Key Improvements
- ✅ Working Sample APIs: All 5 sample APIs now use functional JSONPlaceholder endpoints
- 📦 Optimized Package: 70% size reduction (232KB → 68KB) with
.pubignoreoptimizations - 🚫 Zero 404 Errors: 16/16 unique API paths verified to return HTTP 200
- 📱 Enhanced UI: Improved center alignment in example applications
🛠️ What's Fixed
API Endpoints
- E-commerce API: Creative mapping using JSONPlaceholder (
/posts→ Products,/albums→ Categories,/todos→ Orders) - OpenAPI JSON/YAML: Converted from non-working PetStore/Books APIs to JSONPlaceholder format
- All sample methods:
jsonPlaceholder(),postsCrud(),usersCrud(),ecommerce(),socialMedia()fully functional
Package Optimization
- Excluded development files:
summary.txt,mise.toml,CLAUDE.md - Excluded build artifacts:
build/directory,*.imlfiles - Excluded platform files:
example/macos/directory - Result: Clean, production-ready 68KB package
🚀 Ready for Production
- ✅ Dry-run tests: Pass with 0 warnings
- ✅ Static analysis: 147 lint warnings (prefer_const_constructors only - non-blocking)
- ✅ Core functionality: All 5 package tests pass
- ✅ Real API testing: All endpoints verified working
📚 Usage
dependencies:
http_sandbox_viewer: ^0.1.1// Setup Dio with interceptor
dio.interceptors.add(HttpSandboxInterceptor());
// Open dashboard with working sample APIs
Navigator.push(context, MaterialPageRoute(
builder: (context) => HttpSandboxDashboard(
apiDefinitions: SampleApiDefinitions.all(), // All 7 sample APIs
),
));🔮 What's Next
This release provides a solid foundation with working APIs and optimized packaging. Future releases will focus on:
- Retrofit integration for auto-generated API definitions
- Advanced filtering and export features
- Performance metrics and mock response capabilities
Full changelog: CHANGELOG.md
Ready to publish: flutter pub publish