From 397f1fe4e5f48cc62c80e75af364d72e4b574e4b Mon Sep 17 00:00:00 2001
From: Vikram Gaddam
Date: Sun, 25 Feb 2024 22:30:38 +0530
Subject: [PATCH] 2.0.0 release (#590)
* v2.0.0 updates
---
.../Client/wwwroot/appsettings.json | 4 +--
.../Shared/EmptyLayout.razor | 4 +++
.../Shared/MainLayout.razor | 5 ++-
.../wwwroot/blazorbootstrap.demo.rcl.css | 4 +++
BlazorBootstrap.Demo.Server/appsettings.json | 4 +--
.../wwwroot/appsettings.json | 4 +--
README.md | 6 +++-
blazorbootstrap/BlazorBootstrap.csproj | 6 ++--
docs/blog/2024-02-25-blazorbootstrap-2.0.0.md | 34 +++++++++++++++++++
docs/blog/2024-02-25-upgrade-to-v2.0.0.md | 28 +++++++++++++++
...01-a-getting-started-webassembly-NET-8.mdx | 2 +-
...ing-started-webapp-server-global-NET-8.mdx | 2 +-
...tting-started-webapp-auto-global-NET-8.mdx | 2 +-
...01-d-getting-started-maui-blazor-NET-8.mdx | 2 +-
...02-a-getting-started-webassembly-NET-7.mdx | 2 +-
.../02-b-getting-started-server-NET-7.mdx | 2 +-
...02-c-getting-started-maui-blazor-NET-7.mdx | 2 +-
...03-a-getting-started-webassembly-NET-6.mdx | 2 +-
.../03-b-getting-started-server-NET-6.mdx | 2 +-
docs/docs/05-components/callout.mdx | 2 +-
docs/docusaurus.config.js | 6 ++--
docs/package.json | 2 +-
nuget/README.md | 8 +++--
23 files changed, 108 insertions(+), 27 deletions(-)
create mode 100644 docs/blog/2024-02-25-blazorbootstrap-2.0.0.md
create mode 100644 docs/blog/2024-02-25-upgrade-to-v2.0.0.md
diff --git a/BlazorBootstrap.Demo.Hosted/Client/wwwroot/appsettings.json b/BlazorBootstrap.Demo.Hosted/Client/wwwroot/appsettings.json
index 44a2678f1..00ae5ab36 100644
--- a/BlazorBootstrap.Demo.Hosted/Client/wwwroot/appsettings.json
+++ b/BlazorBootstrap.Demo.Hosted/Client/wwwroot/appsettings.json
@@ -1,7 +1,7 @@
{
- "version": "1.11.1",
+ "version": "2.0.0",
"release": {
- "short_description": "New PDF Viewer, Range Input and Script Loader components!!!"
+ "short_description": "Core updates, Spinner Component, and other improvements!!!"
},
"urls": {
"docs": "//docs.blazorbootstrap.com/docs/getting-started/blazor-webassembly",
diff --git a/BlazorBootstrap.Demo.RCL/Shared/EmptyLayout.razor b/BlazorBootstrap.Demo.RCL/Shared/EmptyLayout.razor
index 56bc486ab..b51cd65fe 100644
--- a/BlazorBootstrap.Demo.RCL/Shared/EmptyLayout.razor
+++ b/BlazorBootstrap.Demo.RCL/Shared/EmptyLayout.razor
@@ -2,6 +2,10 @@
@inherits LayoutComponentBase
+
+
+
+
+**NOTE:** We strongly recommend all BlazorBootstrap users migrate to version 2.0.0. [Read more...](https://docs.blazorbootstrap.com/blog/2024/02/25/upgrade-to-v2.0.0)
+
## Status
[![NuGet](https://img.shields.io/nuget/vpre/blazor.bootstrap)](https://www.nuget.org/packages/blazor.bootstrap/absoluteLatest)
@@ -35,7 +39,7 @@
## Install
-Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 1.11.1`
+Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 2.0.0`
## Install Blazor Bootstrap templates
diff --git a/blazorbootstrap/BlazorBootstrap.csproj b/blazorbootstrap/BlazorBootstrap.csproj
index adcf7a5e5..303c6423c 100644
--- a/blazorbootstrap/BlazorBootstrap.csproj
+++ b/blazorbootstrap/BlazorBootstrap.csproj
@@ -3,8 +3,8 @@
Blazor.Bootstrap
- 1.11.1
- 1.11.1
+ 2.0.0
+ 2.0.0
Apache-2.0
@@ -14,7 +14,7 @@
Blazor Bootstrap is a component library built on top of Blazor and Bootstrap5 CSS framework.
Vikram Reddy
- Copyright © 2023 Blazor Bootstrap
+ Copyright © 2024 Blazor Bootstrap
net6.0
enable
diff --git a/docs/blog/2024-02-25-blazorbootstrap-2.0.0.md b/docs/blog/2024-02-25-blazorbootstrap-2.0.0.md
new file mode 100644
index 000000000..90ca44571
--- /dev/null
+++ b/docs/blog/2024-02-25-blazorbootstrap-2.0.0.md
@@ -0,0 +1,34 @@
+---
+title: Blazor Bootstrap v2.0.0
+authors:
+ name: Vikram Reddy
+ title: Creator
+ url: https://github.com/gvreddy04
+ image_url: https://avatars.githubusercontent.com/u/2337067
+tags: [v2.0.0, blazor, bootstrap, bootstrap5, blazorbootstrap, button, callout, clipboard, spinner]
+---
+
+We are excited to release 2.0.0 with Core updates, Spinner Component, and other improvements!!!
+
+![image](https://i.imgur.com/bJwpAFS.png "Blazor Bootstrap: Spinner Component")
+
+
+
+## What's New
+
+- `Spinner` component
+
+## What's changed
+
+- We have made improvements to the base components
+
+- `Button` component
+
+- `Callout` component
+
+- Documentation: clipboard support added
+
+## Links
+- [Demo Website - Blazor Server](https://demos.blazorbootstrap.com/)
+- [Demo Website - Blazor WebAssembly](https://demos.getblazorbootstrap.com/)
+- [Blazor Chart Components Documentation](https://getblazorbootstrap.com/docs/components/charts)
diff --git a/docs/blog/2024-02-25-upgrade-to-v2.0.0.md b/docs/blog/2024-02-25-upgrade-to-v2.0.0.md
new file mode 100644
index 000000000..a33b8e6ca
--- /dev/null
+++ b/docs/blog/2024-02-25-upgrade-to-v2.0.0.md
@@ -0,0 +1,28 @@
+---
+title: Upgrade to v2.0.0
+authors:
+ name: Vikram Reddy
+ title: Creator
+ url: https://github.com/gvreddy04
+ image_url: https://avatars.githubusercontent.com/u/2337067
+---
+
+### Recommendation
+
+We strongly recommend all `BlazorBootstrap` users migrate to version **2.0.0**.
+
+If you are using version `1.x.x` for non-commercial purposes, you may continue using them, but upgrading to version `2.0.0` is strongly recommended.
+
+If you are using version `1.x.x` for commercial purposes, you are no longer permitted to do so due to code usage concerns regarding Blazorise's ClassBuilder and StyleBuilder classes.
+
+### Background of ClassBuilder & StyleBuilder References
+
+In March 2021, we created a component library proof-of-concept (POC) using `ClassBuilder` and `StyleBuilder` from Blazorise. At that time, Blazorise was under the MIT license. We inadvertently neglected to re-verify the Blazorise project's license later.
+
+On February 12th, 2024, Blazorise contacted us regarding a potential licensing concern with both `ClassBuilder` and `StyleBuilder` classes. We respect Blazorise's dedication to open-source software and responsible licensing.
+
+We have now removed all references to ClassBuilder and StyleBuilder from our codebase.
+
+:::danger IMPORTANT
+If you wish to continue using version `1.x.x` for commercial purposes, please reach out to the Blazorise team for licensing.
+:::
diff --git a/docs/docs/01-getting-started/01-a-getting-started-webassembly-NET-8.mdx b/docs/docs/01-getting-started/01-a-getting-started-webassembly-NET-8.mdx
index b2b76c365..89428d6e6 100644
--- a/docs/docs/01-getting-started/01-a-getting-started-webassembly-NET-8.mdx
+++ b/docs/docs/01-getting-started/01-a-getting-started-webassembly-NET-8.mdx
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
```shell
-Install-Package Blazor.Bootstrap -Version 1.11.1
+Install-Package Blazor.Bootstrap -Version 2.0.0
```
## Add CSS references
diff --git a/docs/docs/01-getting-started/01-b-getting-started-webapp-server-global-NET-8.mdx b/docs/docs/01-getting-started/01-b-getting-started-webapp-server-global-NET-8.mdx
index 3cb6fba76..d9e998cd9 100644
--- a/docs/docs/01-getting-started/01-b-getting-started-webapp-server-global-NET-8.mdx
+++ b/docs/docs/01-getting-started/01-b-getting-started-webapp-server-global-NET-8.mdx
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
```shell
-Install-Package Blazor.Bootstrap -Version 1.11.1
+Install-Package Blazor.Bootstrap -Version 2.0.0
```
## Add CSS references
diff --git a/docs/docs/01-getting-started/01-c-getting-started-webapp-auto-global-NET-8.mdx b/docs/docs/01-getting-started/01-c-getting-started-webapp-auto-global-NET-8.mdx
index c4ead1236..757930efd 100644
--- a/docs/docs/01-getting-started/01-c-getting-started-webapp-auto-global-NET-8.mdx
+++ b/docs/docs/01-getting-started/01-c-getting-started-webapp-auto-global-NET-8.mdx
@@ -20,7 +20,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
Use NuGet package manager.
```shell
-Install-Package Blazor.Bootstrap -Version 1.11.1
+Install-Package Blazor.Bootstrap -Version 2.0.0
```
### Add CSS references
diff --git a/docs/docs/01-getting-started/01-d-getting-started-maui-blazor-NET-8.mdx b/docs/docs/01-getting-started/01-d-getting-started-maui-blazor-NET-8.mdx
index fb3ce0437..be9a9acd3 100644
--- a/docs/docs/01-getting-started/01-d-getting-started-maui-blazor-NET-8.mdx
+++ b/docs/docs/01-getting-started/01-d-getting-started-maui-blazor-NET-8.mdx
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
```shell
-Install-Package Blazor.Bootstrap -Version 1.11.1
+Install-Package Blazor.Bootstrap -Version 2.0.0
```
## Add CSS references
diff --git a/docs/docs/01-getting-started/02-a-getting-started-webassembly-NET-7.mdx b/docs/docs/01-getting-started/02-a-getting-started-webassembly-NET-7.mdx
index bfb86060c..0ea66753c 100644
--- a/docs/docs/01-getting-started/02-a-getting-started-webassembly-NET-7.mdx
+++ b/docs/docs/01-getting-started/02-a-getting-started-webassembly-NET-7.mdx
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
```shell
-Install-Package Blazor.Bootstrap -Version 1.11.1
+Install-Package Blazor.Bootstrap -Version 2.0.0
```
## Add CSS references
diff --git a/docs/docs/01-getting-started/02-b-getting-started-server-NET-7.mdx b/docs/docs/01-getting-started/02-b-getting-started-server-NET-7.mdx
index 12893a1a3..6111d10b4 100644
--- a/docs/docs/01-getting-started/02-b-getting-started-server-NET-7.mdx
+++ b/docs/docs/01-getting-started/02-b-getting-started-server-NET-7.mdx
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
```shell
-Install-Package Blazor.Bootstrap -Version 1.11.1
+Install-Package Blazor.Bootstrap -Version 2.0.0
```
## Add CSS references
diff --git a/docs/docs/01-getting-started/02-c-getting-started-maui-blazor-NET-7.mdx b/docs/docs/01-getting-started/02-c-getting-started-maui-blazor-NET-7.mdx
index ce018172a..b7421eea7 100644
--- a/docs/docs/01-getting-started/02-c-getting-started-maui-blazor-NET-7.mdx
+++ b/docs/docs/01-getting-started/02-c-getting-started-maui-blazor-NET-7.mdx
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
```shell
-Install-Package Blazor.Bootstrap -Version 1.11.1
+Install-Package Blazor.Bootstrap -Version 2.0.0
```
## Add CSS references
diff --git a/docs/docs/01-getting-started/03-a-getting-started-webassembly-NET-6.mdx b/docs/docs/01-getting-started/03-a-getting-started-webassembly-NET-6.mdx
index 09c75cb77..cc943697d 100644
--- a/docs/docs/01-getting-started/03-a-getting-started-webassembly-NET-6.mdx
+++ b/docs/docs/01-getting-started/03-a-getting-started-webassembly-NET-6.mdx
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
```shell
-Install-Package Blazor.Bootstrap -Version 1.11.1
+Install-Package Blazor.Bootstrap -Version 2.0.0
```
## Add CSS references
diff --git a/docs/docs/01-getting-started/03-b-getting-started-server-NET-6.mdx b/docs/docs/01-getting-started/03-b-getting-started-server-NET-6.mdx
index c80db20c6..d6ea55582 100644
--- a/docs/docs/01-getting-started/03-b-getting-started-server-NET-6.mdx
+++ b/docs/docs/01-getting-started/03-b-getting-started-server-NET-6.mdx
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
```shell
-Install-Package Blazor.Bootstrap -Version 1.11.1
+Install-Package Blazor.Bootstrap -Version 2.0.0
```
## Add CSS references
diff --git a/docs/docs/05-components/callout.mdx b/docs/docs/05-components/callout.mdx
index baad2b1e1..33aaf3a36 100644
--- a/docs/docs/05-components/callout.mdx
+++ b/docs/docs/05-components/callout.mdx
@@ -21,7 +21,7 @@ Blazor Bootstrap callout component provides content presentation in a visually d
|:--|:--|:--|:--|:--|:--|
| ChildContent | RenderFragment | | ✔️ | Specifies the content to be rendered inside this. | 1.0.0 |
| Heading | string | null | | Gets or sets the callout heading. | 1.0.0 |
-| HideHeading | bool | false | | Gets or sets a value indicating whether to hide the callout heading. | 1.12.0 |
+| HideHeading | bool | false | | Gets or sets a value indicating whether to hide the callout heading. | 2.0.0 |
| Type | `CalloutType` | `CalloutType.Default` | | Use `CalloutType.Default` or `CalloutType.Info` or `CalloutType.Warning` or `CalloutType.Danger` or `CalloutType.Tip` | 1.0.0 |
## Examples
diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js
index f80623e07..10d5a1fed 100644
--- a/docs/docusaurus.config.js
+++ b/docs/docusaurus.config.js
@@ -48,9 +48,9 @@ const config = {
({
announcementBar: {
id: 'support_us',
- content: '⭐️ If you like Blazor Bootstrap, give it a star on GitHub! ⭐️',
- //backgroundColor: '#fafbfc',
- //textColor: '#091E42',
+ content: '🚨 We strongly recommend all BlazorBootstrap users migrate to version 2.0.0. Read more...',
+ backgroundColor: '#f1aeb5',
+ textColor: '#58151c',
isCloseable: true,
},
navbar: {
diff --git a/docs/package.json b/docs/package.json
index 8bef4a59f..44a8d6de6 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -1,6 +1,6 @@
{
"name": "blazorbootstrap",
- "version": "1.10.4",
+ "version": "2.0.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
diff --git a/nuget/README.md b/nuget/README.md
index 04d9875e1..98ca7648a 100644
--- a/nuget/README.md
+++ b/nuget/README.md
@@ -1,6 +1,10 @@
# Blazor Bootstrap Component Library
-### Enterprise-class Blazor Bootstrap Component library built on the Blazor and Bootstrap CSS framework.
+### An Enterprise-class Blazor Bootstrap Component library built on the Blazor and Bootstrap CSS frameworks.
+
+
+
+**NOTE:** We strongly recommend all BlazorBootstrap users migrate to version 2.0.0. [Read more...](https://docs.blazorbootstrap.com/blog/2024/02/25/upgrade-to-v2.0.0)
## Table of contents
@@ -16,7 +20,7 @@
Get started any way you want
- Clone the repo: `git clone https://github.com/vikramlearning/blazorbootstrap.git`
-- Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 1.11.1`
+- Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 2.0.0`
- Install [Blazor Bootstrap templates](https://github.com/vikramlearning/blazorbootstrap-project-templates) with **.NET CLI**: `dotnet new install Blazor.Bootstrap.Templates::1.10.0`
![image](https://user-images.githubusercontent.com/2337067/233800604-43986ae7-27dd-4f17-9af6-c2f1a6f07097.png)