anthropic 1.48.1 → 1.48.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d9658d2e43fdcfc11701082172ce0b076645519a1245c12cc7aa36971d62184
4
- data.tar.gz: 2c40246a6be022f5fa0527144933b5f5cd7928c02ba216f412d7f1eb90856e41
3
+ metadata.gz: 04770f1a0fcb24be2c40a0a67b9397c0103218ff9c082e75d9659c0673ff5aac
4
+ data.tar.gz: df85394d335c2666281c5c3d05af57465480712df8664a7885721481406e81cc
5
5
  SHA512:
6
- metadata.gz: 3df9ec3734487252ad82aa9ba9995f825b1232d944ea3e0cb716002709ce4d4007d36a9cb020477a237edf839c74390379d474f6e7c2cd2f0378061b411799fd
7
- data.tar.gz: 933cc3016a9750c7a69e8890aafefb7bfd4c8745d60b52ac6931c4be254e16a25397e4454d7ff0c11faa24c40f0b73456d7b4e97f5f88ce61f98c59d17fd8c8e
6
+ metadata.gz: 8940514153f62cefb0878d36dc786f542a0002e38543c3e52dc88d9d32e34f36f99db5c15e4de894a84c39ff361f03711b6a88613dee198343ede2e337bccba2
7
+ data.tar.gz: f6c21933bb2e77445eff2925250b25315f729c8ae81f45e7a0be304959996d75e19a6398539c4a063380b3376f556b35ac1a1ad16d5ca9f03074e74c642ef939
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.48.2 (2026-06-15)
4
+
5
+ Full Changelog: [v1.48.1...v1.48.2](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.48.1...v1.48.2)
6
+
7
+ ### Chores
8
+
9
+ * **api:** remove retired models from API and SDKs ([c429fe1](https://github.com/anthropics/anthropic-sdk-ruby/commit/c429fe1911b96e2d93ab554387b7e47dc16b32dc))
10
+
3
11
  ## 1.48.1 (2026-06-09)
4
12
 
5
13
  Full Changelog: [v1.48.0...v1.48.1](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.48.0...v1.48.1)
data/README.md CHANGED
@@ -15,7 +15,7 @@ Add to your application's Gemfile:
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "anthropic", "~> 1.48.1"
18
+ gem "anthropic", "~> 1.48.2"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -39,16 +39,6 @@ module Anthropic
39
39
 
40
40
  variant const: -> { Anthropic::Models::Model::CLAUDE_OPUS_4_1_20250805 }
41
41
 
42
- variant const: -> { Anthropic::Models::Model::CLAUDE_OPUS_4_0 }
43
-
44
- variant const: -> { Anthropic::Models::Model::CLAUDE_OPUS_4_20250514 }
45
-
46
- variant const: -> { Anthropic::Models::Model::CLAUDE_SONNET_4_0 }
47
-
48
- variant const: -> { Anthropic::Models::Model::CLAUDE_SONNET_4_20250514 }
49
-
50
- variant const: -> { Anthropic::Models::Model::CLAUDE_3_HAIKU_20240307 }
51
-
52
42
  variant String
53
43
 
54
44
  # @!method self.variants
@@ -114,36 +104,6 @@ module Anthropic
114
104
  # information.
115
105
  CLAUDE_OPUS_4_1_20250805 = :"claude-opus-4-1-20250805"
116
106
 
117
- # Powerful model for complex tasks
118
- # @deprecated Will reach end-of-life on June 15th, 2026. Please migrate to a newer model.
119
- # Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more
120
- # information.
121
- CLAUDE_OPUS_4_0 = :"claude-opus-4-0"
122
-
123
- # Powerful model for complex tasks
124
- # @deprecated Will reach end-of-life on June 15th, 2026. Please migrate to a newer model.
125
- # Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more
126
- # information.
127
- CLAUDE_OPUS_4_20250514 = :"claude-opus-4-20250514"
128
-
129
- # High-performance model with extended thinking
130
- # @deprecated Will reach end-of-life on June 15th, 2026. Please migrate to a newer model.
131
- # Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more
132
- # information.
133
- CLAUDE_SONNET_4_0 = :"claude-sonnet-4-0"
134
-
135
- # High-performance model with extended thinking
136
- # @deprecated Will reach end-of-life on June 15th, 2026. Please migrate to a newer model.
137
- # Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more
138
- # information.
139
- CLAUDE_SONNET_4_20250514 = :"claude-sonnet-4-20250514"
140
-
141
- # Fast and cost-effective model
142
- # @deprecated Will reach end-of-life on April 20th, 2026. Please migrate to claude-haiku-4-5.
143
- # Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more
144
- # information.
145
- CLAUDE_3_HAIKU_20240307 = :"claude-3-haiku-20240307"
146
-
147
107
  # @!endgroup
148
108
  end
149
109
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Anthropic
4
- VERSION = "1.48.1"
4
+ VERSION = "1.48.2"
5
5
  end
@@ -76,26 +76,6 @@ module Anthropic
76
76
  # Exceptional model for specialized complex tasks
77
77
  CLAUDE_OPUS_4_1_20250805 =
78
78
  T.let(:"claude-opus-4-1-20250805", Anthropic::Model::TaggedSymbol)
79
-
80
- # Powerful model for complex tasks
81
- CLAUDE_OPUS_4_0 =
82
- T.let(:"claude-opus-4-0", Anthropic::Model::TaggedSymbol)
83
-
84
- # Powerful model for complex tasks
85
- CLAUDE_OPUS_4_20250514 =
86
- T.let(:"claude-opus-4-20250514", Anthropic::Model::TaggedSymbol)
87
-
88
- # High-performance model with extended thinking
89
- CLAUDE_SONNET_4_0 =
90
- T.let(:"claude-sonnet-4-0", Anthropic::Model::TaggedSymbol)
91
-
92
- # High-performance model with extended thinking
93
- CLAUDE_SONNET_4_20250514 =
94
- T.let(:"claude-sonnet-4-20250514", Anthropic::Model::TaggedSymbol)
95
-
96
- # Fast and cost-effective model
97
- CLAUDE_3_HAIKU_20240307 =
98
- T.let(:"claude-3-haiku-20240307", Anthropic::Model::TaggedSymbol)
99
79
  end
100
80
  end
101
81
  end
@@ -16,11 +16,6 @@ module Anthropic
16
16
  | :"claude-sonnet-4-5-20250929"
17
17
  | :"claude-opus-4-1"
18
18
  | :"claude-opus-4-1-20250805"
19
- | :"claude-opus-4-0"
20
- | :"claude-opus-4-20250514"
21
- | :"claude-sonnet-4-0"
22
- | :"claude-sonnet-4-20250514"
23
- | :"claude-3-haiku-20240307"
24
19
  | String
25
20
 
26
21
  module Model
@@ -72,21 +67,6 @@ module Anthropic
72
67
 
73
68
  # Exceptional model for specialized complex tasks
74
69
  CLAUDE_OPUS_4_1_20250805: :"claude-opus-4-1-20250805"
75
-
76
- # Powerful model for complex tasks
77
- CLAUDE_OPUS_4_0: :"claude-opus-4-0"
78
-
79
- # Powerful model for complex tasks
80
- CLAUDE_OPUS_4_20250514: :"claude-opus-4-20250514"
81
-
82
- # High-performance model with extended thinking
83
- CLAUDE_SONNET_4_0: :"claude-sonnet-4-0"
84
-
85
- # High-performance model with extended thinking
86
- CLAUDE_SONNET_4_20250514: :"claude-sonnet-4-20250514"
87
-
88
- # Fast and cost-effective model
89
- CLAUDE_3_HAIKU_20240307: :"claude-3-haiku-20240307"
90
70
  end
91
71
  end
92
72
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anthropic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.48.1
4
+ version: 1.48.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthropic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-09 00:00:00.000000000 Z
11
+ date: 2026-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi