Releases: Jahia/bootstrap5
bootstrap5-modules-2.3.1
bootstrap5-modules-2.3.0
bootstrap5-modules-2.2.2
Full Changelog: bootstrap5-modules-2.2.1...bootstrap5-modules-2.2.2
Fix the remember me login feature
bootstrap5-modules-2.2.1
bootstrap5-modules-2.2.0
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
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
Full Changelog: bootstrap5-modules-2.1.6...bootstrap5-modules-2.1.7
Update assets to v5.2.3
Add missing doc for tabs