文件历史

53 次代码提交

作者 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
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
Asim Aslam 1e2d197c7d default the content type to json (#2412) 2022-01-11 13:36:20 +00: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
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
Asim Aslam 45c986c5f1 don't marshal frame values 2019-12-31 21:36:22 +00:00
Asim Aslam c445aed6b1 Cleanup and speedup network convergence along with direct messaging for connect and solicit 2019-12-07 19:54:29 +00:00
Asim Aslam 080363e8c4 The mega cruft proxy PR (#974)
* the mega cruft proxy PR

* Rename broker id

* add protocol=grpc

* fix compilation breaks

* Add the tunnel broker to the network

* fix broker id

* continue to be backwards compatible in the protocol
2019-11-25 16:31:43 +00:00
Asim Aslam 4495ca3839 Use client.Call for non streaming requests 2019-08-16 17:24:17 +01:00
Asim Aslam ef04331b86 multiplexing cruft 2019-08-15 20:08:49 +01:00
Asim Aslam f6b8045dd5 send client error if it exists 2019-08-15 15:22:53 +01:00
Asim Aslam 64ec0633a3 Fix breaks and go fmt 2019-07-10 07:47:17 +01:00
Asim Aslam 0bf54c122f move transport back 2019-07-09 18:41:26 +01:00
Asim Aslam 777a203f96 gofmt 2019-07-07 12:33:54 +01:00
Asim Aslam d2d6841f02 Move transport to network/transport 2019-07-07 10:37:34 +01:00
Asim Aslam b1a31134bd Support micro proxy 2019-01-30 18:42:11 +00:00
Asim Aslam 8090f9968d Update headers to remove X- prefix 2019-01-24 10:11:02 +00: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 784a89b488 Allow bytes.Frame to be set to sent just bytes 2019-01-16 15:27:57 +00:00
Asim Aslam c1d0237370 Add client response 2019-01-14 21:30:43 +00:00
Asim Aslam c17d0fcc0f grpc request 2019-01-13 19:54:07 +00:00
Asim Aslam 9897c630ae remove request/response 2019-01-11 14:04:37 +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 d179c971af Switch default codec and add default codec for server 2019-01-07 13:48:38 +00:00
Asim Aslam 5aeb28dfee Add error header 2019-01-07 09:11:36 +00:00
Asim Aslam ed580204a8 Add grpc codec 2019-01-02 12:55:06 +00:00
Asim Aslam e2623d8ef5 Make json/protobuf codecs 2018-12-31 22:01:16 +00:00
Asim Aslam b3b4bc6059 remove Plus 2018-12-31 20:51:22 +00:00
Asim Aslam 386ced576a Process header/body in one call 2018-12-31 17:53:16 +00:00
Asim Aslam dcf7a56f9b rename codec 2018-12-31 17:28:19 +00:00
Asim Aslam ff982b5fd1 add method 2018-12-28 21:27:08 +00:00
Asim Aslam 28324412a4 Add X-Micro-Target header 2018-12-26 14:46:15 +00:00
Asim Aslam 095793ee96 handle codec and transport errors 2016-12-06 19:40:44 +00:00
Asim d306559d8f Nitpick Headers to Header 2016-01-28 18:11:13 +00:00
Asim ad4637d89b Lets strip out the rpcplus code 2016-01-05 21:13:20 +00:00
Asim 3b295b16e7 Working bidirectional streaming example 2015-12-18 20:28:50 +00:00
Asim 271b827aa9 add changes for mercury 2015-12-16 01:18:05 +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 dddcdc34ed rename to protorpc and jsonrpc 2015-11-28 18:54:38 +00:00
Asim 80f53ab176 Add json codec 2015-11-28 18:40:32 +00:00
Asim 654728027b Updated codec interface and code. Painful stuff 2015-11-28 11:22:29 +00:00
Asim 12a1e1eeda Add pluggable codec support 2015-11-25 19:50:05 +00:00