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

fix(deps): update dependency bootstrap.native to v5 #1271

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 6, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

thednp/bootstrap.native (bootstrap.native)

v5.0.9

Compare Source

v5.0.8

Compare Source

v5.0.7

Compare Source

v5.0.6

Compare Source

v5.0.5

Compare Source

v5.0.4

Compare Source

v5.0.3

Compare Source

v5.0.2

Compare Source

v5.0.1

Compare Source

v5.0.0

Compare Source

v4.2.0: Important update

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

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: BSN 4.1.0 stable release

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: Major Version Release 4.0 for Bootstrap 5

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: First Bootstrap 5 version available

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.

v3.0.10: BSN now works in HEAD

Compare Source

Updated shorter-js to make BSN work in the site <head> section.

v3.0.9: Fixed components not exported to cdn

v3.0.7: Better and dedicated build tools for components modules

Compare Source

v3.0.6: Components as modules now available, other improvements

Compare Source

Changes:

  • changed all util and imports structure for more accurate bundles
  • addressing #​381, added more build scripts, now dist/components/ folder holds UMD and ESM modules for all components, thanks @​lpar
  • removed dependency on shorter-js for events handling, class manipulation, and more, see commit file changes
  • removed the tryWrapper due to some inconsistency error reporting, despite the benefit it brings
  • Code cleanup

v3.0.5: Minor improvements

Changes:

  • removed the tryWrapper from components themselves, it's now optional because it's included with the initCallback() and removeDataApi() callbacks
  • now the library is sporting a new custom feature: build polyfill with minifill and rollup
  • code cleanup

v3.0.3: Fixed package.json

Compare Source

v3.0.2: Fixes and improvements

Compare Source

Changes:

  • Fixed some positioning with Modal and overflow
  • Simplified the Modal scripting
  • Added option for Carousel to set touch
  • Simplified Carousel initialization script
  • Code cleanup

Documentation updates

  • Tooltip template feature
  • Updates regarding components' original events
  • Updates for Carousel touch options

v3.0.1: Minor fixes

Compare Source

Changes:

  • Modal click handlers fixed to work properly with child targets
  • Documentation fixes

v3.0.0: ES6/ES7 Version

Compare Source

Changes:

  • removed V3 completely, we now continue development for V4 only
  • major reworks for all components with many fixes and improvements, with modern ES6/ES7 sourced scripting
  • all components receive the dispose() instance method and the ability to re-initialize on the fly
  • support for "default prevented" for select event types like show, hide, slide, etc
  • exported most utils to shorter.js
  • removed manual tokenization for better gzip compression
  • reworked polyfills for IE10+ compatibility
  • added rollup build scripts and removed old build scripts
  • removed bower
  • library documentation and wiki guideline updates

Important Notes

  • all components are not exported directly to global anymore because the new rollup build based tools
  • your custom scripting will need updates to use this version, EG: new Carousel('#target') becomes new BSN.Carousel('#target')

More details at #​306


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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, check this box

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

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jan 6, 2024
@renovate renovate bot force-pushed the renovate/bootstrap.native-5.x branch 10 times, most recently from 0681ffd to 665adf0 Compare January 13, 2024 05:00
@renovate renovate bot force-pushed the renovate/bootstrap.native-5.x branch 9 times, most recently from 6ccb911 to 21a709d Compare January 21, 2024 03:17
@renovate renovate bot force-pushed the renovate/bootstrap.native-5.x branch 10 times, most recently from 2f52abc to 662111e Compare January 25, 2024 04:50
@renovate renovate bot force-pushed the renovate/bootstrap.native-5.x branch from b1e720e to 2404b67 Compare March 6, 2024 07:49
@renovate renovate bot changed the title Update dependency bootstrap.native to v5 fix(deps): update dependency bootstrap.native to v5 Mar 6, 2024
@renovate renovate bot force-pushed the renovate/bootstrap.native-5.x branch 14 times, most recently from 90bb77b to 48c2d7e Compare March 13, 2024 15:57
@renovate renovate bot force-pushed the renovate/bootstrap.native-5.x branch 10 times, most recently from fc9617c to a5369fd Compare March 17, 2024 07:18
@renovate renovate bot force-pushed the renovate/bootstrap.native-5.x branch from a5369fd to 9ac78d8 Compare March 17, 2024 07:50
@bigcat88 bigcat88 closed this Mar 17, 2024
Copy link
Contributor Author

renovate bot commented Mar 17, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant