lurp 0.2.0
lurp: ^0.2.0 copied to clipboard
A Flutter package to display interactive read-only polls (Selection, Slider, and Rating) and thought posts integrated with the Lurp ecosystem.
0.2.0 #
- Breaking Change: Swapped the primary
Lurpwidget constructors: the default unnamedLurp(...)constructor now fetches posts dynamically from the network viapostId, andLurp.local(...)renders pre-loaded local models. - Breaking Change: Removed all development environment API parameters (
isProdand thedev.api.lurp.itconfiguration) to route all network traffic directly to the production endpoint. - Feature: Made the
apiKeyparameter optional inLurp.initialize(...). When provided, it is securely transmitted using a customLurp-Access-Tokenrequest header. - Refactor: Reorganized the internal directory structure to follow Clean Architecture principles, grouping code under
src/core/,src/domain/,src/data/, andsrc/presentation/.
0.1.0 #
- Breaking Change (Namespacing Refactor): Prefixed generic public classes and files with
Lurp(e.g.,User->LurpUser,Post->LurpPost,Comment->LurpComment,PostRepository->LurpPostRepository) to prevent namespace collisions when implementing the package in host applications. - Feature: Upgraded
RatingWidgetto support custom layered SVG stars and animated wipe reveals utilizingStarArtworkClipper(with 0.55 visible ratio) andIconAsset. - Feature: Added interactive state support to
RatingWidgetvia self-contained StatefulWidget logic that triggers rating animations on click. - Dependency: Added
flutter_svgtopubspec.yamlto enable vector graphics support. - Testing: Fixed the example app's test suite to use the updated class structure and verified everything with passing tests.
0.0.5 #
- Refactored: Replaced external
loggerpackage dependency with a lightweight, customLurpLoggerusingdart:developerandprintfor Web support. - Dependency Update: Upgraded
dioconstraint to^5.6.0. - Maintenance: Cleaned up unused comments and updated description in
example/pubspec.yaml.
0.0.4 #
- Fixed: Corrected
SocketExceptionhandling for non-Web platforms by introducing platform-specific implementations for connection error detection. - Refactored: Updated
ApiClientto use platform-specific connection error checking instead of directdart:ioimports. - Maintenance: Addressed
deprecated_member_uselint forcacheExtentinCommentsSectionContent.
0.0.3 #
- Fixed: Configured
pubspec.yamlsettings to optimize pub points and fixed Dartconstwarning/lint errors. - Refactored: Performed internal code refactoring across the codebase without changing external APIs or functionality.
0.0.2 #
- Fixed: Resolved
DioExceptionerror by updatingdiodependency constraint. - Added: Full platform support declarations in
pubspec.yaml. - Improved: Added Dartdoc comments (
///) to improve API readability.
0.0.1 #
- Initial release of the
lurppackage. - Added
LurpPostWidgetto display polls and thought posts by ID. - Standardized selection, slider, rating, and thought post components as read-only standard Flutter widgets.