Skip to content

Commit

Permalink
Remove doc/sample references to preview bundle (#744)
Browse files Browse the repository at this point in the history
* Remove doc/sample references to preview bundle

* Few more

* undo

* Powershell -> PowerShell

* fix version
  • Loading branch information
Charles-Gagnon authored May 23, 2023
1 parent 3621af7 commit d7cd728
Show file tree
Hide file tree
Showing 17 changed files with 27 additions and 28 deletions.
8 changes: 4 additions & 4 deletions docs/GeneralSetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,21 +153,21 @@ These steps can be done in the Terminal/CLI or with PowerShell.
dotnet add package Microsoft.Azure.WebJobs.Extensions.Sql --prerelease
```

**JavaScript, TypeScript, Python, PowerShell:** Update the `host.json` file to the preview extension bundle.
**JavaScript, TypeScript, Python, PowerShell:** Update the `host.json` file to the v4 version of the extension bundle.

```json
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
```

**Java:**
Update the `host.json` file to the preview extension bundle.
Update the `host.json` file to the v4 version of the extension bundle.

```json
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/SetupGuide_DotnetCSharpScript.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ These instructions will guide you through creating your Function Project and add

4. Enable SQL bindings on the csx function created above. More information can be found in the [Azure SQL bindings for Azure Functions docs](https://aka.ms/sqlbindings).

Update the `host.json` file inside **MyApp/MyCSXFunction/** to the preview extension bundle.
Update the `host.json` file inside **MyApp/MyCSXFunction/** to the v4 version of the extension bundle.

```json
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/SetupGuide_Java.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ These instructions will guide you through creating your Function Project and add

3. Enable SQL bindings on the function project. More information can be found in the [Azure SQL bindings for Azure Functions docs](https://aka.ms/sqlbindings).

Update the `host.json` file to the preview extension bundle.
Update the `host.json` file to the v4 version of the extension bundle.

```json
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/SetupGuide_Javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ These instructions will guide you through creating your Function Project and add

3. Enable SQL bindings on the function project. More information can be found in the [Azure SQL bindings for Azure Functions docs](https://aka.ms/sqlbindings).

Update the `host.json` file to the preview extension bundle.
Update the `host.json` file to the v4 version of the extension bundle.

```json
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/SetupGuide_PowerShell.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ These instructions will guide you through creating your Function Project and add

3. Enable SQL bindings on the function project. More information can be found in the [Azure SQL bindings for Azure Functions docs](https://aka.ms/sqlbindings).

Update the `host.json` file to the preview extension bundle.
Update the `host.json` file to the v4 version of the extension bundle.

```json
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/SetupGuide_Python.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ These instructions will guide you through creating your Function Project and add

3. Enable SQL bindings on the function project. More information can be found in the [Azure SQL bindings for Azure Functions docs](https://aka.ms/sqlbindings).

Update the `host.json` file to the preview extension bundle.
Update the `host.json` file to the v4 version of the extension bundle.

```json
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/SqlBindingRelatedRepos.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Contains templates for the various types of bindings and supported languages, ea

## Extension Bundle

Currently SQL Bindings is part of the 3.x and 4.x Preview bundles.
Currently SQL Bindings is part of the 4.x bundles.

[Azure/azure-functions-extension-bundles at v3.x-preview (github.com)](https://github.com/Azure/azure-functions-extension-bundles/tree/v3.x-preview)
[Azure/azure-functions-extension-bundles at v4.x (github.com)](https://github.com/Azure/azure-functions-extension-bundles/tree/v4.x)

[Azure/azure-functions-extension-bundles at v4.x-preview (github.com)](https://github.com/Azure/azure-functions-extension-bundles/tree/v4.x-preview)

Expand Down
2 changes: 1 addition & 1 deletion samples/samples-csx/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
}
2 changes: 1 addition & 1 deletion samples/samples-java/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
}
2 changes: 1 addition & 1 deletion samples/samples-js-v4/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
}
2 changes: 1 addition & 1 deletion samples/samples-js/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
}
2 changes: 1 addition & 1 deletion samples/samples-powershell/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
}
2 changes: 1 addition & 1 deletion samples/samples-python-v2/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
}
5 changes: 2 additions & 3 deletions samples/samples-python/.devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Python devcontainer for SQL bindings public preview
# Python devcontainer for SQL bindings

The use of SQL bindings during the early public preview phase requires additional setup for local development due to the requirement of the Azure Functions host 4.5.0 or greater. With the included files (`devcontainer.json`, `Dockerfile`, and `patch-core-tools.sh`), your environment can be automatically setup to support development for SQL bindings in VS Code remote containers or Codespaces. Once inside this environment, your VS Code tasks (F5 to run) will perform as expected.
The use of SQL bindings requires additional setup for local development due to the requirement of the Azure Functions host 4.5.0 or greater. With the included files (`devcontainer.json`, `Dockerfile`, and `patch-core-tools.sh`), your environment can be automatically setup to support development for SQL bindings in VS Code remote containers or Codespaces. Once inside this environment, your VS Code tasks (F5 to run) will perform as expected.

For more on remote development in VS Code, please check out their [documentation](https://code.visualstudio.com/docs/remote/containers).


## What does this environment include?

This environment definition takes the standard Python 3.9 and Azure Functions development environment image as its base image, then applies an update to a pre-release version of the [Azure Functions Core Tools](https://github.com/azure/azure-functions-core-tools).
Expand Down
2 changes: 1 addition & 1 deletion samples/samples-python/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
}
2 changes: 1 addition & 1 deletion test/Integration/test-csx/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
}
2 changes: 1 addition & 1 deletion test/Integration/test-java/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
}

0 comments on commit d7cd728

Please sign in to comment.