Skip to content

Commit

Permalink
Bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rickbutterfield committed Jan 24, 2025
1 parent fb9669c commit 276eeff
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 10 deletions.
8 changes: 5 additions & 3 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,19 @@ The Umbraco v15 version of this package is [available via NuGet](https://www.nug
To install the package, you can use either .NET CLI:

```
dotnet add package Umbraco.Community.BlockPreview --version 3.1.0
dotnet add package Umbraco.Community.BlockPreview --version 3.2.0
```

or the NuGet Package Manager:

```
Install-Package Umbraco.Community.BlockPreview -Version 3.1.0
Install-Package Umbraco.Community.BlockPreview -Version 3.2.0
```

## Setup
`Umbraco:Cms:ModelsBuilder:ModelsBuilderMode` **must** be set to either `SourceCodeAuto` or `SourceCodeManual` for BlockPreview to work.
Generated models must exist on disk for BlockPreview to work. `Umbraco:Cms:ModelsBuilder:ModelsBuilderMode` **must** be set to either `SourceCodeAuto` or `SourceCodeManual` in your development environment and generated files committed to disk.

If you are using [Limbo.Umbraco.ModelsBuilder](https://github.com/limbo-works/Limbo.Umbraco.ModelsBuilder), the default configuration is to have `ModelsBuilderMode` set to nothing. Once this is set, generate models in the backoffice as normal.
```json
"Umbraco": {
"CMS": {
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.0
3.2.0
4 changes: 2 additions & 2 deletions src/Umbraco.Community.BlockPreview.UI/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Umbraco.Community.BlockPreview.UI/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "assets",
"private": true,
"version": "3.1.0",
"version": "3.2.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "../umbraco-package-schema.json",
"name": "Umbraco.Community.BlockPreview",
"id": "Umbraco.Community.BlockPreview",
"version": "3.1.0",
"version": "3.2.0",
"allowTelemetry": true,
"extensions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<GeneratePackageOnBuild>true</GeneratePackageOnBuild>

<VersionPrefix>3.1.0</VersionPrefix>
<VersionPrefix>3.2.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Authors>Rick Butterfield, Dave Woestenborghs, Matthew Wise</Authors>
<Copyright>$([System.DateTime]::UtcNow.ToString(`yyyy`)) © Rick Butterfield</Copyright>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "../umbraco-package-schema.json",
"name": "Umbraco.Community.BlockPreview",
"id": "Umbraco.Community.BlockPreview",
"version": "3.1.0",
"version": "3.2.0",
"allowTelemetry": true,
"extensions": [
{
Expand Down

0 comments on commit 276eeff

Please sign in to comment.