Skip to content

Releases: massive-com/client-go

v3.1.0

03 Mar 13:45
3bd4740

Choose a tag to compare

What's Changed

  • Sync client-go with OpenAPI spec (added /stocks/filings/8-K/vX/text endpoint) by @justinpolygon in #570
  • Correct parameter handling in Go example generation script by @justinpolygon in #566
  • Bump github.com/sirupsen/logrus from 1.9.3 to 1.9.4 by @dependabot[bot] in #567
  • Bump github.com/oapi-codegen/runtime from 1.1.2 to 1.2.0 by @dependabot[bot] in #568

Full Changelog: v3.0.0...v3.1.0

v3.0.0

24 Feb 13:50
3a174a2

Choose a tag to compare

v3.0.0 - Breaking Change: REST Client Now Fully Auto-Generated

This is a breaking release (v3.0.0). The entire REST client has been completely rewritten as a fully auto-generated client using oapi-codegen. Because the client is now generated directly from the official OpenAPI spec, all function signatures have changed.

Only the REST client is affected, the WebSocket client (/websocket) remains completely unchanged and continues to work exactly as before.

Migration Guide

To upgrade from v2 to v3:

go get github.com/massive-com/client-go/v3@v3.0.0

Then update your imports:

import (
    "github.com/massive-com/client-go/v3/rest"
    "github.com/massive-com/client-go/v3/rest/gen"   // new generated types
)

Here's an example of a working code example:

package main

import (
	"context"
	"fmt"
	"log"
	"github.com/massive-com/client-go/v3/rest"
	"github.com/massive-com/client-go/v3/rest/gen"
)

func main() {

	c := rest.NewWithOptions("YOUR_API_KEY",
		rest.WithTrace(false),
		rest.WithPagination(true),
	)
	ctx := context.Background()

	params := &gen.GetStocksAggregatesParams{
		Adjusted: rest.Ptr(true),
		Sort: "asc",
		Limit: rest.Ptr(120),
	}

	resp, err := c.GetStocksAggregatesWithResponse(
		ctx,
		"AAPL",
		1,
		"day",
		"2026-02-16",
		"2026-02-20",
		params,
	)
	if err != nil {
		log.Fatal(err)
	}

	if err := rest.CheckResponse(resp); err != nil {
		log.Fatal(err)
	}

	iter := rest.NewIteratorFromResponse(c, resp)
	for iter.Next() {
		item := iter.Item()
		fmt.Printf("%+v\n", item)
	}
	if err := iter.Err(); err != nil {
		log.Fatal(err)
	}
}

Please see https://massive.com/docs for code examples.

Full Changelog: v2.0.0...v3.0.0

v2.0.0

31 Oct 02:03
45a2abb

Choose a tag to compare

Release Notes - Massive Go Client v2.0.0 (breaking changes)

This is a major breaking release of the Go client as part of our company rebrand from Polygon.io to Massive.com. Polygon.io has rebranded as Massive.com effective October 30, 2025.
Existing API keys, accounts, and integrations continue to work exactly as before.

This release introduces a new module path for v2:

module github.com/massive-com/client-go/v2

The client continues to provide identical APIs, methods, and data models, with only the import paths and default API domains updated to reflect the new brand.

Breaking Changes

  • The module path has changed to github.com/massive-com/client-go/v2.
  • Default REST base URL updated from https://api.polygon.iohttps://api.massive.com.
  • Default WebSocket base URL updated from wss://socket.polygon.iowss://socket.massive.com.
  • All internal package references now use the new massive-com organization path.

No functional or behavioral changes are introduced. All client interfaces and method signatures remain identical.

Migration Guide

To upgrade, update your go.mod to import the new v2 module:

go get github.com/massive-com/client-go/v2@v2.0.0

Then update your imports:

import "github.com/massive-com/client-go/v2/rest"

All API keys, accounts, and integrations continue to function without modification.
If you continue using the legacy github.com/polygon-io/client-go module, it will remain supported for an extended transition period.

Additional Information

What's Changed

Full Changelog: v1.16.18...v2.0.0

v1.16.18

31 Oct 00:08
4f96eaa

Choose a tag to compare

client-go v1.16.18 Release Notes

This minor patch release adds a deprecation notice to align with our rebrand from Polygon.io to Massive.com. No other functional changes, your existing code continues to work exactly as before. Polygon.io has rebranded as Massive.com effective October 30, 2025. Existing API keys, accounts, and integrations continue to work exactly as before. The only upcoming change will be in v2.0.0, where the SDK defaults to the new API base at api.massive.com, while api.polygon.io remains supported for an extended period.

What's Changed

Full Changelog: v1.16.16...v1.16.18

v1.16.16

17 Jul 14:44
2cf9e59

Choose a tag to compare

What's Changed

Full Changelog: v1.16.15...v1.16.16

v1.16.15

16 Jul 14:12
7e3adc9

Choose a tag to compare

What's Changed

Full Changelog: v1.16.14...v1.16.15

v1.16.14

08 Jul 18:51
e7bf6b0

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.16.13...v1.16.14

v1.16.13

03 Jun 18:56
6f8c69b

Choose a tag to compare

What's Changed

  • Updated ListTreasuryYields, ListShortInterest, and ListShortVolume from vX to v1 endpoints @justinpolygon in #538
  • Bump github.com/jarcoal/httpmock from 1.3.1 to 1.4.0 by @dependabot in #536

Full Changelog: v1.16.12...v1.16.13

v1.16.12

24 Apr 17:54
057580b

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.16.11...v1.16.12

v1.16.11

02 Apr 17:08
ebb198d

Choose a tag to compare

What's Changed

  • fix(ws): reduce excessive websocket reconnects due to aggressive ping/pong timing by @justinpolygon in #527

Full Changelog: v1.16.10...v1.16.11