Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency bootstrap.native to v4 - autoclosed #276

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 24, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
bootstrap.native (source) ^3.0.14 -> ^4.2.0 age adoption passing confidence

Release Notes

thednp/bootstrap.native

v4.2.0

Compare Source

What's changed

  • removed V4 version of our sources and polyfill, all legacy code is moved to a separate branch
  • Carousel no longer use touch events but a standardized pointer event listener setup
  • Modal and Offcanvas will use a callback for dispose() method combined with specific hide() / close() method
  • Updated Popover / Tooltip for Bootstrap 5.2.x

What's new

  • Added Cypress testing suite for all components
  • Added codeQL
  • Various improvements for Tooltip / Popover, now you can set all content items (Popover title, content and btnClose as HTMLElement or string, Tooltip title) as well as the template option
  • added triggers and isShown property to Toast component
  • Offcanvas also has 'static' backdrop option

What's fixed

  • Fixing Tab issue tab issues thednp/bootstrap.native#444
  • Minor fix for Button.isActive property
  • Minor fixes to allow working with iframes, bugs revealed by Cypress testing
  • Dropdown improvements for automatic positioning

For a complete and detailed view of the changes, check out the commits log

v4.1.2

Compare Source

v4.1.1

Compare Source

v4.1.0

Compare Source

What Changed

In brief, a complete rework of all components for stronger TypeScript or improved JavaScript consistency, as well as new features.

Potentially Breaking Changes

  • Target elements no longer host the initialization object (EG: myAlertElement.Alert), you now need to use the build in static methods (EG: BSN.Alert.getInstance(myAlertElement) which is on par with the original library.
  • Utilities are now split between V4 and V5, V4 will use those versions with legacy browsers fallback while V5 only uses modern browsers utilities only, which means our V5 is completely and definitely free from legacy browsers fallback.
  • Our shorter-js library has suffered an entire sweep of changes to file and folder structure, your de-duped builds may need some updates.

New Features

  • Added TypeScript "strong type" definitions. This effort was possible thanks to @​fmasa.
  • Added the new EventListener to handle component event listeners even more efficient.
  • Added a new Timer to replace various properties added to component targets (EG. myCollapse.isAnimating) the result is: execution must never bubble or break in any case. The following components benefit: Carousel, Collapse, Modal, Tooltip, Popover, Tab and Toast.
  • Added full RTL support for Carousel, Dropdown, Popover & Tooltip, and the demo has been updated to reflect the changes.
  • Carousel can work with multiple controls as long as they match the DATA API to point to the target .carousel element.
  • Tooltip now supports trigger event options just like Popover and the original library.

Improvements

  • Tooltip and Popover now fully implement floating-ui (featured with Popper) to better determine the tooltip / popover position in any configuration or context.
  • Popover is now extending Tooltip, similar to how the original library Popover works, it makes the dist/components.popover.js slightly larger in size, but BSN is overall smaller.
  • Dropdown dynamic positioning is improved to work with RTL languages, but also better handle position in general.

Most Notable Commits

Thanks to all who tested and participated in #​430 @​midzer @​jcorporation @​lekoala

v4.0.7

Compare Source

v4.0.6

Compare Source

v4.0.0

Compare Source

Changes:

  • BSN V5 is now the official build (bootstrap.native.js), BSN V4 is now the legacy version (bootstrap-native.v4.js)
  • Major version bump 4.0.0 as discussed here
  • Complete changelog #​400

v3.0.15

This is an important release, that's why I'm adding here a RELEASE TAG. BSN for Bootstrap 5 is probably close to what I'd call great.

For full changelog, please check #​400

Please test and report back.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/bootstrap.native-4.x branch from f821227 to 88693aa Compare June 18, 2022 16:55
@renovate renovate bot force-pushed the renovate/bootstrap.native-4.x branch from 88693aa to eb6ebac Compare September 25, 2022 21:41
@renovate renovate bot force-pushed the renovate/bootstrap.native-4.x branch from eb6ebac to 4ac602c Compare November 20, 2022 12:40
@renovate renovate bot changed the title Update dependency bootstrap.native to v4 Update dependency bootstrap.native to v4 - autoclosed Mar 17, 2023
@renovate renovate bot closed this Mar 17, 2023
@renovate renovate bot deleted the renovate/bootstrap.native-4.x branch March 17, 2023 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

0 participants