Compare commits

..

4 Commits

Author SHA1 Message Date
github-actions[bot]
9ab45a25c0 chore(release): Update version to v1.4.397 2026-01-31 21:24:41 +00:00
Kayvan Sylvan
c3f1e2f719 Merge pull request #1979 from ksylvan/kayvan/update-anthropic-sdk
Update Anthropic SDK to v1.20.0 and reorganize model definitions
2026-01-31 13:22:01 -08:00
Kayvan Sylvan
4e5b4a3072 chore: incoming 1979 changelog entry 2026-01-31 13:12:21 -08:00
Kayvan Sylvan
0285e52c7b feat: update Anthropic SDK to v1.20.0 and reorganize model definitions**
## CHANGES

- Bump `anthropic-sdk-go` dependency from v1.19.0 to v1.20.0
- Add deprecation notice for pre-February 2026 legacy models
- Add new Claude Sonnet 4.0 and Opus 4.0 model aliases
- Extend 1M context beta support to all Sonnet 4 variants
- Reorganize model list to separate deprecated from current models
- Add `neturl` to VS Code spell-check dictionary
2026-01-31 12:58:44 -08:00
9 changed files with 35 additions and 12 deletions

View File

@@ -134,6 +134,7 @@
"mvdan",
"mychat",
"mygroup",
"neturl",
"nicksnyder",
"nixpkgs",
"nometa",

View File

@@ -1,5 +1,15 @@
# Changelog
## v1.4.397 (2026-01-31)
### PR [#1979](https://github.com/danielmiessler/Fabric/pull/1979) by [ksylvan](https://github.com/ksylvan): Update Anthropic SDK to v1.20.0 and reorganize model definitions
- Feat: update Anthropic SDK to v1.20.0 and reorganize model definitions
- Bump `anthropic-sdk-go` dependency from v1.19.0 to v1.20.0
- Add deprecation notice for pre-February 2026 legacy models
- Add new Claude Sonnet 4.0 and Opus 4.0 model aliases
- Extend 1M context beta support to all Sonnet 4 variants
## v1.4.396 (2026-01-30)
### PR [#1975](https://github.com/danielmiessler/Fabric/pull/1975) by [koriyoshi2041](https://github.com/koriyoshi2041): feat: add suggest_moltbot_command pattern for Moltbot (formerly Clawdbot) CLI

View File

@@ -1,3 +1,3 @@
package main
var version = "v1.4.396"
var version = "v1.4.397"

Binary file not shown.

2
go.mod
View File

@@ -3,7 +3,7 @@ module github.com/danielmiessler/fabric
go 1.25.1
require (
github.com/anthropics/anthropic-sdk-go v1.19.0
github.com/anthropics/anthropic-sdk-go v1.20.0
github.com/atotto/clipboard v0.1.4
github.com/aws/aws-sdk-go-v2 v1.41.0
github.com/aws/aws-sdk-go-v2/config v1.32.6

2
go.sum
View File

@@ -40,6 +40,8 @@ github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFI
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4=
github.com/anthropics/anthropic-sdk-go v1.19.0 h1:mO6E+ffSzLRvR/YUH9KJC0uGw0uV8GjISIuzem//3KE=
github.com/anthropics/anthropic-sdk-go v1.19.0/go.mod h1:WTz31rIUHUHqai2UslPpw5CwXrQP3geYBioRV4WOLvE=
github.com/anthropics/anthropic-sdk-go v1.20.0 h1:KE6gQiAT1aBHMh3Dmp1WgqnyZZLJNo2oX3ka004oDLE=
github.com/anthropics/anthropic-sdk-go v1.20.0/go.mod h1:WTz31rIUHUHqai2UslPpw5CwXrQP3geYBioRV4WOLvE=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/apache/arrow/go/arrow v0.0.0-20211112161151-bc219186db40 h1:q4dksr6ICHXqG5hm0ZW5IHyeEJXoIJSOZeBLmWPNeIQ=
github.com/apache/arrow/go/arrow v0.0.0-20211112161151-bc219186db40/go.mod h1:Q7yQnSMnLvcXlZ8RV+jwz/6y1rQTqbX6C82SndT52Zs=

View File

@@ -36,22 +36,32 @@ func NewClient() (ret *Client) {
ret.maxTokens = 4096
ret.defaultRequiredUserMessage = "Hi"
ret.models = []string{
// The following models will be deprecated on February 19, 2026
string(anthropic.ModelClaude3_7SonnetLatest), string(anthropic.ModelClaude3_7Sonnet20250219),
string(anthropic.ModelClaude3_5HaikuLatest), string(anthropic.ModelClaude3_5Haiku20241022),
string(anthropic.ModelClaude3OpusLatest), string(anthropic.ModelClaude_3_Opus_20240229),
string(anthropic.ModelClaude_3_Haiku_20240307),
string(anthropic.ModelClaudeOpus4_20250514), string(anthropic.ModelClaudeSonnet4_20250514),
string(anthropic.ModelClaudeOpus4_1_20250805),
string(anthropic.ModelClaudeSonnet4_5),
string(anthropic.ModelClaudeSonnet4_5_20250929),
// The following are the current supported models
string(anthropic.ModelClaudeOpus4_5_20251101),
string(anthropic.ModelClaudeOpus4_5),
string(anthropic.ModelClaudeHaiku4_5),
string(anthropic.ModelClaudeHaiku4_5_20251001),
string(anthropic.ModelClaudeSonnet4_20250514),
string(anthropic.ModelClaudeSonnet4_0),
string(anthropic.ModelClaude4Sonnet20250514),
string(anthropic.ModelClaudeSonnet4_5),
string(anthropic.ModelClaudeSonnet4_5_20250929),
string(anthropic.ModelClaudeOpus4_0),
string(anthropic.ModelClaudeOpus4_20250514),
string(anthropic.ModelClaude4Opus20250514),
string(anthropic.ModelClaudeOpus4_1_20250805),
string(anthropic.ModelClaude_3_Haiku_20240307),
}
ret.modelBetas = map[string][]string{
string(anthropic.ModelClaudeSonnet4_20250514): {"context-1m-2025-08-07"},
// Claude Sonnet 4 variants (1M context support)
string(anthropic.ModelClaudeSonnet4_20250514): {"context-1m-2025-08-07"},
string(anthropic.ModelClaudeSonnet4_0): {"context-1m-2025-08-07"},
string(anthropic.ModelClaude4Sonnet20250514): {"context-1m-2025-08-07"},
// Claude Sonnet 4.5 variants (1M context support)
string(anthropic.ModelClaudeSonnet4_5): {"context-1m-2025-08-07"},
string(anthropic.ModelClaudeSonnet4_5_20250929): {"context-1m-2025-08-07"},
}

View File

@@ -38,8 +38,8 @@ schema = 3
version = "v1.3.3"
hash = "sha256-jv7ZshpSd7FZzKKN6hqlUgiR8C3y85zNIS/hq7g76Ho="
[mod."github.com/anthropics/anthropic-sdk-go"]
version = "v1.19.0"
hash = "sha256-ubYeau5XL0tx4c/79L58rzJGOdOWs9z6WQOtN6mpgxw="
version = "v1.20.0"
hash = "sha256-lIOrVT0vWNWhshc/3/UGOR4/EyBzNvTuXcgFQq3HR0k="
[mod."github.com/apache/arrow/go/arrow"]
version = "v0.0.0-20211112161151-bc219186db40"
hash = "sha256-hcVrZsJuiRIDx13QDKCxUtZgmze6iFkwyjDvQxkzcR8="

View File

@@ -1 +1 @@
"1.4.396"
"1.4.397"