8000 chore!: bump version to 1.0.0, updated changelog.md and removed src/g… · Jay-flow/adk-python@5115474 · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit 5115474

Browse files
Jacksunweicopybara-github
authored andcommitted
chore!: bump version to 1.0.0, updated changelog.md and removed src/google/adk/tools/built_in_code_execution_tool.py
Mark src/google/adk/tools/_built_in_code_execution_tool.py as private and will be fully removed soon. PiperOrigin-RevId: 760889060
1 parent de7c9c6 commit 5115474

File tree

6 files changed

+59
-7
lines changed

6 files changed

+59
-7
lines changed

CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
11
# Changelog
22

3+
## 1.0.0
4+
5+
### ⚠ BREAKING CHANGES
6+
7+
* Evaluation dataset schema is finalized with strong-type pydantic models.
8+
(previously saved eval file needs re-generation, for both adk eval cli and
9+
the eval tab in adk web UI).
10+
* `BuiltInCodeExecutor` (in code_executors package) replaces
11+
`BuiltInCodeExecutionTool` (previously in tools package).
12+
* All methods in services are now async, including session service, artifact
13+
service and memory service.
14+
* `list_events` and `close_session` methods are removed from session service.
15+
* agent.py file structure with MCP tools are now easier and simpler ([now](https://github.com/google/adk-python/blob/3b5232c14f48e1d5b170f3698d91639b079722c8/contributing/samples/mcp_stdio_server_agent/agent.py#L33) vs [before](https://github.com/google/adk-python/blob/a4adb739c0d86b9ae4587547d2653d568f6567f2/contributing/samples/mcp_agent/agent.py#L41)).
16+
Old format is not working anymore.
17+
* `Memory` schema and `MemoryService` is redesigned.
18+
* Mark various class attributes as private in the classes in the `tools` package.
19+
* Disabled session state injection if instruction provider is used.
20+
(so that you can have `{var_name}` in the instruction, which is required for code snippets)
21+
* Toolbox integration is revamped: tools/toolbox_tool.py → tools/toolbox_toolset.py.
22+
* Removes the experimental `remote_agent.py`. We'll redesign it and bring it back.
23+
24+
### Features
25+
26+
* Dev UI:
27+
* A brand new trace view for overall agent invocation.
28+
* A revamped evaluation tab and comparison view for checking eval results.
29+
* Introduced `BaseToolset` to allow dynamically add/remove tools for agents.
30+
* Revamped MCPToolset with the new BaseToolset interface.
31+
* Revamped GoogleApiTool, GoogleApiToolset and ApplicationIntegrationToolset with the new BaseToolset interface.
32+
* Resigned agent.py file structure when needing MCPToolset.
33+
* Added ToolboxToolset.
34+
* Redesigned strong-typed agent evaluation schema.
35+
* Allows users to create more cohesive eval sets.
36+
* Allows evals to be extended for non-text modality.
37+
* Allows for a structured interaction with the uber eval system.
38+
* Redesigned Memory schema and MemoryService interfaces.
39+
* Added token usage to LlmResponse.
40+
* Allowed specifying `--adk_version` in `adk deploy cloud_run` cli. Default is the current version.
41+
42+
### Bug Fixes
43+
44+
* Fixed `adk deploy cloud_run` failing bug.
45+
* Fixed logs not being printed due to `google-auth` library.
46+
47+
### Miscellaneous Chores
48+
49+
* Display full help text when adk cli receives invalid arguments.
50+
* `adk web` now binds `127.0.0.1` by default, instead of 0.0.0.0.
51+
* `InMemoryRunner` now takes `BaseAgent` in constructor.
52+
* Various docstring improvements.
53+
* Various UI tweaks.
54+
* Various bug fixes.
55+
* Update various contributing/samples for contributors to validate the implementation.
56+
57+
358
## 0.5.0
459

560
### ⚠ BREAKING CHANGES

src/google/adk/code_executors/built_in_code_executor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# limitations under the License.
1414

1515
from google.genai import types
16-
from pydantic import Field
1716
from typing_extensions import override
1817

1918
from ..agents.invocation_context import InvocationContext

src/google/adk/runners.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
from .sessions.in_memory_session_service import InMemorySessionService
4242
from .sessions.session import Session
4343
from .telemetry import tracer
44-
from .tools.built_in_code_execution_tool import built_in_code_execution
44+
from .tools._built_in_code_execution_tool import built_in_code_execution
4545

4646
logger = logging.getLogger('google_adk.' + __name__)
4747

src/google/adk/tools/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from ..auth.auth_tool import AuthToolArguments
1717
from .apihub_tool.apihub_toolset import APIHubToolset
1818
from .base_tool import BaseTool
19-
from .built_in_code_execution_tool import built_in_code_execution
2019
from .example_tool import ExampleTool
2120
from .exit_loop_tool import exit_loop
2221
from .function_tool import FunctionTool
@@ -34,7 +33,6 @@
3433
'APIHubToolset',
3534
'AuthToolArguments',
3635
'BaseTool',
37-
'built_in_code_execution',
3836
'google_search',
3937
'VertexAiSearchTool',
4038
'ExampleTool',

src/google/adk/tools/built_in_code_execution_tool.py renamed to src/google/adk/tools/_built_in_code_execution_tool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ async def process_llm_request(
5252
llm_request: LlmRequest,
5353
) -> None:
5454
logger.warning(
55-
'BuiltInCodeExecutionTool is deprecated. Please use the new'
56-
' BuiltInCodeExecutor instead.'
55+
'BuiltInCodeExecutionTool is deprecated and will be removed in 1.1.0.'
56+
' Please use the new BuiltInCodeExecutor instead.'
5757
)
5858
if llm_request.model and llm_request.model.startswith('gemini-2'):
5959
llm_request.config = llm_request.config or types.GenerateContentConfig()

src/google/adk/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414

1515
# version: date+base_cl
16-
__version__ = "0.5.0"
16+
__version__ = "1.0.0"

0 commit comments

Comments
 (0)
0