Skip to content

Commit f4b4d36

Browse files
author
semantic-release
committed
chore(release): v2.9.0 [skip ci]
1 parent 5248d96 commit f4b4d36

File tree

3 files changed

+345
-2
lines changed

3 files changed

+345
-2
lines changed

CHANGELOG.md

Lines changed: 343 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,352 @@
11
# CHANGELOG
22

3+
## v2.9.0 (2024-07-07)
4+
5+
### Chore
6+
7+
* chore(deps): bump actions/github-script from 6 to 7 (#169)
8+
9+
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
10+
- [Release notes](https://github.com/actions/github-script/releases)
11+
- [Commits](https://github.com/actions/github-script/compare/v6...v7)
12+
13+
---
14+
updated-dependencies:
15+
- dependency-name: actions/github-script
16+
dependency-type: direct:production
17+
update-type: version-update:semver-major
18+
...
19+
20+
Signed-off-by: dependabot[bot] <support@github.com>
21+
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
22+
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafg@users.noreply.github.com> ([`de4b1af`](https://github.com/AI21Labs/ai21-python/commit/de4b1af5654b30fbf01d7258a9174eb091362b1d))
23+
24+
* chore: semantic pr - allow running on external prs (#164) ([`032fd5d`](https://github.com/AI21Labs/ai21-python/commit/032fd5d3a384f8dba26568c0b618e7c5f59a0431))
25+
26+
* chore: add status report to integration workflow (#161)
27+
28+
* chore: add status report to integration workflow
29+
30+
* chore: add status report to integration workflow lint
31+
32+
* chore: export lint to separate workflow ([`0a3a1e0`](https://github.com/AI21Labs/ai21-python/commit/0a3a1e02a6e44ac6589ff18e19c03c8cf5d94c19))
33+
34+
* chore: integration-tests.yaml update inputs (#160) ([`b3f7728`](https://github.com/AI21Labs/ai21-python/commit/b3f772859374303efc130083d0f0aba0b1743398))
35+
36+
* chore: integration-tests.yaml update inputs (#159) ([`f61c905`](https://github.com/AI21Labs/ai21-python/commit/f61c9059ecb6cc8c4fafdec7f86205a768976f32))
37+
38+
* chore: integration-tests.yaml update checkout to specific commit (#158) ([`1c01663`](https://github.com/AI21Labs/ai21-python/commit/1c016630428085c44a6b1437fa87831a6b684fcb))
39+
40+
* chore: Update testing workflows (#156)
41+
42+
* chore: change triggers for workflows tests, integration-tests
43+
44+
* chore: integration-tests.yaml - add trigger for push on main ([`4c170b8`](https://github.com/AI21Labs/ai21-python/commit/4c170b8378e6bfe06a1bc342d612ad1711792fca))
45+
46+
### Ci
47+
48+
* ci: Update size label When PR size changes (#171) (#172)
49+
50+
* ci: Update size label
51+
52+
* test: File to test label
53+
54+
* fix: Remove file ([`6dd535a`](https://github.com/AI21Labs/ai21-python/commit/6dd535a4da3959ea258a2d316be7c145961b6875))
55+
56+
* ci: remove explicit permissions from semantic-pr.yml (#167) ([`3674efc`](https://github.com/AI21Labs/ai21-python/commit/3674efc106959f9b5b9b35c6eacc19db413c80cf))
57+
58+
### Feature
59+
60+
* feat: Async Support AWS (#180)
61+
62+
* feat: Add bedrock async support (#146)
63+
64+
* refactor: migrate from boto3 to custom http client
65+
66+
* refactor: create an aws http client, and switch bedrock client to use it
67+
68+
* test: rename test, add async tests
69+
70+
* feat: add async client, remove bedrock_session class
71+
72+
* docs: Azure README (#139)
73+
74+
* feat: Add async tokenizer, add detokenize method (#144)
75+
76+
* feat: add detokenize method, add async tokenizer
77+
78+
* chore: update pyproject and poetry.lock
79+
80+
* fix: fix tokenizer name in examples and readme, add example
81+
82+
* test: adjust unittest + add unittest for async
83+
84+
* chore: cache -> lru_cache to support python 3.8
85+
86+
* test: fix test_imports test
87+
88+
* chore: add env_config to bedrock client to avoid breaking changes
89+
90+
* refactor: export aws auth logic to new class
91+
92+
* refactor: remove aws_http_client, use http_client instead, add aws auth test
93+
94+
* test: fix tests
95+
96+
* refactor: remove aws_http_client
97+
98+
* chore(deps-dev): bump authlib from 1.3.0 to 1.3.1 (#131)
99+
100+
Bumps [authlib](https://github.com/lepture/authlib) from 1.3.0 to 1.3.1.
101+
- [Release notes](https://github.com/lepture/authlib/releases)
102+
- [Changelog](https://github.com/lepture/authlib/blob/master/docs/changelog.rst)
103+
- [Commits](https://github.com/lepture/authlib/compare/v1.3.0...v1.3.1)
104+
105+
---
106+
updated-dependencies:
107+
- dependency-name: authlib
108+
dependency-type: indirect
109+
...
110+
111+
Signed-off-by: dependabot[bot] <support@github.com>
112+
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
113+
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafg@users.noreply.github.com>
114+
115+
* chore(deps): bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#138)
116+
117+
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.14 to 1.9.0.
118+
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
119+
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/81e9d935c883d0b210363ab89cf05f3894778450...ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0)
120+
121+
---
122+
updated-dependencies:
123+
- dependency-name: pypa/gh-action-pypi-publish
124+
dependency-type: direct:production
125+
update-type: version-update:semver-minor
126+
...
127+
128+
Signed-off-by: dependabot[bot] <support@github.com>
129+
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
130+
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafg@users.noreply.github.com>
131+
132+
* chore: rebase code
133+
134+
* refactor: chat + chat completions - migrate to new client
135+
136+
* refactor: cr comments
137+
138+
* chore: add async to new bedrock components
139+
140+
* refactor: rename aws folder
141+
142+
* chore: fix typo on file name bedrock_chat_completions
143+
144+
* fix: fix errors
145+
146+
* chore: fix typo
147+
148+
* fix: Added deprecation warning
149+
150+
* fix: Added deprecation warning to async
151+
152+
* chore: add log for ignoring stream
153+
154+
---------
155+
156+
Signed-off-by: dependabot[bot] <support@github.com>
157+
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafg@users.noreply.github.com>
158+
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
159+
160+
* Add sagemaker async support (#155)
161+
162+
* refactor: migrate from boto3 to custom http client
163+
164+
* refactor: create an aws http client, and switch bedrock client to use it
165+
166+
* test: rename test, add async tests
167+
168+
* feat: add async client, remove bedrock_session class
169+
170+
* docs: Azure README (#139)
171+
172+
* feat: Add async tokenizer, add detokenize method (#144)
173+
174+
* feat: add detokenize method, add async tokenizer
175+
176+
* chore: update pyproject and poetry.lock
177+
178+
* fix: fix tokenizer name in examples and readme, add example
179+
180+
* test: adjust unittest + add unittest for async
181+
182+
* chore: cache -> lru_cache to support python 3.8
183+
184+
* test: fix test_imports test
185+
186+
* chore: add env_config to bedrock client to avoid breaking changes
187+
188+
* refactor: sagemaker client, boto->aws http client
189+
190+
* refactor: export aws auth logic to new class
191+
192+
* refactor: remove aws_http_client, use http_client instead, add aws auth test
193+
194+
* test: fix tests
195+
196+
* refactor: remove aws_http_client
197+
198+
* chore(deps-dev): bump authlib from 1.3.0 to 1.3.1 (#131)
199+
200+
Bumps [authlib](https://github.com/lepture/authlib) from 1.3.0 to 1.3.1.
201+
- [Release notes](https://github.com/lepture/authlib/releases)
202+
- [Changelog](https://github.com/lepture/authlib/blob/master/docs/changelog.rst)
203+
- [Commits](https://github.com/lepture/authlib/compare/v1.3.0...v1.3.1)
204+
205+
---
206+
updated-dependencies:
207+
- dependency-name: authlib
208+
dependency-type: indirect
209+
...
210+
211+
Signed-off-by: dependabot[bot] <support@github.com>
212+
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
213+
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafg@users.noreply.github.com>
214+
215+
* chore(deps): bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#138)
216+
217+
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.14 to 1.9.0.
218+
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
219+
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/81e9d935c883d0b210363ab89cf05f3894778450...ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0)
220+
221+
---
222+
updated-dependencies:
223+
- dependency-name: pypa/gh-action-pypi-publish
224+
dependency-type: direct:production
225+
update-type: version-update:semver-minor
226+
...
227+
228+
Signed-off-by: dependabot[bot] <support@github.com>
229+
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
230+
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafg@users.noreply.github.com>
231+
232+
* chore: rebase code
233+
234+
* refactor: chat + chat completions - migrate to new client
235+
236+
* refactor: cr comments
237+
238+
* chore: add async to new bedrock components
239+
240+
* refactor: rename aws folder
241+
242+
* chore: refactor to use http client
243+
244+
* chore: fix typo on file name bedrock_chat_completions
245+
246+
* fix: fix errors
247+
248+
* chore: fix typo
249+
250+
* chore: add async to sm resources
251+
252+
* test: fix imports test
253+
254+
* fix: Added deprecation warning
255+
256+
* fix: Added deprecation warning to async
257+
258+
* chore: add log for ignoring stream
259+
260+
* chore: fix lint
261+
262+
* refactor: export get_aws_region, add async sm to readme, add async examples
263+
264+
* test: add async test files to test_sagemaker.py
265+
266+
* refactor: remove get_aws_region func
267+
268+
---------
269+
270+
Signed-off-by: dependabot[bot] <support@github.com>
271+
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafg@users.noreply.github.com>
272+
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
273+
274+
* feat: Use the same http client for all Clients (#163)
275+
276+
* fix: Merge
277+
278+
* feat: AI21Client to inherit from AI21HTTPClient
279+
280+
* feat: Used RequestOptions class
281+
282+
* fix: api error
283+
284+
* fix: Rename update to replace
285+
286+
* fix: Tests
287+
288+
* test: Added bedrock tests
289+
290+
* fix: Added support for model and model_id for backwards compatibility
291+
292+
* fix: Deprecation warning message
293+
294+
* fix: Added ANY to dict
295+
296+
* fix: Removed redundant code
297+
298+
* fix: base_url
299+
300+
* fix: Added deprecation warning
301+
302+
* fix: Moved 'model' extract
303+
304+
* test: Added a tests to validate model_id and model cant be together
305+
306+
* fix: Test
307+
308+
* fix: Bedrock integration tests
309+
310+
---------
311+
312+
Signed-off-by: dependabot[bot] <support@github.com>
313+
Co-authored-by: miri-bar <160584887+miri-bar@users.noreply.github.com>
314+
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`5248d96`](https://github.com/AI21Labs/ai21-python/commit/5248d96a783b5ffab7cb7c9f6de383a1eba4df11))
315+
316+
* feat: Added Log Verbosity (#152)
317+
318+
* fix: Added logger to httpx
319+
320+
* feat: Added set_verbose
321+
322+
* feat: Added set_debug
323+
324+
* fix: api-key header
325+
326+
* fix: Removed unused function
327+
328+
* feat: Logged env variables
329+
330+
* fix: Changed call location
331+
332+
* fix: CR
333+
334+
* fix: Added amazon header to secrets ([`57b1ea9`](https://github.com/AI21Labs/ai21-python/commit/57b1ea9aa172fdef7723199fe77ca50a15d6427c))
335+
336+
### Fix
337+
338+
* fix: label parse (#178) ([`1ea52f5`](https://github.com/AI21Labs/ai21-python/commit/1ea52f5b7b842edcb6f61e40edc9c8c58e49d9ac))
339+
340+
* fix: rest call (#174) ([`24caf96`](https://github.com/AI21Labs/ai21-python/commit/24caf96a291a33b51df77a1ca1223eca639d741b))
341+
342+
* fix: Version of action and json parser (#173) ([`8a270ec`](https://github.com/AI21Labs/ai21-python/commit/8a270ecfc3e8b5d312dbe49d2a47a41c31be9be3))
343+
3344
## v2.8.0 (2024-06-26)
4345

5346
### Chore
6347

348+
* chore(release): v2.8.0 [skip ci] ([`c5087cf`](https://github.com/AI21Labs/ai21-python/commit/c5087cf6f20accdeba57d7630e1cd780de36e435))
349+
7350
* chore(deps): bump python-semantic-release/python-semantic-release (#143)
8351

9352
Bumps [python-semantic-release/python-semantic-release](https://github.com/python-semantic-release/python-semantic-release) from 9.8.0 to 9.8.3.

ai21/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "2.8.0"
1+
VERSION = "2.9.0"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ exclude_lines = [
4646

4747
[tool.poetry]
4848
name = "ai21"
49-
version = "2.8.0"
49+
version = "2.9.0"
5050
description = ""
5151
authors = ["AI21 Labs"]
5252
readme = "README.md"

0 commit comments

Comments
 (0)