Skip to content

Releases: Jahia/bootstrap5

bootstrap5-modules-2.3.1

27 Feb 09:15
Compare
Choose a tag to compare

bootstrap5-modules-2.3.0

29 Aug 07:49
Compare
Choose a tag to compare

bootstrap5-modules-2.2.2

21 Apr 11:02
Compare
Choose a tag to compare

Full Changelog: bootstrap5-modules-2.2.1...bootstrap5-modules-2.2.2
Fix the remember me login feature

bootstrap5-modules-2.2.1

14 Feb 13:27
Compare
Choose a tag to compare

bootstrap5-modules-2.2.0

17 Jan 10:24
Compare
Choose a tag to compare

Starting with version 2.2.0, the bootstrap5-core bundle no longer provides mappings for assets. This means that you will need to ensure that all of your views use one of the following resources for a Bootstrap 5 project:

  • bootstrap.min.css
  • bootstrap.bundle.min.js

If you suspect that your code or some third-party bundles are still using uncompressed resources such as bootstrap.css or bootstrap.js, and even popper.js or popper.min.js, you may need to add the following mappings in a spring file:

<bean class="org.jahia.services.render.StaticAssetMapping">
    <property name="mapping">
        <map>
            <entry key="bootstrap.css" value="bootstrap.min.css"/>
            <entry key="bootstrap.js" value="bootstrap.bundle.min.js"/>
            <entry key="bootstrap.min.js" value="bootstrap.bundle.min.js"/>
            <entry key="popper.js" value="bootstrap.bundle.min.js"/>
            <entry key="popper.min.js" value="bootstrap.bundle.min.js"/>
        </map>
    </property>
</bean>

For best practice, it is recommended to use the following code when adding Bootstrap 5 resources to your templates:

<template:addResources type="css" resources="bootstrap.min.css"/>
<template:addResources type="javascript" resources="bootstrap.bundle.min.js" targetTag="${renderContext.editMode?'head':'body'}"/>

bootstrap5-modules-1.2.0

17 Jan 11:03
Compare
Choose a tag to compare

Changelog:

  • Bootstrap5-core bundle no longer provides mappings for assets (QA-14549)
  • Update assets to v5.2.3
  • Set the tab name as the URL fragment when clicking on a tab
  • Keep "row" string in custom row class name
  • Remove jQuery dependency on tabs
  • Use buttons for tabs

About the mappings for assets

Starting with version 1.2.0, the bootstrap5-core bundle no longer provides mappings for assets. This means that you will need to ensure that all of your views use one of the following resources for a Bootstrap 5 project:

  • bootstrap.min.css
  • bootstrap.bundle.min.js

If you suspect that your code or some third-party bundles are still using uncompressed resources such as bootstrap.css or bootstrap.js, and even popper.js or popper.min.js, you may need to add the following mappings in a spring file:

<bean class="org.jahia.services.render.StaticAssetMapping">
    <property name="mapping">
        <map>
            <entry key="bootstrap.css" value="bootstrap.min.css"/>
            <entry key="bootstrap.js" value="bootstrap.bundle.min.js"/>
            <entry key="bootstrap.min.js" value="bootstrap.bundle.min.js"/>
            <entry key="popper.js" value="bootstrap.bundle.min.js"/>
            <entry key="popper.min.js" value="bootstrap.bundle.min.js"/>
        </map>
    </property>
</bean>

For best practice, it is recommended to use the following code when adding Bootstrap 5 resources to your templates:

<template:addResources type="css" resources="bootstrap.min.css"/>
<template:addResources type="javascript" resources="bootstrap.bundle.min.js" targetTag="${renderContext.editMode?'head':'body'}"/>

Full Changelog: bootstrap5-modules-1.1.2...bootstrap5-modules-1.2.0

bootstrap5-modules-2.1.7

20 Dec 07:47
Compare
Choose a tag to compare

Full Changelog: bootstrap5-modules-2.1.6...bootstrap5-modules-2.1.7
Update assets to v5.2.3
Add missing doc for tabs

bootstrap5-modules-2.1.6

26 Oct 11:22
Compare
Choose a tag to compare

bootstrap5-modules-2.1.5

26 Oct 10:51
Compare
Choose a tag to compare

bootstrap5-modules-2.1.4