Skip to content

Commit 9bd8a09

Browse files
authored
statestore: Add experimental notes + changelog (#1277)
1 parent aa52d37 commit 9bd8a09

File tree

8 files changed

+34
-1
lines changed

8 files changed

+34
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
kind: ENHANCEMENTS
2+
body: 'provider: Added `ProviderWithStateStores` interface for implementing state stores'
3+
time: 2026-02-16T15:15:51.783658-05:00
4+
custom:
5+
Issue: "1259"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
kind: ENHANCEMENTS
2+
body: 'provider: Added `StateStoreData` to `ConfigureResponse`, to pass provider-defined data to `(statestore.StateStore).Initialize` methods'
3+
time: 2026-02-16T15:16:46.375269-05:00
4+
custom:
5+
Issue: "1262"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
kind: FEATURES
2+
body: 'statestore: New package for implementing state stores'
3+
time: 2026-02-16T15:04:44.812342-05:00
4+
custom:
5+
Issue: "1259"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
kind: FEATURES
2+
body: 'statestore/schema: New package for implementing state store schemas'
3+
time: 2026-02-16T15:15:18.148949-05:00
4+
custom:
5+
Issue: "1259"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: NOTES
2+
body: 'State store support is considered experimental and offered without compatibility
3+
promises until support for `state_store` in Terraform core is generally available.'
4+
time: 2026-02-16T15:04:51.956532-05:00
5+
custom:
6+
Issue: "1259"

provider/provider.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ type ProviderWithValidateConfig interface {
167167
}
168168

169169
// ProviderWithStateStores is an interface type that extends Provider to include state stores.
170-
// TODO: Add supported Terraform version note
170+
//
171+
// NOTE: State store support is experimental and exposed without compatibility promises until
172+
// these notices are removed.
171173
type ProviderWithStateStores interface {
172174
Provider
173175

statestore/schema/doc.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@
44
// Package schema contains all available schema functionality for state stores.
55
// State store schemas define the structure and value types for configuration data.
66
// Schemas are implemented via the statestore.StateStore type Schema method.
7+
//
8+
// NOTE: State store support is experimental and exposed without compatibility promises until
9+
// these notices are removed.
710
package schema

statestore/statestore.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import (
77
"context"
88
)
99

10+
// NOTE: State store support is experimental and exposed without compatibility promises until
11+
// these notices are removed.
1012
type StateStore interface {
1113
// Metadata should return the full name of the state store, such
1214
// as examplecloud_store.

0 commit comments

Comments
 (0)