Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/pro-reference-baseline.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"module": "echo.labstack.com/pro",
"version": "v0.2.0",
"version": "v0.2.1",
"configs": {
"admin.Config": [
{
Expand Down
2 changes: 1 addition & 1 deletion site/pro-source/config-fields.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"module": "echo.labstack.com/pro",
"revision": "v0.2.0",
"revision": "v0.2.1",
"configs": [
{
"name": "admin.Config",
Expand Down
6 changes: 3 additions & 3 deletions site/pro-source/examples/site-docs/commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ install_pro() {
go env -w GOPRIVATE=echo.labstack.com
# docs:end private-pattern
# docs:start get-version
go get echo.labstack.com/pro@v0.2.0
go get echo.labstack.com/pro@v0.2.1
# docs:end get-version
go mod verify
# docs:end install
Expand All @@ -21,7 +21,7 @@ install_pro() {
probe_registry() {
# docs:start proxy-probe
curl --silent --show-error --netrc-file "$HOME/.netrc" --output /dev/null --write-out '%{http_code}\n' \
https://go.labstack.io/echo.labstack.com/pro/@v/v0.2.0.info
https://go.labstack.io/echo.labstack.com/pro/@v/v0.2.1.info
# docs:end proxy-probe
}

Expand Down Expand Up @@ -125,7 +125,7 @@ test_packages() {

build_application() {
# docs:start docker-build
docker build --secret id=netrc,src="$HOME/.netrc" -t invoice-api:v0.2.0 .
docker build --secret id=netrc,src="$HOME/.netrc" -t invoice-api:v0.2.1 .
# docs:end docker-build
# docs:start vendor
go mod vendor
Expand Down
6 changes: 3 additions & 3 deletions site/pro-source/pages/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sidebar:

Use this page before your first `go get`, and when you set up CI, Docker or an offline build.

Install `echo.labstack.com/pro v0.2.0` through `go.labstack.io`. You need Go 1.26 or later, an application module and an organisation download token. The module requires Echo v5.4.2. You do not need access to a private Git repository. The token only authenticates module downloads. Your application never checks it at run time.
Install `echo.labstack.com/pro v0.2.1` through `go.labstack.io`. You need Go 1.26 or later, an application module and an organisation download token. The module requires Echo v5.4.4. You do not need access to a private Git repository. The token only authenticates module downloads. Your application never checks it at run time.

## Set up local development

Expand Down Expand Up @@ -56,7 +56,7 @@ An always-run step removes the credential. The workflow pins each Action to a fu
```yaml file=site/pro-source/examples/site-docs/github-actions.yml
```

Save the workflow in your application's workflow directory. Before you enable the job, commit `go.mod` (pinned to v0.2.0) and `go.sum`. Run this job only for trusted code. Any step in the job can read the secret. Fork pull requests do not receive repository secrets by default.
Save the workflow in your application's workflow directory. Before you enable the job, commit `go.mod` (pinned to v0.2.1) and `go.sum`. Run this job only for trusted code. Any step in the job can read the secret. Fork pull requests do not receive repository secrets by default.
Run checks for fork pull requests in a separate workflow that has no secret. If you turn on module caching later, restrict the cache to licensed users.

`NETRC` points Go at the temporary credential file. The token appears only in the credential-setup step's environment. That step turns off shell tracing before it writes the file. The cleanup step runs even when the download fails. When you copy the workflow, update the Action pins under your own update policy.
Expand Down Expand Up @@ -93,7 +93,7 @@ Probe the exact pinned metadata URL without printing the credential or response
```sh file=site/pro-source/examples/site-docs/commands.sh#proxy-probe
```

A 200 confirms that this credential can read v0.2.0 metadata. A 401 means missing or invalid credentials. Check four things: the machine name is `go.labstack.io`; `password` holds the token; Go reads the netrc you expect (`NETRC` or your home directory); the token is not revoked. The registry ignores `login` and checks only `password`. A wrong slug does not cause 401. Do not put the token in a URL or paste it into diagnostics.
A 200 confirms that this credential can read v0.2.1 metadata. A 401 means missing or invalid credentials. Check four things: the machine name is `go.labstack.io`; `password` holds the token; Go reads the netrc you expect (`NETRC` or your home directory); the token is not revoked. The registry ignores `login` and checks only `password`. A wrong slug does not cause 401. Do not put the token in a URL or paste it into diagnostics.

A 403 means the token is valid, but your organisation is not entitled to that version. Check the version you requested. Then ask support to check your organisation's status. After a subscription lapses, the token can still download versions you were entitled to. A revoked organisation gets 403. Clearing the module cache or turning off checksums does not fix a 403.

Expand Down
2 changes: 1 addition & 1 deletion site/pro-source/pages/reference/admin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Fields, defaults and constructors for admin.

import ConfigReference from '../../../../components/ConfigReference.astro';

`echo.labstack.com/pro` v0.2.0. See the [task guide](/pro/guides/admin/) for setup examples.
`echo.labstack.com/pro` v0.2.1. See the [task guide](/pro/guides/admin/) for setup examples.

## Required fields

Expand Down
2 changes: 1 addition & 1 deletion site/pro-source/pages/reference/audit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Fields, defaults and constructors for audit.

import ConfigReference from '../../../../components/ConfigReference.astro';

`echo.labstack.com/pro` v0.2.0. See the [task guide](/pro/guides/audit/) for setup examples.
`echo.labstack.com/pro` v0.2.1. See the [task guide](/pro/guides/audit/) for setup examples.

## Required fields

Expand Down
2 changes: 1 addition & 1 deletion site/pro-source/pages/reference/auth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Fields, defaults and constructors for auth.

import ConfigReference from '../../../../components/ConfigReference.astro';

`echo.labstack.com/pro` v0.2.0. See the [task guide](/pro/guides/auth/) for setup examples.
`echo.labstack.com/pro` v0.2.1. See the [task guide](/pro/guides/auth/) for setup examples.

## Required fields

Expand Down
2 changes: 1 addition & 1 deletion site/pro-source/pages/reference/execution.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Fields, defaults and constructors for execution.

import ConfigReference from '../../../../components/ConfigReference.astro';

`echo.labstack.com/pro` v0.2.0. See the [task guide](/pro/guides/execution/) for setup examples.
`echo.labstack.com/pro` v0.2.1. See the [task guide](/pro/guides/execution/) for setup examples.

## Required fields

Expand Down
4 changes: 2 additions & 2 deletions site/pro-source/pages/reference/index.mdx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: Configuration reference
description: Look up fields, defaults, limits and constructor signatures for Echo Pro v0.2.0.
description: Look up fields, defaults, limits and constructor signatures for Echo Pro v0.2.1.
---

{/* Diataxis: reference */}

Look up a field's type, default and limits here. For setup steps, use the [task guides](/pro/guides/).

Look up fields, defaults, limits and constructor signatures for Echo Pro v0.2.0.
Look up fields, defaults, limits and constructor signatures for Echo Pro v0.2.1.

- [Auth](/pro/reference/auth/)
- [Tenant](/pro/reference/tenant/)
Expand Down
2 changes: 1 addition & 1 deletion site/pro-source/pages/reference/quota.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Fields, defaults and constructors for quota.

import ConfigReference from '../../../../components/ConfigReference.astro';

`echo.labstack.com/pro` v0.2.0. See the [task guide](/pro/guides/quota/) for setup examples.
`echo.labstack.com/pro` v0.2.1. See the [task guide](/pro/guides/quota/) for setup examples.

## Required fields

Expand Down
2 changes: 1 addition & 1 deletion site/pro-source/pages/reference/tenant.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Fields, defaults and constructors for tenant.

import ConfigReference from '../../../../components/ConfigReference.astro';

`echo.labstack.com/pro` v0.2.0. See the [task guide](/pro/guides/tenant/) for setup examples.
`echo.labstack.com/pro` v0.2.1. See the [task guide](/pro/guides/tenant/) for setup examples.

## Required fields

Expand Down
2 changes: 1 addition & 1 deletion site/pro-source/pages/reference/webhook.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Fields, defaults and constructors for webhook.

import ConfigReference from '../../../../components/ConfigReference.astro';

`echo.labstack.com/pro` v0.2.0. See the [task guide](/pro/guides/webhook/) for setup examples.
`echo.labstack.com/pro` v0.2.1. See the [task guide](/pro/guides/webhook/) for setup examples.

## Required fields

Expand Down
26 changes: 13 additions & 13 deletions site/pro-source/pro-source.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"module": "echo.labstack.com/pro",
"version": "v0.2.0",
"commit": "1e101cda63addb7aea4a54536f4ae880ee698ae8",
"version": "v0.2.1",
"commit": "2d8b8d669d11b36577695cc447cf1f97fa5e8130",
"hashes": {
"config-fields.json": "f0fb82fedad463ca52fe1b932fc944b9feeeb5270a59565cb58734eeedc588f2",
"config-fields.json": "449d1ba416c99370173c11ef1f7af0d81f8d07e633031195ee60fd2597df5196",
"examples/admin-demo/audit.go": "e332591665875ea7a9d36e756089cf34c8eca947ded969bac6014472c0d206a3",
"examples/admin-demo/auth.go": "a0d6bd7bbfaf80d98d78a34a4b38492ecb9fab7fc4ea53bdb52a376328d1596d",
"examples/admin-demo/execution.go": "d7306b7f581273d70f31341116c477c4c011d01be1a6d16afbac9089ce3ac343",
Expand Down Expand Up @@ -109,7 +109,7 @@
"examples/problems/validation-failed-400.json": "9421fbf962b6becd2832087e0befd948cb9944701508469111288dedc143b1c4",
"examples/quota-otel/main.go": "4378c90b25b15418cc91f0a95650c8408c74fb40ef8270bee66505980f073872",
"examples/site-docs/Dockerfile": "623de8452e2deb57993c07a18091753726e73fc23fd2a2e943bb4893c6906ff4",
"examples/site-docs/commands.sh": "900e9bdd0594fba0eab04cd3cde8f05d5d2e4795ef2deeadb40a94082a55045f",
"examples/site-docs/commands.sh": "cc30d4298c724e423eff43e7987b2b38b9350cb12d3c39be30892628962c81dc",
"examples/site-docs/github-actions.yml": "0ecef950af71006c065ead2e358b052996904fcc7240539696cc284a160c8df0",
"examples/site-docs/netrc.example": "f3e5951fa221bdbb29d142ec93646eadc62482b1313eb139aa3c00385857e144",
"examples/source/admin/admintest/example_test.go": "99aa99711483ad7975802729b45251d071b079ec1cf9787e7d174b1e28555957",
Expand Down Expand Up @@ -181,7 +181,7 @@
"pages/guides/quota.mdx": "3556fdb67c53499ea178dd51b626506eb79889a8705dd7f9e5d364c6a8a4b228",
"pages/guides/tenant.mdx": "d43344709a946d32032a31c3b9315fa43a2e643f6f6744e94791320bc1e83517",
"pages/guides/webhook.mdx": "96d9a7a4b54216b2e9f8508e9f983e886cac4facfc5b804e92767496a9feaac6",
"pages/install.mdx": "1b30699853cf9284d7c9d73ca2e3011f3b64e2df0fa1cd810b410b4226249ac9",
"pages/install.mdx": "6b929a914c73d8296a28ce98ce246ebbf20d983bc1fe0e82e7cfb749b8b0353c",
"pages/problems/admin-action-id-reused.mdx": "644c841e5ce68b58a26068b47dfad8966a90c88afb41f881902c153b6ed31665",
"pages/problems/admin-audit-unavailable.mdx": "d7bcad6b80a1b1166e2e7fe092ce81265b31530a61706fb1cd855cc58ad63d0f",
"pages/problems/admin-backend-unavailable.mdx": "4740bf2c285457e3e3345c9c3b2266c79a651fbb52c2d29e39c4b578e013b5b9",
Expand Down Expand Up @@ -229,14 +229,14 @@
"pages/problems/unsupported-media-type.mdx": "254905dc754caf2abb424120854eca5625d1d518a66996d92163c28701e82e2b",
"pages/problems/validation-failed.mdx": "fc62abe8cde42f426b2d83f59e0448f6b84744664550dc3738bb35c01a736883",
"pages/quota.mdx": "3a86dd62a1ce30482a09120ed5cded86212bd865204140cf7acbbd7735d95dfd",
"pages/reference/admin.mdx": "c06f83bb3aaef2d4e235f2165ca2eb2a56743a9dca86b5d71c39023ad1469d7d",
"pages/reference/audit.mdx": "e73804ca11d413d455ee1c2932c4ee4770a616df90755453a5fc46ac92a9816b",
"pages/reference/auth.mdx": "6a7b650d80426ee83bcb3fa211d45d5cdce70cd9054c65da6ae2fcc5c9a0c513",
"pages/reference/execution.mdx": "0945b3f7222b74d43fcae9e86b959ce135a1de3d82e09d244d9bfc5174558fc5",
"pages/reference/index.mdx": "82b058f79937fd053ef7f5110429b0daac34f3fca71e3d741587b7f322e817af",
"pages/reference/quota.mdx": "c38ad98f1d286484665755c2e1aa288155b88100dd965ded9fd6e5e472cbfc3b",
"pages/reference/tenant.mdx": "f53e8f8f6ba1e6c07168e10b21e8e6e1a8021e856ff3ad5ba329a6a9d16b0ef4",
"pages/reference/webhook.mdx": "967cb6c6e8a41dedfa8601cf55392e50ad10826f0c95144365705a25b673eb2d",
"pages/reference/admin.mdx": "66bc75bbf1c3ecf1c933c4ebcc5468b86af7e96b80c37fb251f738720f74124e",
"pages/reference/audit.mdx": "bdfec17b93af1f6a44c2f21c18bf59955d74bdde7973a2c92538c81b32f0a123",
"pages/reference/auth.mdx": "031bd2a4742c75186c323f996ae3868aab13f53bd081584aa0bed26cdc7e16b5",
"pages/reference/execution.mdx": "ef4730045c668ee81a0b9cb02c9cc9dcf45f7bf52711fe02b4a23d44c4501a2f",
"pages/reference/index.mdx": "062f50576a814af33222e85d8a7350ba1ed4bc110803dc7386ffbf610a975094",
"pages/reference/quota.mdx": "5e886547255e6d7bb5b51d2da658728b8527b535b797269bb6b3397d8a870a56",
"pages/reference/tenant.mdx": "ee21bd9a8fd4efee4d9fc4eda4c4350a4d96704b20508505c1d5cc12b8e2b989",
"pages/reference/webhook.mdx": "7b9bdcd367a9ee0bc081ca2d36026dfafcc3a2be07ad865b19e163bfafe4360a",
"pages/tenant.mdx": "06c4720f08fd92f59b7bdddd07399fd3df5645bb7f1076d652a24097cfae1a15",
"pages/webhook.mdx": "ac3e9406ca82f2ec976ed99e29d87679a6a433ef1c7d0d3c32064230a9302c7f",
"problems.json": "ed5ed459f7970446a1ca2941a96824a86b3bc4e1996d5f64880ed8060a37fce4"
Expand Down
Loading