Skip to content

Releases: domProjects/codeigniter4-bootstrap

v1.1.1

13 Apr 17:40

Choose a tag to compare

This release is a maintenance and stabilization update for the 1.1 branch. It fixes CI issues affecting static analysis, improves typing across the codebase, and keeps the package stable and clean after the v1.1.0 feature expansion.

Fixed

  • Fixed Psalm CI issues caused by template view files being analyzed as regular PHP source files
  • Fixed PHPStan CI issues related to missing iterable value types in Cells, helpers, and tests
  • Fixed return type annotations for action payloads in EmptyStateCell
  • Fixed several helper and test annotations to better reflect the actual data structures used by the package
  • Fixed static analysis noise around helper array handling

Improved

  • Improved static analysis compatibility across the package
  • Improved type annotations in multiple Cells, helpers, and tests
  • Improved CI consistency so PHPUnit, Psalm, and PHPStan run cleanly
  • Improved documentation references and supporting content for recent additions such as ImageCell and FigureCell

Documentation

  • Kept the shorter root README.md
  • Preserved the structured docs/ layout introduced in v1.1.0
  • Updated documentation coverage for recently added content-oriented Cells

Testing

  • Full test suite passes successfully
  • Psalm passes without errors
  • PHPStan passes without errors

Compatibility

This release does not introduce breaking changes and remains fully compatible with the existing 1.1.x API.

v1.1.0

13 Apr 17:10

Choose a tag to compare

This release significantly expands the package with many new reusable Bootstrap 5 Cells for CodeIgniter 4, improves helper support for forms, validation, and tables, and reorganizes the documentation into a cleaner docs/ structure.

Added

  • Added many new Bootstrap 5 Cells for common UI components and content display
  • Added support for navigation and interactive components such as breadcrumbs, pagination, navbars, dropdowns, tabs, accordions, modals, toasts, offcanvas panels, collapse blocks, and carousels
  • Added support for utility and feedback components such as progress bars, spinners, placeholders, popovers, tooltips, scrollspy blocks, and close buttons
  • Added richer form-related Cells including FormCell, InputGroupCell, and ValidationCell
  • Added table and data display Cells including TableCell, DescriptionListCell, StatsCardsCell, and EmptyStateCell
  • Added content-oriented Cells such as ImageCell and FigureCell
  • Added ButtonGroupCell, ButtonToolbarCell, and NavCell
  • Added CI4 helper functions to simplify validation-aware form payloads and table payload generation

Improved

  • Improved BreadcrumbCell with more advanced configuration options
  • Improved PaginationCell with generated pagination support and richer controls
  • Improved form handling with support for validation states, floating labels, checks, radios, switches, and layout helpers
  • Improved InputGroupCell with floating labels, validation support, and richer segment handling
  • Improved TableCell with structured rows, actions, empty states, and responsive stacked helpers
  • Improved helper integration with CI4 validation, old input, and result-based table generation
  • Added English docblocks and comments across helpers and Cells
  • Reorganized documentation into a dedicated docs/ directory
  • Simplified the root README.md and moved detailed reference material into focused guides

Documentation

  • Added a documentation index in docs/index.md
  • Added a dedicated Cells reference index in docs/cells/index.md
  • Split component documentation into focused guides:
    • docs/cells/core-components.md
    • docs/cells/overlays-and-navigation.md
    • docs/cells/forms-and-data.md
  • Added dedicated helper and development guides

Testing

  • Added test coverage for all newly introduced Cells
  • Extended helper and component tests
  • Full test suite passes successfully

Compatibility

This release is backward compatible with the existing 1.0.x API.

v1.0.1

10 Apr 11:06

Choose a tag to compare

This version improves the package development and quality assurance workflow without introducing breaking changes.

Included in this release:

  • DevKit-based development tooling setup
  • PHPUnit test coverage for the Bootstrap publisher and Spark command
  • PHPStan, Psalm, Rector, and PHP-CS-Fixer configuration
  • improved inline documentation and internal code quality
  • no public API changes

v1.0.0

02 Apr 11:21

Choose a tag to compare

Initial stable release.

- Adds the `assets:publish-bootstrap` Spark command
- Publishes Bootstrap 5 assets to `public/assets/bootstrap`
- Compatible with CodeIgniter 4.7.2+ and Bootstrap 5.3.8+