Skip to content

v4.0.2: Bootstrap 4 maintenance fixes - #12

Merged
gmpassos merged 1 commit into
4.xfrom
fixes-4.0.2
Oct 7, 2026
Merged

gmpassos merged 1 commit into
4.xfrom
fixes-4.0.2

Conversation

@gmpassos

@gmpassos gmpassos commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Bootstrap 4 maintenance release v4.0.2 (branch 4.x).

  • JQuery.openWindow: no longer throws when JQuery isn't loaded — uses JQuery html() if present (unchanged behavior), otherwise falls back to body.innerHTML.
  • Moment.locale: returns false instead of throwing (_moment!) when Moment isn't loaded yet.
  • BSDateRangePicker: removed debug prints (whole config on each render; selected range on each change).
  • BootstrapIcons: removed a stray font entry from iconsList (getIconPath('font') returned a path to a missing file).
  • README: Bootstrap Icons 1.10.4 (was "1.8.1"), Date Range Picker version, 4.x note, package:web-style usage example.

Tests (39 browser + 11 VM):

  • New bones_ui_bootstrap_unloaded_test.dart: Moment.locale and JQuery.openWindow with nothing loaded.
  • Integration: JQuery.openWindow with JQuery.
  • New VM consistency tests: iconsList ⇔ lib/icons, versions across code/assets/pubspec/CHANGELOG/README, no stale bundled libs, daterangepicker.js patches present, no debug prints.
  • CI: also runs dart test --platform vm.

🤖 Generated with Claude Code

- JQuery.openWindow: works without JQuery (innerHTML fallback).
- Moment.locale: returns false instead of throwing when not loaded.
- BSDateRangePicker: remove debug prints.
- BootstrapIcons: remove stray `font` entry.
- README: versions, 4.x note, usage example.
- Tests: unloaded libraries, openWindow, VM consistency checks; CI runs VM tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gmpassos
gmpassos merged commit 7811249 into 4.x Oct 7, 2026
1 check passed
@gmpassos gmpassos mentioned this pull request Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant