Skip to content

Releases: moleculer-go/moleculer

v0.3.5 TCP Transporter - Bug FIxes

15 Apr 11:08
Compare
Choose a tag to compare
Pre-release

Bug fixes on UDP Discovery flow and gossip protocol.

v0.3.4 TCP Transporter

12 Apr 09:49
62e0322
Compare
Choose a tag to compare
Pre-release

New TCP Transporter compatible with Moleculer JS. Compatibility tests here: https://github.com/moleculer-go/compatibility

v0.3.3 - Fix registry - handle when services are removed from remote nodes

07 Mar 23:08
Compare
Choose a tag to compare

v0.3.3 - Fix registry - handle when services are removed from remote nodes

Issues solved: When a remote node (JS or Golang) removes any of its services and send a new set of node info, the moleculer go register was removing these services properly.
This update fixes that issue.

Fix payload handling of keys with "."

18 Apr 03:03
Compare
Choose a tag to compare

Fix payload handling of keys with "."

having issue with v0.3.1

server response: not found: github.com/moleculer-go/[email protected]: invalid version: unknown revision v0.3.1

Fix payload handling of keys with "."

18 Apr 03:00
Compare
Choose a tag to compare

Fix payload handling of keys with "."

Fix payload handling of keys with "."

18 Apr 02:43
Compare
Choose a tag to compare
Pre-release

Fix payload handling of keys with "."

Protocol v4 Compatibility

13 Jun 06:16
ea742a7
Compare
Choose a tag to compare
Pre-release

Moleculer JS Protocol v4 Compatibility

Test suite: https://github.com/moleculer-go/compatibility

Updated dependencies and go.mod

16 May 06:16
Compare
Choose a tag to compare
Pre-release

Updated dependencies and go.mod

Minor improvements to stability and concurrency

16 May 05:23
Compare
Choose a tag to compare

Minor improvements to stability and concurrency

Mostly related to improved unit testing.

payload.Get(<path>) support ! -> . (dot) separated paths are now supported by payload.Get()

01 May 05:37
Compare
Choose a tag to compare

Support for . (dot) separated paths in the payload objects

Examples:

//convenient access
p.Get("address.street").String()

// indexed arrays
p.Get("address.options[0].label").String()

p := New(map[string]interface{}{
			"name":     "John",
			"lastname": "Snow",
			"address": M{
				"street": "jonny ave",
				"country": M{
					"code": "NZ",
					"name": "New Zealand",
				},
				"options": []M{
					M{
						"label": "item 1",
					},
					M{
						"label": "item 2",
					},
				},
			},
		})
		Expect(p.Get("name").String()).Should(Equal("John"))
		Expect(p.Get("address.street").String()).Should(Equal("jonny ave"))
		Expect(p.Get("address.country.code").String()).Should(Equal("NZ"))
		Expect(p.Get("address.options[0].label").String()).Should(Equal("item 1"))
		Expect(p.Get("address.options[1].label").String()).Should(Equal("item 2"))
	})