文件历史

36 次代码提交

作者 SHA1 备注 提交日期
Asim Aslam c7657f73f4 Refactor agent plan storage, update docs, and release v6 (#2977)
goreleaser / goreleaser (push) Has been cancelled
* test(harness): read agent plan from the scoped store

The store-scoping change moved an agent's plan from the default table
key agent/{name}/plan to its own table (database "agent", table {name},
key "plan"). The plan-delegate harness tests still read the old key and
failed with 'not found'; read through store.Scope(mem, "agent", name)
like the agent does.

* docs: orient agents-first across README, landing, and docs overview

Lead with agents (then services and flows), surface MCP + A2A as the
interop story, and frame agents as services. Landing hero and feature
grid reordered agents-first with an A2A gateway card.

* v6: module path go-micro.dev/v6, TLS secure by default, NewService

Cut v6. Three breaking changes, bundled so the major bump is paid once:

- Module path go-micro.dev/v5 -> go-micro.dev/v6 across all imports + go.mod.
- TLS verification on by default (was off). MICRO_TLS_SECURE removed;
  MICRO_TLS_INSECURE=true opts out for self-signed/dev.
- micro.NewService(name, opts...) is the canonical service constructor,
  symmetric with NewAgent/NewFlow; micro.New kept as a deprecated alias;
  the old name-less NewService(opts...) removed. Generators emit NewService.

Also ports the JWT auth token provider in-module (go-micro.dev/v6/auth/jwt/token
on golang-jwt/jwt/v5), dropping the v5-pinned github.com/micro/plugins/v5/auth/jwt
and the deprecated dgrijalva/jwt-go.

Docs/README/landing updated to v6 and @latest; v5->v6 migration guide added;
CHANGELOG cut as [6.0.0]. Blog posts left at their historical versions.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-06-18 11:55:35 +01:00
asim 610c00859f v5 2024-06-04 21:40:43 +01:00
Lukasz Raczylo a7522e7d6c fix: struct field alignment (#2632) 2023-04-26 02:16:34 +02:00
David Brouwer a3980c2308 feat: add test framework & refactor RPC server (#2579)
Co-authored-by: Rene Jochum <rene@jochum.dev>
2022-10-20 13:00:50 +02:00
David Brouwer 85c0b0b8eb fix: some linting issues (#2563) 2022-09-30 16:27:07 +02:00
Ak-Army 97f169c424 fix http_transport Recv and Close race condition on buff (#2374)
fix rpc_stream panic override with the "Unlock of unlocked RWMutex" panic

Co-authored-by: Hunyadvári Péter <peter.hunyadvari@vcc.live>
2021-12-05 11:56:17 +00:00
Johnson C d2a51d05c4 [feature] stream CloseSend (#2323)
* support stream CloseSend

* move CloseSend into Closer
2021-10-26 15:07:08 +01:00
Asim Aslam 1cd7cfaa6c go-micro.dev/v4 (#2305)
Run tests / Test repo (push) Has been cancelled
2021-10-12 12:55:53 +01:00
Asim Aslam d94936f6c9 v3 (#2104)
* v3

* revert plugins

* fixup some issues
2021-01-20 13:54:31 +00:00
Maarten Bezemer 3d36398818 Fix client RPC stream close mutex (#1643)
Docker / build (push) Has been cancelled
Run tests / Test repo (push) Has been cancelled
2020-05-18 17:22:33 +01:00
Vasiliy Tolstov f23638c036 fix import paths for v2 release
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-01-30 14:44:40 +03:00
Maarten Bezemer 50b20413d3 RPC stream client/server mutex fix (#884)
* Unlock RPC client while actually receiving a message

As receiving a message might block for a long time, unblocking the client allows to let it send messages in the meanwhile without using 'tricks'

* Unlock RPC server while actually receiving a message

As receiving a message might block for a long time, unblocking the client allows to let it send messages in the meanwhile without using 'tricks'

* Protect Close() against race conditions

* Concurrency and Sequence tests
2020-01-12 09:13:14 +00:00
Asim Aslam 0b0eee41d0 functioning proxy code 2019-08-16 16:46:29 +01:00
Asim Aslam 58bc4c103f go fmt 2019-08-15 20:54:09 +01:00
Asim Aslam ef04331b86 multiplexing cruft 2019-08-15 20:08:49 +01:00
Asim Aslam 6468733d98 Use protocol from node metadata 2019-01-18 12:30:39 +00:00
Asim Aslam 2cd2258731 For the legacy 2019-01-18 10:12:57 +00:00
Asim Aslam c1d0237370 Add client response 2019-01-14 21:30:43 +00:00
Asim Aslam 9adebfcf1e rename method to endpoint 2019-01-10 21:25:31 +00:00
Asim Aslam 648da5494f Change a few things 2019-01-10 11:39:39 +00:00
Asim Aslam 1561ccbc14 remove clientCodec 2019-01-09 17:33:28 +00:00
Asim Aslam 4cb41721f1 further codec changes 2019-01-08 15:38:25 +00:00
Asim Aslam e8b431c5ff rename codec interface 2019-01-07 18:17:13 +00:00
Asim Aslam 386ced576a Process header/body in one call 2018-12-31 17:53:16 +00:00
Asim Aslam 73e22eb5b1 gofmt 2018-04-06 14:03:00 +01:00
leon.peng 9b99d50396 fix bug #239 2018-03-21 03:17:38 +00:00
Asim Aslam c9b40cb33b switch to stdlib context 2018-03-03 11:53:52 +00:00
Asim Aslam 095793ee96 handle codec and transport errors 2016-12-06 19:40:44 +00:00
Asim 2254578760 We don't need sync.Once, we can just select 2016-05-11 00:01:32 +01:00
Asim 7401c44973 This is actually a useless error 2016-01-07 01:58:38 +00:00
Asim bffd55f500 Channel rather than mutex to check is closed 2015-12-28 19:11:10 +00:00
Asim 3b295b16e7 Working bidirectional streaming example 2015-12-18 20:28:50 +00:00
Asim 4cba0c57ab Checkpoint the world 2015-12-18 01:01:59 +00:00
Asim 6ae48c9f29 checkpoint 2015-12-17 20:37:35 +00:00
Asim 0c9f8411bb Pull rpcplus in local for the time being. We need to modify it for server side middleware 2015-12-01 23:32:23 +00:00
Asim 09c784d294 add support for streaming requests. cleanup watcher initilisation 2015-06-01 18:55:27 +01:00