Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. π₯
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
fix(go-sdk): change SDK version to 1.0.0 to comply with Go module rules
Devin AIca778d26d909
diff --git a/.github/workflows/publish-go-sdk.yml b/.github/workflows/publish-go-sdk.ymlindex 052e2f2e1..6de933edd 100644--- a/.github/workflows/publish-go-sdk.yml+++ b/.github/workflows/publish-go-sdk.yml@@ -11,7 +11,7 @@ on:# Go modules are "published" by pushing a git tag. For modules living in a# monorepo subdirectory, the tag MUST be prefixed with the subdir path β-# e.g. apps/go-sdk/v2.0.0 β for the Go module proxy to resolve it.+# e.g. apps/go-sdk/v1.0.0 β for the Go module proxy to resolve it.## This workflow reads Version from apps/go-sdk/version.go, checks whether the# corresponding tag already exists, and if not creates+pushes it, then warmsdiff --git a/apps/go-sdk/README.md b/apps/go-sdk/README.mdindex 360af0b64..1830ebbbc 100644--- a/apps/go-sdk/README.md+++ b/apps/go-sdk/README.md@@ -320,10 +320,10 @@ The Go SDK lives in a monorepo subdirectory, so releases follow Go's**must** be prefixed with the module subdirectory path:```-apps/go-sdk/v2.0.0+apps/go-sdk/v1.0.0```-A bare `v2.0.0` tag will not be resolvable by the Go module proxy.+A bare `v1.0.0` tag will not be resolvable by the Go module proxy.### Release workflow@@ -331,7 +331,7 @@ The SDK version is the single source of truth in[`version.go`](./version.go):```go-const Version = "2.0.0"+const Version = "1.0.0"```To cut a release:@@ -350,7 +350,7 @@ The workflow is idempotent: if the tag already exists, it is a no-op.### Consuming a specific version```bash-go get github.com/firecrawl/firecrawl/apps/[email protected]+go get github.com/firecrawl/firecrawl/apps/[email protected]```Users pin via the semantic version suffix; they never reference thediff --git a/apps/go-sdk/version.go b/apps/go-sdk/version.goindex 08d6a2488..11be8a52b 100644--- a/apps/go-sdk/version.go+++ b/apps/go-sdk/version.go@@ -3,7 +3,10 @@ package firecrawl// Version is the SDK version. It is used as the source of truth for release// tags (apps/go-sdk/v{Version}) and as the User-Agent suffix on API requests.//+// Note: this version tracks the SDK release cycle, not the Firecrawl API+// version. The SDK targets the Firecrawl v2 API.+//// Bump this when preparing a new release. The publish-go-sdk GitHub workflow// reads this value and creates the corresponding monorepo-prefixed tag on// merge to main.-const Version = "2.0.0"+const Version = "1.0.0"