Skip to content

Releases

v0.29.1

Choose a tag to compare

@mbrandenburger mbrandenburger released this 13 Nov 14:07
89faad9

Upgrading

No breaking changes. Upgrade from v0.29.x at any time, one node at a time. What changed is listed below.

Tested with

Go Hyperledger Fabric Fabric-x committer Fabric-x tools PostgreSQL
1.27.3 3.1.4 1.0.7 v1.0.3 16.2

Every store's schema steps and the component version ranges are in the release data.

What's Changed

Bug fixes

  • fix(fabric): stop channel config updates from racing orderer reads (backport #2608) by @mergify[bot] in #2616

New Contributors

Full Changelog: v0.29.0...v0.29.1

v0.29.0

Choose a tag to compare

@mbrandenburger mbrandenburger released this 11 Nov 13:29
8bc48ad

Upgrading

Read the upgrade guide before upgrading. What changed is listed below.

Tested with

Go Hyperledger Fabric Fabric-x committer Fabric-x tools PostgreSQL
1.27.3 3.1.4 1.0.7 v1.0.3 16.2

Every store's schema steps and the component version ranges are in the release data.

What's Changed

Breaking changes

Features

Bug fixes

Dependencies

  • chore(deps): bump the go-dependencies group across 2 directories with 2 updates by @dependabot[bot] in #2542

Other changes

Full Changelog: v0.28.0...v0.29.0

v0.28.0

Choose a tag to compare

@mbrandenburger mbrandenburger released this 06 Nov 16:17
43fcfe8

Upgrading

Read the upgrade guide before upgrading. What changed is listed below.

Tested with

Go Hyperledger Fabric Fabric-x committer Fabric-x tools PostgreSQL
1.27.3 3.1.4 1.0.7 v1.0.3 16.2

Every store's schema steps and the component version ranges are in the release data.

What's Changed

Breaking changes

Features

Bug fixes

Dependencies

  • chore(deps): bump the go-dependencies group across 3 directories with 4 updates by @dependabot[bot] in #2429
  • chore(deps): override minimatch to ^11.0.4 in bot scripts by @mbrandenburger in #2430
  • chore(deps): bump the go-dependencies group across 3 directories with 5 updates by @dependabot[bot] in #2531

Other changes

Full Changelog: v0.27.0...v0.28.0

v0.27.0

Choose a tag to compare

@mbrandenburger mbrandenburger released this 30 Oct 14:07
48a0a3b

Breaking changes

A v0.26 core.yaml starts unchanged: no configuration key is renamed or removed. The step-by-step guide is docs/upgrade/v0.26-to-v0.27.md.

For operators

Storage primary keys (#2244, #2273)

  • The vault state table and the KVS table use the primary key (ns, pkey) instead of (pkey, ns). On first start, an existing key is reordered once, on Postgres and SQLite. Replicas that share a database reorder it once between them. Back up the databases before upgrading.
  • On Postgres the key is dropped and added back under ACCESS EXCLUSIVE, so the database user must own the vault state and KVS tables, or startup fails.
  • On SQLite the table is rebuilt in one transaction. A replica that waits on the rebuild past busy_timeout fails to start with SQLITE_BUSY and finds the table reordered on restart.
  • Any other key order, or a table without a primary key, fails startup and leaves the table unchanged. A v0.26 node keeps working against a reordered table.

Storage behaviour (#2289, #2300)

  • A persistence name (fsc.kvs.persistence, fabric.<network>.vault.persistence, ...) accepts only letters, digits, _ and -. Any other name fails startup.
  • The SQLite cache_size=1000000000 default is dropped. Set it in the dataSource if you rely on it.
  • A SQLite write that keeps failing with SQLITE_BUSY returns the error after 3 retries instead of retrying forever.

Configuration from the environment (#2200, #2299)

  • Only variables that start with CORE_ are read. A variable that starts with CORE but not CORE_, such as COREPACK_ENABLE_AUTO_PIN, no longer becomes a configuration key.
  • __ in a variable name stands for a literal _ in the key, for example CORE_FSC_PERSISTENCES_DEFAULT_OPTS_TLS_SSL__MODE sets tls.ssl_mode. A variable that already contains __ changes meaning.

P2P and sessions (#2266, #2331, #2415)

  • A node answers a call to a view it has no responder for with unknown_view: <view>, and the initiator fails at once. A v0.26 node does not answer, so its peer waits until the session times out. Upgrade FSC nodes that talk to each other in the same window where you can.
  • The busy rejection payload is busy: too many concurrent responders for this peer. Code that matched too many concurrent responders for this peer exactly must match the prefix or a substring.
  • A session whose streams all died closes after a 5-second grace period, and a view waiting on Receive() gets a closed channel. On libp2p all sessions to a peer share one stream, so a dead stream closes every session to that peer that is idle for the grace period.

Fabric-x committer endpoints (#2249)

The query and notification services keep a connection to every listed committer endpoint and use the first healthy one. connectionTimeout has no effect on these endpoints.

Metrics (#2240, #2257, #2262, #2372)

  • fsc_view_services_tracing_listens_operations and fsc_view_services_tracing_listens_duration are removed. They always read 0.
  • The connection state component database_notifier is removed.
  • On Fabric, a block commit that fails on a lost database connection is retried until it commits. These retries count in commit_retries, not in commit_failures. Alert on commit_retries together with the database connection state during Postgres outages.

version output (#2414)

version also prints the FSC version, the application module and its version, and the VCS revision. Scripts that parse its output must allow the extra lines.

For developers

Dependencies

  • github.com/jackc/pgxlisten is no longer a dependency of the root module. Add it to your own go.mod if you import it (#2372).
  • modernc.org/sqlite is v1.61.0 (#2246).

Views, sessions and communication (#2331, #2415)

  • DeleteSession is removed from P2PNode, comm.Service, view.SessionFactory and p2p.CommLayer; a view context closes the session instances it holds. Sessions.GetSessionInfos is replaced by Sessions.All.
  • Context.GetSessionByID replaces a cached session that has closed instead of returning it.
  • CommLayer.ReplyError writes only to a stream that already exists and returns an error when there is none.

Storage

  • postgres.Notifier, NewNotifier, AllOperations, NewSimplePrimaryKey, NewBytePrimaryKey and KeyValueStoreNotifier are removed from platform/view/services/storage/driver/sql/postgres, and connstate.ComponentDatabaseNotifier from platform/view/services/metrics/connstate (#2372).
  • postgres.NewKeyValueStore returns *postgres.KeyValueStore. Code that type-asserts the store to *common.KeyValueStore must use its KeyValueStore field (#2273).
  • driver.EnvelopeService.Exists returns (bool, error) (#2255).
  • NewWrappedIterator takes a driver.SQLErrorWrapper, and the SQL iterators return rows.Err() when reading rows fails (#2259).
  • The Postgres error mapper returns the new driver.ErrConnectionLost for a broken connection. SqlBusy also covers SQLSTATE 40001 and SQLite's extended busy codes (#2240, #2295).
  • kvs.GetExisting no longer caches empty values (#2242).

Fabric and Fabric-x

  • driver.ConfigService has a new method ReportFailure(address string). External implementations and fakes must add it; regenerate counterfeiter mocks (#2236).
  • When a finality wait runs out, IsFinal returns an error that wraps the new driver.ErrFinalityTimeout and names the last status read. A cancelled caller context is returned as ctx.Err() (#2318).
  • queryservice.NewProvider and finality.NewListenerManagerProvider in platform/fabricx take a *connstate.Metrics. queryservice.NewRemoteQueryService takes a client factory func() (committerpb.QueryServiceClient, string, error) and a tracker func instead of a fixed client (#2245, #2249).

Integration test harness (nwo)

web/client.Config, NewClient and Client.Metrics are removed from platform/view/services/web/client. Read node metrics with integration/nwo/client.MetricsClient. NewWebClientConfigFromFSC is replaced by NewWebConnectionConfigFromFSC, which returns a grpc.ConnectionConfig (#2234).

What's Changed

  • refactor(errors): use the plain constructors for constant messages by @rgowrishankar in #2238
  • fix(kvs): do not cache empty values in GetExisting by @sid200727 in #2242
  • feat(fabric,fabricx)!: skip recently failed peers and orderers, accept several Fabric-x endpoints by @PsychoPunkSage in #2236
  • fix(fabric): order the vault state primary key by namespace by @entrepreneurme in #2244
  • refactor(integration)!: read node metrics through a connection-config based client by @mbrandenburger in #2234
  • fix(storage): retry block commits after a lost Postgres connection by @mbrandenburger in #2240
  • chore(deps): bump modernc.org/sqlite from 1.60.1 to 1.61.0 in the go-dependencies group across 1 directory by @dependabot[bot] in #2246
  • test(integration): node crash and catch-up specs in the faultrecovery suites by @mbrandenburger in #2241
  • feat(fabricx)!: report notification and query service connection state by @SaidAltury-ibm in #2245
  • feat(storage): wait for Postgres at node startup by @mbrandenburger in #2239
  • fix(committer)!: keep transient vault failures retryable on the config, envelope and row-read paths by @mbrandenburger in #2255
  • fix(storage): map row-read errors through the SQL error wrapper by @mbrandenburger in #2259
  • refactor(storage): stop recording identity binding logs as trace events by @SaidAltury-ibm in #2261
  • fix(committer): retry a transient discard failure for Fabric-invalid transactions by @mbrandenburger in #2260
  • fix(metrics): count BFT ordered transactions and complete the metrics catalog by @SaidAltury-ibm in #2257
  • test: replace hand-written error checks with testify by @sid200727 in #2258
  • fix(storage): pass the read and write databases in the right order to the Postgres stores by @sid200727 in #2256
  • fix(committer): keep retrying a block while Postgres is unreachable by @mbrandenburger in #2262
  • fix(committer): apply config blocks recorded by another replica sharing the vault by @mbrandenburger in #2264
  • fix(committer): catch up on config another replica committed before the first block by @mbrandenburger in #2265
  • fix(comm): close sessions whose streams died by @SaidAltury-ibm in #2266
  • feat(nwo): add topology-level P2P message-size limits by @adecaro in #2275
  • fix(storage): map connection...
Read more

v0.26.0

Choose a tag to compare

@mbrandenburger mbrandenburger released this 23 Oct 14:26
38a0138

Breaking changes

For operators

Remote view API configuration (#2220, #2226)

The remote view API has its own configuration tree under fsc.view.remote. fsc.grpc and fsc.web configure listeners only.

  • The remote view API is served only when fsc.view.remote.enabled is true, on the transports listed in fsc.view.remote.backends. A node that serves views must add the block explicitly, for example fsc.view.remote: {enabled: true, backends: [grpc]}.
  • fsc.grpc.enabled: true without fsc.view.remote fails startup, since nothing else uses the gRPC listener.
  • Renamed keys; the old keys fail startup:
Old key New key
fsc.web.viewTimeout fsc.view.remote.timeout (default 2m)
fsc.grpc.authentication.timeWindow fsc.view.remote.timeWindow
fsc.client.certs fsc.view.remote.clients
  • fsc.view.remote.timeout bounds gRPC view calls as well as HTTP ones. gRPC calls had no server-side bound before, so a view that runs longer than 2m is now cut off with view execution timed out. Raise the timeout if your views legitimately run longer.
  • Startup also fails, naming the key, on any fsc.view.remote key other than enabled without enabled: true, on an unknown key, on no, duplicate or unknown backends, on a listed backend whose listener is disabled, and on an invalid timeWindow, maxMessageSize or clients entry.
  • A string-list key such as fsc.view.remote.backends accepts a comma-separated value, so the whole tree can be set through CORE_ variables.

View service over HTTP (#2220, #2222)

  • PUT /v1/Views/{View} and GET /v1/Views/Stream/{View} are removed. The web listener serves POST /v1/ViewService/ProcessCommand and the WebSocket GET /v1/ViewService/StreamCommand, which carry the same signed commands as gRPC (protojson SignedCommand / SignedCommandResponse). Unsigned requests are rejected. REST clients must switch to the FSC view client (see below) or sign commands themselves.
  • The view routes no longer require a client certificate; requests are authenticated by the command signature.
  • The view service no longer accepts InitiateView. CallView, unary or streamed, is the only command.
  • A command accepted on one transport counts as a replay on the other.
  • The fsc_view_services_view_grpc_client_* metric families are renamed fsc_view_services_view_client_*, and the fsc_view_services_view_grpc_server_view_handler family is removed. Update dashboards and alerts.

Client certificates on the gRPC listener (#2212, #2220)

  • With clientAuthRequired: false and clientRootCAs set, fsc.grpc verifies a client certificate the client offers, and fails the handshake when it does not chain to those roots. Without clientRootCAs, fsc.grpc no longer requests a client certificate.
  • On a listener with clientRootCAs but without clientAuthRequired, a client that offers a certificate must name it in the command's tlsCertHash.

Fabric-x (#2237)

FSC requires fabric-x-committer v1.0.7 or later. The finality and ledger services dial the committer's SidecarService, which older committers do not serve. Upgrade the committer before or together with FSC.

For developers

Go 1.27.3 is required (#2194).

Dependencies

  • github.com/IBM/idemix resolves to v0.3.1 or later in modules that depend on FSC. In v0.3.1, verifying with IdemixSignerOpts fails unless Nym is set (#2232).
  • github.com/hyperledger/fabric-x-common is v0.2.12 (#2237).

View client and service

  • The view client lives in platform/view/services/view/client; platform/view/services/view/grpc/client is gone. NewClient returns *client.Client, and Config.Transport selects gRPC (the default) or HTTP. ViewServiceClient and ViewServiceClientImpl are replaced by Transport (#2222).
  • The client rejects a response whose header does not name the hash of the command it sent (#2222).
  • The client's Initiate, and the web client's Initiate stub, are removed (#2220).
  • server.InstallViewHandler takes the remote timeout in place of a tracing.Provider (#2220).
  • grpc.NewBindingInspector, grpc.BindingInspector and grpc.CertHashExtractor are removed (#2220).
  • web.InstallViewHandler is replaced by NewProcessCommandHandler and NewStreamCommandHandler. web/server.HttpHandler, ReqContext, RequestHandler, WSStream and the platform/view/services/web message package are removed; web/client keeps NewClient, Metrics and the WebSocket dial helpers (#2222).

View SDK servers (#2219, #2220, #2222, #2226)

  • Listeners are the WebServer and GRPCServer interfaces, built by WebServerConstructor and GRPCServerConstructor. Replace a listener by decorating its constructor; the SDK calls a constructor only when the listener is enabled. Transports are Backends in the view-remote-backends dig group, and SDK.Start mounts the listed ones.
  • sdk.Server is renamed sdk.WebServer. OperationsServer embeds WebServer, so ops.Server becomes ops.WebServer. NewOperationsServer takes a WebServer, and Serve takes a GRPCServer and a WebServer.
  • sdk.NewWebServer takes only the configuration service and mounts no routes. The view routes are mounted by the web backend, and /healthz and /readyz by SDK.Start. sdk.NewGRPCServer returns the GRPCServer interface. Neither constructor reads the enabled flag.
  • sdk.NewViewServiceServer takes a RemoteConfig as its first argument in place of the configuration service, and no longer takes a *grpc.GRPCServer.
  • sdk.CommandTimeWindowKey is removed.
  • config.Provider.GetStringSlice splits a single string value on commas.

Connection-state metrics (#2201)

  • delivery.New and delivery.NewService in platform/fabric/core/generic/delivery take a *connstate.Metrics (nil reports nothing).
  • generic/driver.NewProvider and fabricx.NewProvider take a *connstate.Metrics as their third argument.
  • The dig input structs of the fabric and fabricx NewDriver and NewChannelProvider gain a ConnState field. The view SDK provides connstate.NewMetrics; code that builds these by hand must pass it.

Fabric and fabricx

  • ledger.New in platform/fabricx/core/ledger takes a committerpb.SidecarServiceClient in place of a committerpb.BlockQueryServiceClient. The finality and ledger counterfeiter mocks are regenerated and named after SidecarService (#2237).
  • idemix.NewProviderWithStandardPolicy is removed; use NewProviderWithSigType(conf, kvs, sp, bccsp.Standard). idemix.Deserializer.DeserializeVerifierAgainstNymEID is removed; call DeserializeAgainstNymEID(raw, true, nymEID) and build a NymSignatureVerifier from the returned NymPublicKey (#2232).
  • Network, Endpoint, Vault, VaultPersistence, VaultOpts, TLS, File and Files are removed from platform/fabric/core/generic/config. Read network configuration through config.Service (#2193).
  • platform/fabric/services/db/driver/sql/common no longer exports ToBytes, FromBytes, the TTest* helpers or the Cases, UnversionedCases, UnversionedNotifierCases and ErrorCases tables (#2191).

Other removed symbols

  • The platform/common/utils/cache/secondcache package is removed. Use cache.NewSecondChanceCache from platform/common/utils/cache, typed as cache.Map[K, V] (#2229).
  • collections.CopyIterator, NewSingleIterator and Filter: use iterators.Copy, iterators.From and iterators.Filter. collections.ContainsValue and Difference: use collections/maps.ContainsValue and collections/slices.Difference. lazy.Getter and lazy.NewGetter: use sync.OnceValues. utils.RetryRunner: use the concrete retry runners. pkg/node.ExecuteCallbackFunc: use func() error. logging.Named: use a custom floggingtest option (#2151).
  • events.Service and its dig provider: inject events.Publisher, events.Subscriber or events.EventSystem (#2149).

Integration test harness (nwo)

  • NWO.KillFSC, NWO.FSCProcesses, NWO.TerminationSignal and the Group interface are removed, as are the Fabric network's OrdererGroupRunner and PeerGroupRunner. Every FSC node, peer and orderer runs as its own ifrit process, named <prefix>.orderer.<name> and <prefix>.peer.<name> instead of <prefix>.orderers and <prefix>.peers. Use KillFSCNode, StopPeer/StartPeer and StopOrderer/StartOrderer (#2221).
  • api.GRPCClient is renamed api.RemoteViewClient, and api.WebClient.StreamCallView returns *client.Stream. The web client calls views over the HTTP binding, signed as the node's fsc.identity (#2222).
  • The Fabric-x integration tests require fabric-x tools v1.0.3 or later (make install-fabricx-tools) (#2237).

What's Changed

Read more

v0.25.0

Choose a tag to compare

@mbrandenburger mbrandenburger released this 16 Oct 10:19
d350423

⚠️ Breaking changes

Upgrade steps for operators

  • Postgres vault: the state table's pkey column is converted from TEXT to BYTEA on first start. Stop every replica before upgrading; an older FSC version still runs against the converted table but writes keys this version never reads. Downgrading requires a backup. (#2070)
  • /metrics and /logspec require a verified client certificate by default (fsc.metrics.clientAuthRequired: true). Set it to false to keep serving them without one. (#2045)
  • Signed view commands must carry a timestamp within fsc.grpc.authentication.timeWindow (default 15m) of the node's clock and are accepted only once. Clients must sign a fresh command per call. (#2074)
  • Websocket peers: the server's TLS certificate must belong to the dialed peer ID, so each resolver's identity must be the remote node's fsc.identity. (#2076)
  • REST view calls time out after fsc.web.viewTimeout (default 2m). (#2037)
  • Responders per peer are capped by fsc.p2p.maxRespondersPerPeer (default 1000). (#2024)
  • Tracing with no sampling ratio now samples every trace (ratio 1). (#2120)
  • Fabric keepalive under fabric.<network>.keepalive and per-entry connectionTimeout now take effect as documented. (#2034, #2059)

Configuration that now fails startup

  • Keys that differ only in case, a dotted key that repeats a nested key, or an unreadable core.yaml (#2046); keys colliding with a CORE_ environment variable or with the live configuration on MergeConfig (#2067)
  • An unset fsc.id; a resolver entry without name or identity.path; an address key other than Listen, View or P2P (#2122)
  • fsc.web.enabled: true without a host:port fsc.web.address (#2117)
  • An unknown fsc.tracing.provider or a sampling ratio outside [0, 1] (#2120)
  • A reference to an undefined persistence, persistence: default without a default block, or a persistence without a type; FSC no longer falls back to memory (#2119)
  • In fabric.<network>: a negative mspCacheSize, ordering.connectionPoolSize below 1, or a negative channels[].finality.eventQueueWorkers (#2118)
  • An unparsable or non-positive fsc.grpc.authentication.timeWindow, or a non-boolean fsc.metrics.clientAuthRequired (#2074, #2045)

Opening a channel not listed in fabric.<network>.channels returns an error (#2109), and fabric.<network>.delivery.waitForEventTimeout is gone (#2031).

API changes for developers

  • Go 1.27.2 is required. (#2053)
  • driver.RWSet gains GetReadVersion. Transaction.HasBeenEndorsedBy verifies signatures and errors on no parties; register verifier providers with Transaction.AppendVerifierProvider. SetFromBytes / SetFromEnvelopeBytes reject mismatched proposals; call EndorseProposal before collecting remote endorsements. (#2038)
  • server.NewViewServiceServer takes a time window; dig.NewViewServiceServer takes the config service. (#2074)
  • p2p.NewService takes a ConfigService; p2p.CommLayer gains ReplyError and DeleteSession; Manager.NewResponderContext returns a release func instead of isNew; p2p.ViewManager drops DeleteContext. (#2024, #2032, #2073)
  • AddResolver / UpdateResolver reject unknown and repeated address keys; ResolverInfo.AddressList is removed. (#2122)
  • websocket.Config.ClientTLSConfig takes no arguments (#2069). DefaultEnqueueTimeout, DefaultDispatcherTimeout and SetEnqueueTimeout are removed (#2049). Label-based routing and AlwaysLast are removed (#2025).
  • common.NewVaultStore takes a KeyEncoder; the SQL sanitizers are removed (#2070). sqlite.NewDriver / postgres.NewDriver are replaced by NewDriverWithDbProvider (#2058).
  • driver.ConfigService.NewDefaultChannelConfig is removed (#2109); delivery.New drops waitForEventTimeout (#2031).
  • vault.UniqueKeyViolation and vault.DeadlockDetected are removed; use the sentinels in platform/view/services/storage/driver. driver.AuditRegistry and driver.SigRegistry are removed. (#2126)
  • The platform/fabric/services/state/script packages (script, script/api, script/ownable) are removed. (#2124)
  • Unused exported symbols are removed across the view, fabric and fabricx platforms (#2025, #2026, #2048, #2050, #2051, #2081, #2092, #2094, #2095, #2127). Each PR description lists the replacements.

What's Changed

  • refactor(fabric)!: remove the unused delivery.waitForEventTimeout by @mbrandenburger in #2031
  • fix(view): release the sub-connection map lock before websocket rejection writes by @mbrandenburger in #2028
  • refactor(view)!: remove label-based websocket routing and AlwaysLast by @mbrandenburger in #2025
  • refactor(fabricx)!: delete unreachable core/committer/txhandler.go by @mbrandenburger in #2026
  • fix(fabric): read the network's client keepalive settings by @mbrandenburger in #2034
  • fix(view): dial outside provider lock and set websocket handshake timeout by @SurbhiAgarwal1 in #2036
  • chore(deps): bump the go-dependencies group across 3 directories with 6 updates by @dependabot[bot] in #2040
  • refactor(fabricx)!: remove leftover WebSocket constant from sdk/dig by @entrepreneurme in #2048
  • fix(web): bound REST view invocations with a configurable timeout by @Rozerxshashank in #2037
  • fix(view)!: bound concurrent responders per remote peer by @mbrandenburger in #2024
  • fix(comm)!: stop one non-draining session from stalling message dispatch by @SaidAltury-ibm in #2049
  • chore(deps): bump Go to 1.27.2, x/net to v0.60.0 and golangci-lint to v2.14.0 by @SaidAltury-ibm in #2053
  • refactor(view)!: remove unused storage driver declarations by @entrepreneurme in #2051
  • feat(cache): add a second-chance eviction policy and let policies observe reads by @sid200727 in #1955
  • refactor(fabric)!: remove unused fabric driver aliases by @entrepreneurme in #2050
  • fix(view)!: reject incoming sessions that name an initiator context by @mbrandenburger in #2032
  • fix(fabric): close only opened channels in FSNProvider.Stop by @SaidAltury-ibm in #2055
  • test(view): wait for StreamCallView to delete its context before asserting it by @SaidAltury-ibm in #2057
  • fix(fabric): honor per-entry connectionTimeout when dialling peers and orderers by @entrepreneurme in #2059
  • fix(view)!: require a client certificate on /metrics and /logspec by default by @SaidAltury-ibm in #2045
  • fix(fabric)!: verify endorsement signatures, proposal hash and read version of state certifications by @SaidAltury-ibm in #2038
  • refactor(fabric)!: remove unused SQL NewDriver wrappers and TracingConfig by @entrepreneurme in #2058
  • fix(view)!: reject configuration keys that collide after lowercasing or flattening by @SaidAltury-ibm in #2046
  • fix(view): release the context and websocket of streamed REST view calls by @SaidAltury-ibm in #2039
  • fix(cache): keep second-chance victim scans from orphaning entries by @mbrandenburger in #2060
  • fix(comm): trust peers discovered after startup on outbound websocket connections by @SaidAltury-ibm in #2061
  • chore(deps): bump the github-actions group with 2 updates by @dependabot[bot] in #2065
  • chore(deps): bump the go-dependencies group across 2 directories with 15 updates by @dependabot[bot] in #2064
  • fix(comm): kill websocket multiplexer on write failure by @Rozerxshashank in #2052
  • fix(view)!: reject configuration keys outside AddNetwork's networks and collisions across loads by @SaidAltury-ibm in #2067
  • fix(view): accept websocket streams with an undecodable span context in both providers by @mbrandenburger in #2068
  • fix(comm)!: stop the websocket server trusting withdrawn extra CAs by @mbrandenburger in #2069
  • fix(fabric)!: store Postgres vault keys as BYTEA so distinct keys keep distinct rows and range scans find every child by @mbrandenburger in #2070
  • fix(view)!: keep a shared responder context alive until its last responder returns by @mbrandenburger in https://github.com/hyperledger...
Read more

v0.24.0

Choose a tag to compare

@mbrandenburger mbrandenburger released this 02 Oct 05:22
86539af

What's Changed

  • fix(vault): guard GetDirectState against nil qe and closed instances by @mbrandenburger in #1892
  • fix(fabric/delivery): stop leaking the receiver goroutine and its stream on shutdown by @mbrandenburger in #1894
  • fix(fabricx): implement NewTransactionFromEnvelopeBytes by @mbrandenburger in #1897
  • fix(fabric): guard the rwset envelope unpacker against a malformed transaction envelope by @mbrandenburger in #1898
  • fix(state): reject a recipient-exchange request missing recipient data by @mbrandenburger in #1903
  • fix(fabric,fabricx): report a missing endorsement or response instead of dereferencing it by @mbrandenburger in #1901
  • fix(discovery): reject a Discovery response with more endorsement descriptors than requested by @mbrandenburger in #1904
  • fix(fabric): guard remaining unsafe protobuf field accesses by @mbrandenburger in #1906
  • chore(deps): bump the go-dependencies group across 2 directories with 2 updates by @dependabot[bot] in #1911
  • fix(fabric): guard the processor registries against concurrent registration by @SaidAltury-ibm in #1908
  • fix(vfsdk): only test nilable factory returns with IsNil by @SaidAltury-ibm in #1910
  • fix(runner): validate batch capacity and timeout before starting the batcher by @SaidAltury-ibm in #1914
  • fix(view): return errors instead of panicking from client Initiate paths by @mbrandenburger in #1916
  • fix(nwo): guard AppendOrganization against a topology with no consortium by @mbrandenburger in #1921
  • fix(integration): stop asserting inside bare goroutines in container log helpers by @mbrandenburger in #1922
  • fix(sig): verify through the resolved verifier instead of panicking by @SaidAltury-ibm in #1924
  • fix(integration): guard unguarded X(...)[0] indexing in the nwo test harness by @mbrandenburger in #1923
  • test(fabricx): add cross-node regression test for endorsement result equality by @mbrandenburger in #1926
  • test(fabric): increase coverage of platform/fabric/services/db/driver/sql/common by @sid200727 in #1912
  • fix(state): compare Output fields in Equals instead of panicking by @SaidAltury-ibm in #1927
  • fix(state)!: return errors instead of panicking from transaction inspection APIs (#1388) by @mbrandenburger in #1928
  • fix(endorser)!: return an error instead of panicking on a nil service provider by @SaidAltury-ibm in #1929
  • test(fabric): increase coverage of platform/fabric/core/generic/membership/channelconfig by @mbrandenburger in #1931
  • test(fabric): increase coverage of platform/fabric/core/generic/services by @SaidAltury-ibm in #1930
  • fix!: correct typos in identifiers, messages, and docs by @mbrandenburger in #1933
  • test(fabricx): increase coverage of platform/fabricx/core/transaction by @mbrandenburger in #1949
  • fix(integration): exit with an error instead of panicking in pingpong mains by @mbrandenburger in #1943
  • refactor(id)!: remove unused admin identities from id.Provider by @mbrandenburger in #1947
  • fix(fabricx)!: validate envelopes in the rwset loader and cover it with tests by @mbrandenburger in #1951
  • fix(kvs): stop GetExisting and SplitCompositeKey from panicking by @mbrandenburger in #1944
  • fix(kvs): report scan errors from the GetByPartialCompositeID iterator by @mbrandenburger in #1946
  • test(fabric): increase coverage of platform/fabric/core/msp by @SaidAltury-ibm in #1956
  • fix(fabricx): reject RWSet bytes that carry unknown protobuf fields by @mbrandenburger in #1953
  • refactor!: consolidate composite key helpers in pkg/utils/compose by @mbrandenburger in #1958
  • test(view): cover error paths of web/server and config decode hooks by @mbrandenburger in #1959
  • fix(fabricx): keep vault reads, appends and equality consistent by @mbrandenburger in #1960
  • test(fabric): increase coverage of platform/fabric/services/state by @SaidAltury-ibm in #1961
  • fix(fabricx): record a read of a missing key in the vault RWSet by @mbrandenburger in #1963
  • fix(config, web): parse byte sizes in base 10, catch shift overflow, match websocket upgrades case-insensitively by @mbrandenburger in #1968
  • test(view): cover websocket host failure and teardown paths by @mbrandenburger in #1965
  • refactor(config, web)!: bound request bodies, report websocket read errors, simplify decode hooks by @mbrandenburger in #1970
  • fix(view): stop late websocket frames from killing the connection by @mbrandenburger in #1971
  • test(fabric): increase coverage of platform/fabric/core/generic/transaction by @SaidAltury-ibm in #1972
  • test(fabric): increase coverage of platform/fabric/core/generic/ledger/kvledger/rwsetutil by @SaidAltury-ibm in #1977
  • fix(fabric): fail state views on a bad reply and a short recipient exchange by @SaidAltury-ibm in #1982
  • test(view): increase coverage of platform/view/services/comm/host/websocket/routing by @sid200727 in #1954
  • fix(vault): cache the failed open in setVaultReader by @sid200727 in #1948
  • fix(view)!: delete only the disposed session and stop on a closed master session by @mbrandenburger in #2022
  • fix(web): release the HTTP connection on non-200 responses by @SaidAltury-ibm in #1984
  • refactor(common)!: remove unused grpc.CredentialSupport by @mbrandenburger in #2023

Full Changelog: v0.23.0...v0.24.0

v0.23.0

Choose a tag to compare

@mbrandenburger mbrandenburger released this 25 Sep 13:13
7ed8144

What's Changed

Full Changelog: v0.22.0...v0.23.0

v0.22.0

Choose a tag to compare

@mbrandenburger mbrandenburger released this 16 Sep 13:36
v0.22.0
06d2031

What's Changed

Full Changelog: v0.21.0...v0.22.0

v0.21.0

Choose a tag to compare

@mbrandenburger mbrandenburger released this 11 Sep 11:15
v0.21.0
4af2158

What's Changed

Full Changelog: v0.20.0...v0.21.0