mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-10 23:05:17 -05:00
3e0742f9c51832e28cf3f09a5fca1d2a23a07591
6606 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
3e0742f9c5 |
Spike/infra pooling (#9812)
<!-- Clearly explain the need for these changes: --> Swap to pooling supabase connections rather than depending on x number of max open connections ### Changes 🏗️ Adds direct connect URL to be used throughout the system <!-- Concisely describe all of the changes made in this pull request: --> ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [x] Test thoroughly all of the endpoints in the dev env with switched infra matching pr - [x] Follow the new release plan tests - [x] Follow the old release plan tests #### For configuration changes: - [x] `.env.example` is updated or already compatible with my changes - [x] `docker-compose.yml` is updated or already compatible with my changes - [x] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>configuration changes</summary> - Change how we connect to the database to use direct when configured and database URL when not - update prisma for this - have default matching database and default </details> |
||
|
|
d791cdea76 |
feat(platform): Onboarding Phase 2 (#9736)
### Changes 🏗️ - Update onboarding to give user rewards for completing steps - Remove `canvas-confetti` lib and add `party-js` instead; the former didn't allow to play confetti from a component - Add onboarding videos in `frontend/public/onboarding/` - Remove Balance (`CreditsCard.tsx`) and add openable `Wallet.tsx` (and accompanying `WalletTaskGroup.tsx`) instead that displays grouped onboarding tasks with descriptions and short instructional videos - Further relevant updates to `useOnboarding`, `types.ts` - Implement onboarding rewards - Add `onboarding_reward` function in `credit.py` that is used to reward user for finished onboarding tasks safely - transaction key is deterministic, so the same user won't be rewarded twice for the same step. - Add `reward_user` in `onboarding.py` - Update `UserOnboarding` model and add a migration <img width="464" alt="Screenshot 2025-04-05 at 6 06 29 PM" src="https://github.com/user-attachments/assets/fca8d09e-0139-466b-b679-d24117ad01f0" /> ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] Onboarding works - [x] Tasks can be completed - [x] Rewards are added correctly for all completed tasks |
||
|
|
bb92226f5d |
feat(backend): Remove RPC service from Agent Executor (#9804)
Currently the execution task is not properly distributed between executors because we need to send the execution request to the execution server. The execution manager now accepts the execution request from the message queue. Thus, we can remove the synchronous RPC system from this service, let the system focus on executing the agent, and not spare any process for the HTTP API interface. This will also reduce the risk of the execution service being too busy and not able to accept any add execution requests. ### Changes 🏗️ * Remove the RPC system in Agent Executor * Allow the cancellation of the execution that is still waiting in the queue (by avoiding it from being executed). * Make a unified helper for adding an execution request to the system and move other execution-related helper functions into `executor/utils.py`. * Remove non-db connections (redis / rabbitmq) in Database Manager and let the client manage this by themselves. ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] Existing CI, some agent runs |
||
|
|
f7ca5ac1ba |
feat(backend/executor): Move execution queue + cancel mechanism to RabbitMQ (#9759)
The graph execution queue is not disk-persisted; when the executor dies, the executions are lost. The scope of this issue is migrating the execution queue from an inter-process queue to a RabbitMQ message queue. A sync client should be used for this. - Resolves #9746 - Resolves #9714 ### Changes 🏗️ Move the execution manager from multiprocess.Queue into persisted Rabbit-MQ. ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] Execute agents. <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> |
||
|
|
4621a95bf3 |
fix(marketplace): Fix small UI bugs (#9800)
Resolving the bugs listed below - #9796 - #9797 - #9798 - #8998 - #9799 ### Changes I have made - Removed border and set border-radius to `24px` in FeaturedCard - Removed `white` background from breadcrumbs - Changed distance between featured section arrow from `28px` to `12px` - Added `1.5rem` spacing and changed color to `gray-200` on the creator’s page separator - Removed focus ring from the Search Library input - And some small UI changes on marketplace ### Screenshots <img width="658" alt="Screenshot 2025-04-10 at 3 26 56 PM" src="https://github.com/user-attachments/assets/22bef6f0-19b9-42a6-8227-fedca33141ba" /> <img width="505" alt="Screenshot 2025-04-10 at 3 27 07 PM" src="https://github.com/user-attachments/assets/2a5409a1-94c6-4d15-a35d-e4ed9b075055" /> <img width="1373" alt="Screenshot 2025-04-10 at 3 28 39 PM" src="https://github.com/user-attachments/assets/046ea726-2a98-4000-abc8-9139fffe80dc" /> <img width="368" alt="Screenshot 2025-04-10 at 3 29 07 PM" src="https://github.com/user-attachments/assets/4e0510ad-f535-4760-a703-651766ff522b" /> |
||
|
|
8d8a6e450f |
fix(marketplace): Render newline in marketplace description text (#9808)
- fix #9177 Add `whitespace-pre-line` tailwind property to allow newline rendering in marketplace description text ### Before  ### After  |
||
|
|
8ea3bfabc4 | fix(backend/db): Fix unchecked Prisma statements (#9805) | ||
|
|
2ca18d77a4 |
feat(frontend, backend): track sentry environment on frontend + sentry init in app services (#9773)
<!-- Clearly explain the need for these changes: --> We want to be able to filter errors according to where they occur in sentry so we need to track and include that data. We also are not logging everything from app services correctly so fix that up ### Changes 🏗️ <!-- Concisely describe all of the changes made in this pull request: --> - Adds env tracking for frontend - adds sentry init in app service spawn ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [x] Tested by running and making sure all events + logs are inserted into sentry correctly |
||
|
|
3e6d9bf963 |
fix(marketplace): Fixing margins between headers, divider and content (#9757)
- fix #9003 - fix - #8969 - fix #8970 Adding correct margins in between headers, divider and content. ### Changes made - Remove any vertical padding or margin from the section. - Add top and bottom margins to the separator, so the spacing between sections is handled only by the separator. - Also, add a size prop in AvatarFallback because its size is currently broken. It’s not able to extract the size properly from the className. |
||
|
|
353396110c |
refactor(backend): Clean up Library & Store DB schema (#9774)
Distilled from #9541 to reduce the scope of that PR. - Part of #9307 - ❗ Blocks #9786 - ❗ Blocks #9541 ### Changes 🏗️ - Fix `LibraryAgent` schema (for #9786) - Fix relationships between `LibraryAgent`, `AgentGraph`, and `AgentPreset` - Impose uniqueness constraint on `LibraryAgent` - Rename things that are called `agent` that actually refer to a `graph`/`agentGraph` - Fix singular/plural forms in DB schema - Simplify reference names of closely related objects (e.g. `AgentGraph.AgentGraphExecutions` -> `AgentGraph.Executions`) - Eliminate use of `# type: ignore` in DB statements - Add `typed` and `typed_cast` utilities to `backend.util.type` ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] CI static type checking (with all risky `# type: ignore` removed) - [x] Check that column references in views are updated |
||
|
|
70890dee43 |
fix(marketplace): Fix store card style (#9769)
- fix #9222 - fix #9221 - fix #8966 ### Changes made - Standardized the height of store cards. - Corrected spacing and responsiveness behavior. - Removed horizontal margin and max-width from the featured section. - Fixed the aspect ratio of the agent image in the store card. - Now, a normal desktop screen displays 3 columns of agents instead of 4. <img width="1512" alt="Screenshot 2025-04-07 at 7 09 40 AM" src="https://github.com/user-attachments/assets/50d3b5c9-4e7c-456e-b5f1-7c0093509bd3" /> |
||
|
|
62361ccc48 |
feat: deep copy the schema (#9794)
<!-- Clearly explain the need for these changes: --> We were duplicating placeholder values across all agents 😨 ### Changes 🏗️ <!-- Concisely describe all of the changes made in this pull request: --> Deep copies the schema instead ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [x] Test the broken agent in devautogpt-platform-beta-v0.6.2 |
||
|
|
755a80c87a |
fix(blocks): Fix block I/O value sharing (#9793)
- Resolves #9792 ### Changes 🏗️ - Replace all `default=[]` -> `default_factory=list` - Replace all `default={}` -> `default_factory=dict` ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] CI --------- Co-authored-by: Krzysztof Czerwinski <kpczerwinski@gmail.com> |
||
|
|
2a6676a5b8 | Merge branch 'master' into dev | ||
|
|
5a83b233f8 |
fix(backend): Add required method cleanup to MainApp
The absence of this method caused type checking errors. |
||
|
|
cb1a3703ad |
fix(ci): Fix linter exit code on failure (#9777)
The linter currently exits with exit code 0 even if linting fails. This makes the CI linter permissive which isn't good. Changes: - Make linter exit with an error code if a linting step fails - Fix existing formatting issues |
||
|
|
91f62c47f9 |
feat(backend): Add new llama 4 maverick & scout models (#9788)
This PR is to add the new [Meta: Llama 4 Maverick](https://openrouter.ai/meta-llama/llama-4-maverick) and [Meta: Llama 4 Scout](https://openrouter.ai/meta-llama/llama-4-scout) models via [OpenRouter](https://openrouter.ai/) ### Changes 🏗️ Added the model names to ``llm.py`` ``` META_LLAMA_4_SCOUT = "meta-llama/llama-4-scout" META_LLAMA_4_MAVERICK = "meta-llama/llama-4-maverick" ``` and the modela metadata ``` LlmModel.META_LLAMA_4_SCOUT: ModelMetadata("open_router", 131072, 131072), LlmModel.META_LLAMA_4_MAVERICK: ModelMetadata("open_router", 1048576, 1000000), ``` and i have added the model price to ``block_cost_config.py`` ``` LlmModel.META_LLAMA_4_SCOUT: 1, LlmModel.META_LLAMA_4_MAVERICK: 1, ``` ### Checklist 📋 - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] Open the build page and place a ai text block, open the model select and scroll to the bottom and select either of the 2 models - [x] test them with a prompt and wait for a reply! |
||
|
|
7fedb5e2fd |
refactor(backend): Un-share resource initializations from AppService + Remove Pyro (#9750)
This is a prerequisite infra change for https://github.com/Significant-Gravitas/AutoGPT/issues/9714. We will need a service where we can maintain our own client (db, redis, rabbitmq, be it async/sync) and configure our own cadence of initialization and cleanup. While refactoring the service.py, an option to use Pyro as an RPC protocol is also removed. ### Changes 🏗️ * Decouple resource initialization and cleanup from the parent AppService logic. * Removed Pyro. ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [x] CI |
||
|
|
d316ed23d4 |
[Snyk] Security upgrade next from 14.2.25 to 14.2.26 (#9767)
 ### Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project. #### Snyk changed the following file(s): - `autogpt_platform/frontend/package.json` - `autogpt_platform/frontend/yarn.lock` #### Note for [zero-installs](https://yarnpkg.com/features/zero-installs) users If you are using the Yarn feature [zero-installs](https://yarnpkg.com/features/zero-installs) that was introduced in Yarn V2, note that this PR does not update the `.yarn/cache/` directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run `yarn` to update the contents of the `./yarn/cache` directory. If you are not using zero-install you can ignore this as your flow should likely be unchanged. #### Vulnerabilities that will be fixed with an upgrade: | | Issue | Score | :-------------------------:|:-------------------------|:-------------------------  | Information Exposure <br/>[SNYK-JS-NEXT-9634163](https://snyk.io/vuln/SNYK-JS-NEXT-9634163) | **601** --- > [!IMPORTANT] > > - Check the changes in this PR to ensure they won't cause issues with your project. > - Max score is 1000. Note that the real score may have changed since the PR was raised. > - This PR was automatically created by Snyk using the credentials of a real user. --- **Note:** _You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs._ For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI5MzYyNGJiZC1jMTE3LTQ3NDYtOGFlOC1hYjIyMGE4OGI4M2UiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjkzNjI0YmJkLWMxMTctNDc0Ni04YWU4LWFiMjIwYTg4YjgzZSJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/significant-gravitas/project/3d924968-0cf3-4767-9609-501fa4962856?utm_source=github&utm_medium=referral&page=fix-pr) 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=github&utm_content=fix-pr-template) 🛠 [Adjust project settings](https://app.snyk.io/org/significant-gravitas/project/3d924968-0cf3-4767-9609-501fa4962856?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read about Snyk's upgrade logic](https://docs.snyk.io/scan-with-snyk/snyk-open-source/manage-vulnerabilities/upgrade-package-versions-to-fix-vulnerabilities?utm_source=github&utm_content=fix-pr-template) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc=fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"next","from":"14.2.25","to":"14.2.26"}],"env":"prod","issuesToFix":["SNYK-JS-NEXT-9634163"],"prId":"93624bbd-c117-4746-8ae8-ab220a88b83e","prPublicId":"93624bbd-c117-4746-8ae8-ab220a88b83e","packageManager":"yarn","priorityScoreList":[601],"projectPublicId":"3d924968-0cf3-4767-9609-501fa4962856","projectUrl":"https://app.snyk.io/org/significant-gravitas/project/3d924968-0cf3-4767-9609-501fa4962856?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","priorityScore"],"type":"auto","upgrade":["SNYK-JS-NEXT-9634163"],"vulns":["SNYK-JS-NEXT-9634163"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}' --------- Co-authored-by: Reinier van der Leer <pwuts@agpt.co> Co-authored-by: snyk-bot <snyk-bot@snyk.io> Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> |
||
|
|
3c14861d8e |
fix(backend): reduce log level for retrying connection (#9765)
<!-- Clearly explain the need for these changes: --> Now that we are trying to use Sentry more, cleaning up some errors -> warnings is a good idea ### Changes 🏗️ - reduces log level of retry to warning <!-- Concisely describe all of the changes made in this pull request: --> ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [x] check it comes through in sentry |
||
|
|
074a00ce86 |
fix(backend): ProviderName behavior when loading secrets (#9764)
<!-- Clearly explain the need for these changes: --> We got this error in sentry:[AUTOGPT-SERVER-33P](https://significant-gravitas.sentry.io/issues/6462614597/events/bb4871d796b04e759ade55197498cff9/) ``` Level: Error 'Secrets' object has no attribute 'ProviderName.GOOGLE_client_id' ``` ### Changes 🏗️ - Follows pattern used when accessing these in `_get_provider_oauth_handler` in the router <!-- Concisely describe all of the changes made in this pull request: --> ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [x] Test to make sure getting works |
||
|
|
0aeaaa7801 |
fix(frontend): Fill defaults from schema to hardcodedValues in CustomNode.tsx (#9772)
Fix https://github.com/Significant-Gravitas/AutoGPT/pull/9632 ### Changes 🏗️ - Set default values from input schema to `hardcodedValues` in `CustomNode.tsx` ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] Default values are correctly applied to newly created node |
||
|
|
2e5a770f35 |
fix(marketplace): Fix typography of heading in marketplace (#9737)
- fix #8956 ### Changes: - Updated line height from 28px to 36px for improved readability. - Ensured that all section headings (“Featured agents”, “Top agents”, “Featured creators”, and “Become a creator”) now have a uniform style. - Verified that font-poppins is correctly set in the Tailwind config file and layout.tsx. - Color changed from #282828 to #262626 ### Scope: - This PR only includes typography-related adjustments.  |
||
|
|
8b2265c996 |
feat(frontend): Add advanced block search with relevance ranking (#9711)
- fix #9425 - Enhancing the functionality of searching blocks on the build page Currently, it only performs exact matching on the block name and description. I added a scoring mechanism for searching. - The scoring algorithm works as follows: - Returns 1 if no query (all blocks match equally) - Normalized query for case-insensitive matching - Returns 3 for exact substring matches in block name (highest priority) - Returns 2 when all query words appear in the block name (regardless of order) - Returns 1.X for blocks with names similar to query using Jaro-Winkler distance (X is similarity score) - Returns 0.5 when all query words appear in the block description (lowest priority) - Returns 0 for no match Higher scores will appear first in search results. > I have used an external library for Jaro-Winkler distance - [link](https://www.npmjs.com/package/jaro-winkler) Before  After  |
||
|
|
73d43312d1 |
feat(frontend): Use TypeBasedInput for onboarding agent input (#9762)
### Changes 🏗️ - Use the same code as in Library to display inputs for onboarding agent - Fixes bug that crashes frontend when showing onboarding inputs - Remove no longer needed `OnboardingAgentInput` component ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] All input types display correctly - [x] Onboarding agent runs Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
||
|
|
3771a0924c |
fix(backend): Update deprecated code caused by upgrades (#9758)
This series of upgrades: https://github.com/significant-gravitas/autogpt/pull/9727 https://github.com/Significant-Gravitas/AutoGPT/pull/9728 https://github.com/Significant-Gravitas/AutoGPT/pull/9560 Caused some code in the repo being deprecated, this PR addresses those. ### Changes 🏗️ Fix pydantic config, usage of field, usage of proper prisma `CreateInput` type, pytest loop-scope. ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] CI, manual test on running some agents. --------- Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
||
|
|
4397746a87 |
feat(backend): baseline sentry logging (#9756)
<!-- Clearly explain the need for these changes: --> Sentry just released logs so lets enrich our details there too ### Changes 🏗️ - Adds sentry logging - Adds dependencies tracking all of our sentry integrations - Adds environment tracking to sentry <!-- Concisely describe all of the changes made in this pull request: --> ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [x] Tested to make sure events show up in sentry with the correct environment logging |
||
|
|
2e871b0761 |
fix(frontend): bad handling on error prompts (#9754)
<!-- Clearly explain the need for these changes: --> I oopsed and had an extra unneeded parameter (as @majdyz pointed out) and wasn't respected everywhere it was used. ### Changes 🏗️ <!-- Concisely describe all of the changes made in this pull request: --> - Remove parameter - update all the places AuthFeedback is called ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] Test all pages with authfeedback on it Co-authored-by: Bently <tomnoon9@gmail.com> |
||
|
|
8ceb03ce1a |
feat(frontend/library): Add "Open in builder" run action (#9755)
- Resolves #9730 ### Changes 🏗️ - feat: Add "Open in builder" run action - refactor: Add `ActionButtonGroup` to replace boilerplate code in `AgentRunDetailsView`, `AgentRunDraftView`, `AgentScheduleDetailsView` - feat: Add link support to `ActionButtonGroup`, `ButtonAction` ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - Go to `/library/agents/[id]` - [x] "Run again" button works - [x] "Open in builder" button-link works |
||
|
|
ce98925d58 |
update(docs): Remove out dated tutorial video from docs & readme (#9753)
This is to remove the out dated tutorial video from docs & readme and add a direct link to the docs in the readme ### Changes 🏗️ Remove video link from readme.md Remove video link from https://github.com/Significant-Gravitas/AutoGPT/blob/dev/docs/content/platform/getting-started.md Add direct link to docs in readme.me |
||
|
|
1fc984f7fd |
feat(platform/library): Add real-time "Steps" count to agent run view (#9740)
- Resolves #9731 ### Changes 🏗️ - feat: Add "Steps" showing `node_execution_count` to agent run view - Add `GraphExecutionMeta.stats.node_exec_count` attribute - feat(backend/executor): Send graph execution update after *every* node execution (instead of only I/O node executions) - Update graph execution stats after every node execution - refactor: Move `GraphExecutionMeta` stats into sub-object (`cost`, `duration`, `total_run_time` -> `stats.cost`, `stats.duration`, `stats.node_exec_time`) ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - View an agent run with 1+ steps on `/library/agents/[id]` - [x] "Info" section layout doesn't break - [x] Number of steps is shown - Initiate a new agent run - [x] "Steps" increments in real time during execution |
||
|
|
d0d610720c |
docs(platform): Add WSL 2 recommendation for Docker on Windows (#9749)
In this pull request, the following changes have been made in response to Issue #9190: Documentation Changes: - Added a note to the AutoGPT documentation regarding Docker installation on Windows. - Specifically, the note advises users to opt for WSL2 (Windows Subsystem for Linux version 2) instead of Hyper-V during Docker setup to prevent issues with Supabase, such as the "unhealthy" status for supabase-db. --------- Co-authored-by: Madura Herath <madurah@verdentra.com> Co-authored-by: Bently <tomnoon9@gmail.com> |
||
|
|
77a44b1213 |
fix(platform/library): Fix UX for webhook-triggered runs (#9680)
- Resolves #9679 ### Changes 🏗️ Frontend: - Fix crash on `payload` graph input - Fix crash on object type agent I/O values - Hide "+ New run" if `graph.webhook_id` is set Backend: - Add computed field `webhook_id` to `GraphModel` - Add computed property `webhook_input_node` to `GraphModel` - Refactor: - Move `Node.webhook_id` -> `NodeModel.webhook_id` - Move `NodeModel.block` -> `Node.block` (computed property) - Replace `get_block(node.block_id)` with `node.block` where sensible ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] Create and run a simple graph - [x] Create a graph with a webhook trigger and ensure it works - [x] Check out the runs of a webhook-triggered graph and ensure the page works |
||
|
|
7179f9cea0 |
feat(backend, libs): Tell uvicorn to use our logger + always log to stdout+stderr (#9742)
<!-- Clearly explain the need for these changes: --> Uvicorn and our logs were ending up in different places, this pr enures uvicorn using our logging config, not their own. ### Changes 🏗️ - Clears uvicorn's loggers for rest, ws - always log to stdout,stderr and additionally log to gcp is appropriate <!-- Concisely describe all of the changes made in this pull request: --> ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [x] Test all possible variants of the log cloud vs not and ensure that uvicorn logs show up in the same place that rest of the system logs do for all --------- Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> |
||
|
|
698af4e16a |
refactor(frontend): Clean up graph import & export logic (#9717)
- Resolves #9716 - Builds on the work done in #9627 ### Changes 🏗️ - Remove `safeCopyGraph`; export directly from backend instead - Explicitly name sanitization functions for *importing* graphs; move to `@/lib/autogpt-server-api/utils` - Amend `BackendAPI.getGraph(..)` to delete `.user_id` if `for_export == true` Out-of-scope improvements: - Add missing `user_id` to frontend `Graph` types - Add `UserID` branded type for `User.id` + all `user_id` properties ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - Create and configure an agent with the Publish To Medium block, a block that uses credentials, and a webhook trigger - Go to `/monitoring` and click the agent you just created - [x] -> "Export" button should work - [x] -> Exported file contains no credentials or secrets - [x] -> Exported file contains no user IDs - [x] -> Exported file contains no webhook IDs |
||
|
|
7085d88b2c |
fix(marketplace): Add 58px bottom padding to creator page agents section on large screens (#9738)
- fix #9000 Currently, we have a 32px bottom padding on the Creator’s page on larger screen. I have added an extra 58px to make it 90px. |
||
|
|
4a82edb0c3 |
fix(marketplace): Fix margin between divider and section on creators page (#9744)
- fix #8998 Replace padding with margin top and update UI spacing from 32px to 25px |
||
|
|
0fc423fd55 |
fix(marketplace): Fix margin between arrows and carousel (#9745)
- fix #8958 Currently, the arrow button and carousel have a 16px margin, and the button is placed 12px below the top of the container. This makes the spacing appear to be 28px. Therefore, place the button and indicator at the top of the container. |
||
|
|
adb3263211 |
fix(marketplace): Reduce margin between search bar and chips to 20px (#9748)
- fix #8955 Reduce the margin between the search bar and chips from 24px to 20px. |
||
|
|
3b5feb2c25 |
fix(marketplace): Fix store card typography (#9739)
- fix #8965 ### Changes Made: - **Title**: Increased line height from 20px to 32px. - **Creator Name:** - Changed font to Geist Sans. - Updated font size to 20px and leading to 28px. - **Description**: Applied Geist Sans font. - **Stats Line:** Applied Geist Sans font. - Font Configuration Fix: > Previously, we were using font-gist, which is not defined in the tailwind config file, hence Updated to use font-sans instead. I have also fixed the height and width of the profile picture in the creator card in this PR. The issue is linked below: - #9314  The margin is perfectly set to 24px; only the height and width of the image need to be changed. --------- Co-authored-by: Bently <tomnoon9@gmail.com> |
||
|
|
6f3da1b7d0 |
refactor(backend): move the router files for postmark to not the v2 folder (#9597)
<!-- Clearly explain the need for these changes: --> One of the pull request review notes from when these were first made is that they don't belong in the v2 folder. This pr fixes where they are. ### Changes 🏗️ - Moves from v2 to routers for the postmark tooling <!-- Concisely describe all of the changes made in this pull request: --> ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [x] Check that linting and tests pass --------- Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> |
||
|
|
6b7c8d5234 |
fix(backend): handle notification service errors more elegently (#9734)
<!-- Clearly explain the need for these changes: --> We have logged 272k timeout errors in the past week from the event loop. Don't raise those as errors. Also along the way for diagnosing this we found that some items were inserted into batches with incomplete datasets so handle that too. ### Changes 🏗️ - Handle timeout errors explicitly - Add better messaging for other error types - Add filtering for queueing bad mezsaging - add filtering for reading bad batches <!-- Concisely describe all of the changes made in this pull request: --> ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [x] Pull dev db - [x] Test new code to check stability + error reduction --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> |
||
|
|
8e912a016f |
fix(ci/backend): Use Poetry version from lockfile (#9729)
Currently, our CI always uses the latest version of Poetry. This causes issues with the lockfile check whenever a new Poetry version is released, especially if that new version has different lockfile generation behavior. This new mechanism determines the Poetry version to use as follows: - Get Poetry version from backend/poetry.lock in the current branch - Get Poetry version from backend/poetry.lock on the base branch - Use the newest version out of the two found versions This way, we don't automatically update to new Poetry versions, but it is still possible to update to newer versions through pull requests. |
||
|
|
824da5e58c |
rename autogpt_platform license file
|
||
|
|
378f49a2d9 | fix(frontend): Fix toggle input label & time picker margin | ||
|
|
ad303d69d1 | fix(frontend): Add border on opened select input-button | ||
|
|
200e5814b3 |
fix(backend): Cleanup service on service closure (#9735)
The cleanup command was only called on SIGTERM, making it possible for the service to close without being cleaned. Risking the connection not being proactively closed when the service is unused. ### Changes 🏗️ Call the cleanup command on the service finally block. ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] Run the service, stop it, see the log is printed (locally) |
||
|
|
d879df062e |
feat(blocks): add a generic webhook block (#9584)
<!-- Clearly explain the need for these changes: --> I want to be able to insert data into the graph as a webhook from various services without making a provider specific webhook for things like discord, slack, uptime bots, etc. ### Changes 🏗️ - Adds a generic webhook block that others can use <!-- Concisely describe all of the changes made in this pull request: --> ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [x] Test the endpoint that is generated with a graph, making sure to pass data and consts to it |
||
|
|
6e595e6e28 |
chore(frontend/deps): bump @sentry/nextjs from 8.54.0 to 9.6.0 in /autogpt_platform/frontend (#9646)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 8.54.0 to 9.6.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-javascript/releases"><code>@sentry/nextjs</code>'s releases</a>.</em></p> <blockquote> <h2>9.6.0</h2> <h3>Important Changes</h3> <ul> <li> <p><strong>feat(tanstackstart): Add <code>@sentry/tanstackstart-react</code> package and make <code>@sentry/tanstackstart</code> package a utility package (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15629">#15629</a>)</strong></p> <p>Since TanStack Start is supposed to be a generic framework that supports libraries like React and Solid, the <code>@sentry/tanstackstart</code> SDK package was renamed to <code>@sentry/tanstackstart-react</code> to reflect that the SDK is specifically intended to be used for React TanStack Start applications. Note that the TanStack Start SDK is still in alpha status and may be subject to breaking changes in non-major package updates.</p> </li> </ul> <h3>Other Changes</h3> <ul> <li>feat(astro): Accept all vite-plugin options (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15638">#15638</a>)</li> <li>feat(deps): bump <code>@sentry/webpack-plugin</code> from 3.2.1 to 3.2.2 (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15627">#15627</a>)</li> <li>feat(tanstackstart): Refine initial API (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15574">#15574</a>)</li> <li>fix(core): Ensure <code>fill</code> only patches functions (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15632">#15632</a>)</li> <li>fix(nextjs): Consider <code>pageExtensions</code> when looking for instrumentation file (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15701">#15701</a>)</li> <li>fix(remix): Null-check <code>options</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15610">#15610</a>)</li> <li>fix(sveltekit): Correctly parse angle bracket type assertions for auto instrumentation (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15578">#15578</a>)</li> <li>fix(sveltekit): Guard process variable (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15605">#15605</a>)</li> </ul> <p>Work in this release was contributed by <a href="https://github.com/angelikatyborska"><code>@angelikatyborska</code></a> and <a href="https://github.com/nwalters512"><code>@nwalters512</code></a>. Thank you for your contributions!</p> <h2>Bundle size 📦</h2> <table> <thead> <tr> <th>Path</th> <th>Size</th> </tr> </thead> <tbody> <tr> <td><code>@sentry/browser</code></td> <td>23.15 KB</td> </tr> <tr> <td><code>@sentry/browser</code> - with treeshaking flags</td> <td>22.94 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. Tracing)</td> <td>36.21 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. Tracing, Replay)</td> <td>73.39 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. Tracing, Replay) - with treeshaking flags</td> <td>66.8 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. Tracing, Replay with Canvas)</td> <td>78.01 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. Tracing, Replay, Feedback)</td> <td>90.57 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. Feedback)</td> <td>40.3 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. sendFeedback)</td> <td>27.79 KB</td> </tr> <tr> <td><code>@sentry/browser</code> (incl. FeedbackAsync)</td> <td>32.58 KB</td> </tr> <tr> <td><code>@sentry/react</code></td> <td>24.97 KB</td> </tr> <tr> <td><code>@sentry/react</code> (incl. Tracing)</td> <td>38.1 KB</td> </tr> <tr> <td><code>@sentry/vue</code></td> <td>27.4 KB</td> </tr> <tr> <td><code>@sentry/vue</code> (incl. Tracing)</td> <td>37.9 KB</td> </tr> <tr> <td><code>@sentry/svelte</code></td> <td>23.18 KB</td> </tr> <tr> <td>CDN Bundle</td> <td>24.36 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing)</td> <td>36.26 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay)</td> <td>71.27 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay, Feedback)</td> <td>76.45 KB</td> </tr> <tr> <td>CDN Bundle - uncompressed</td> <td>71.19 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing) - uncompressed</td> <td>107.57 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td> <td>218.84 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td> <td>231.4 KB</td> </tr> <tr> <td><code>@sentry/nextjs</code> (client)</td> <td>39.27 KB</td> </tr> <tr> <td><code>@sentry/sveltekit</code> (client)</td> <td>36.63 KB</td> </tr> </tbody> </table> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-javascript/blob/9.6.0/CHANGELOG.md"><code>@sentry/nextjs</code>'s changelog</a>.</em></p> <blockquote> <h2>9.6.0</h2> <h3>Important Changes</h3> <ul> <li> <p><strong>feat(tanstackstart): Add <code>@sentry/tanstackstart-react</code> package and make <code>@sentry/tanstackstart</code> package a utility package (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15629">#15629</a>)</strong></p> <p>Since TanStack Start is supposed to be a generic framework that supports libraries like React and Solid, the <code>@sentry/tanstackstart</code> SDK package was renamed to <code>@sentry/tanstackstart-react</code> to reflect that the SDK is specifically intended to be used for React TanStack Start applications. Note that the TanStack Start SDK is still in alpha status and may be subject to breaking changes in non-major package updates.</p> </li> </ul> <h3>Other Changes</h3> <ul> <li>feat(astro): Accept all vite-plugin options (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15638">#15638</a>)</li> <li>feat(deps): bump <code>@sentry/webpack-plugin</code> from 3.2.1 to 3.2.2 (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15627">#15627</a>)</li> <li>feat(tanstackstart): Refine initial API (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15574">#15574</a>)</li> <li>fix(core): Ensure <code>fill</code> only patches functions (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15632">#15632</a>)</li> <li>fix(nextjs): Consider <code>pageExtensions</code> when looking for instrumentation file (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15701">#15701</a>)</li> <li>fix(remix): Null-check <code>options</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15610">#15610</a>)</li> <li>fix(sveltekit): Correctly parse angle bracket type assertions for auto instrumentation (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15578">#15578</a>)</li> <li>fix(sveltekit): Guard process variable (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15605">#15605</a>)</li> </ul> <p>Work in this release was contributed by <a href="https://github.com/angelikatyborska"><code>@angelikatyborska</code></a> and <a href="https://github.com/nwalters512"><code>@nwalters512</code></a>. Thank you for your contributions!</p> <h2>9.5.0</h2> <h3>Important Changes</h3> <p>We found some issues with the new feedback screenshot annotation where screenshots are not being generated properly. Due to this issue, we are reverting the feature.</p> <ul> <li>Revert "feat(feedback) Allowing annotation via highlighting & masking (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15484">#15484</a>)" (<a href="https://redirect.github.com/getsentry/sentry-javascript/issues/15609">#15609</a>)</li> </ul> <h3>Other Changes</h3> <ul> <li>Add cloudflare adapter detection and path generation (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15603">#15603</a>)</li> <li>deps(nextjs): Bump rollup to <code>4.34.9</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15589">#15589</a>)</li> <li>feat(bun): Automatically add performance integrations (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15586">#15586</a>)</li> <li>feat(replay): Bump rrweb to 2.34.0 (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15580">#15580</a>)</li> <li>fix(browser): Call original function on early return from patched history API (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15576">#15576</a>)</li> <li>fix(nestjs): Copy metadata in custom decorators (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15598">#15598</a>)</li> <li>fix(react-router): Fix config type import (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15583">#15583</a>)</li> <li>fix(remix): Use correct types export for <code>@sentry/remix/cloudflare</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15599">#15599</a>)</li> <li>fix(vue): Attach Pinia state only once per event (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15588">#15588</a>)</li> </ul> <p>Work in this release was contributed by <a href="https://github.com/msurdi-a8c"><code>@msurdi-a8c</code></a>, <a href="https://github.com/namoscato"><code>@namoscato</code></a>, and <a href="https://github.com/rileyg98"><code>@rileyg98</code></a>. Thank you for your contributions!</p> <h2>9.4.0</h2> <ul> <li>feat(core): Add types for logs protocol and envelope (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15530">#15530</a>)</li> <li>feat(deps): Bump <code>@sentry/cli</code> from 2.41.1 to 2.42.2 (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15510">#15510</a>)</li> <li>feat(deps): Bump <code>@sentry/webpack-plugin</code> from 3.1.2 to 3.2.1 (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15512">#15512</a>)</li> <li>feat(feedback) Allowing annotation via highlighting & masking (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15484">#15484</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
05af4a24ce |
chore(libs/deps): bump the production-dependencies group across 1 directory with 4 updates (#9727)
Bumps the production-dependencies group with 4 updates in the /autogpt_platform/autogpt_libs directory: [pydantic](https://github.com/pydantic/pydantic), [pydantic-settings](https://github.com/pydantic/pydantic-settings), [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) and [supabase](https://github.com/supabase/supabase-py). Updates `pydantic` from 2.10.6 to 2.11.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/releases">pydantic's releases</a>.</em></p> <blockquote> <h2>v2.11.1 2025-03-28</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Fixes</h3> <ul> <li>Do not override <code>'definitions-ref'</code> schemas containing serialization schemas or metadata by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11644">pydantic/pydantic#11644</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.11.0...v2.11.1">https://github.com/pydantic/pydantic/compare/v2.11.0...v2.11.1</a></p> <h2>v2.11.0 2025-03-27</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Packaging</h3> <ul> <li>Re-enable memray related tests on Python 3.12+ by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11191">pydantic/pydantic#11191</a></li> <li>Bump astral-sh/setup-uv from 4 to 5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11205">pydantic/pydantic#11205</a></li> <li>Add a <code>check_pydantic_core_version()</code> function by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11324">pydantic/pydantic#11324</a></li> <li>Remove <code>greenlet</code> development dependency by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11351">pydantic/pydantic#11351</a></li> <li>Bump ruff from 0.9.2 to 0.9.5 by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11407">pydantic/pydantic#11407</a></li> <li>Improve release automation process by <a href="https://github.com/austinyu"><code>@austinyu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11427">pydantic/pydantic#11427</a></li> <li>Bump dawidd6/action-download-artifact from 8 to 9 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11513">pydantic/pydantic#11513</a></li> <li>Bump <code>pydantic-core</code> to v2.32.0 by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11567">pydantic/pydantic#11567</a></li> </ul> <h3>New Features</h3> <ul> <li>Support unsubstituted type variables with both a default and a bound or constraints by <a href="https://github.com/FyZzyss"><code>@FyZzyss</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10789">pydantic/pydantic#10789</a></li> <li>Add a <code>default_factory_takes_validated_data</code> property to <code>FieldInfo</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11034">pydantic/pydantic#11034</a></li> <li>Raise a better error when a generic alias is used inside <code>type[]</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11088">pydantic/pydantic#11088</a></li> <li>Properly support PEP 695 generics syntax by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11189">pydantic/pydantic#11189</a></li> <li>Properly support type variable defaults by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11332">pydantic/pydantic#11332</a></li> <li>Add support for validating v6, v7, v8 UUIDs by <a href="https://github.com/astei"><code>@astei</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11436">pydantic/pydantic#11436</a></li> <li>Improve alias configuration APIs by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11468">pydantic/pydantic#11468</a></li> <li>Add experimental support for free threading by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11516">pydantic/pydantic#11516</a></li> <li>Add <code>encoded_string()</code> method to the URL types by <a href="https://github.com/YassinNouh21"><code>@YassinNouh21</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11580">pydantic/pydantic#11580</a></li> <li>Add support for <code>defer_build</code> with <code>@validate_call</code> decorator by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11584">pydantic/pydantic#11584</a></li> <li>Allow <code>@with_config</code> decorator to be used with keyword arguments by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11608">pydantic/pydantic#11608</a></li> <li>Simplify customization of default value inclusion in JSON Schema generation by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11634">pydantic/pydantic#11634</a></li> <li>Add <code>generate_arguments_schema()</code> function by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11572">pydantic/pydantic#11572</a></li> </ul> <h3>Changes</h3> <ul> <li>Rework <code>create_model</code> field definitions format by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11032">pydantic/pydantic#11032</a></li> <li>Raise a deprecation warning when a field is annotated as final with a default value by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11168">pydantic/pydantic#11168</a></li> <li>Deprecate accessing <code>model_fields</code> and <code>model_computed_fields</code> on instances by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11169">pydantic/pydantic#11169</a></li> <li>Move core schema generation logic for path types inside the <code>GenerateSchema</code> class by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10846">pydantic/pydantic#10846</a></li> <li>Move <code>Mapping</code> schema gen to <code>GenerateSchema</code> to complete removal of <code>prepare_annotations_for_known_type</code> workaround by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11247">pydantic/pydantic#11247</a></li> <li>Remove Python 3.8 Support by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11258">pydantic/pydantic#11258</a></li> <li>Optimize calls to <code>get_type_ref</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10863">pydantic/pydantic#10863</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/blob/main/HISTORY.md">pydantic's changelog</a>.</em></p> <blockquote> <h2>v2.11.1 (2025-03-28)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.11.1">GitHub release</a></p> <h3>What's Changed</h3> <h4>Fixes</h4> <ul> <li>Do not override <code>'definitions-ref'</code> schemas containing serialization schemas or metadata by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11644">#11644</a></li> </ul> <h2>v2.11.0 (2025-03-27)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.11.0">GitHub release</a></p> <h3>What's Changed</h3> <p>Pydantic v2.11 is a version strongly focused on build time performance of Pydantic models (and core schema generation in general). See the <a href="https://pydantic.dev/articles/pydantic-v2-11-release">blog post</a> for more details.</p> <h4>Packaging</h4> <ul> <li>Bump <code>pydantic-core</code> to v2.33.0 by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11631">#11631</a></li> </ul> <h4>New Features</h4> <ul> <li>Add <code>encoded_string()</code> method to the URL types by <a href="https://github.com/YassinNouh21"><code>@YassinNouh21</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11580">#11580</a></li> <li>Add support for <code>defer_build</code> with <code>@validate_call</code> decorator by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11584">#11584</a></li> <li>Allow <code>@with_config</code> decorator to be used with keyword arguments by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11608">#11608</a></li> <li>Simplify customization of default value inclusion in JSON Schema generation by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11634">#11634</a></li> <li>Add <code>generate_arguments_schema()</code> function by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11572">#11572</a></li> </ul> <h4>Fixes</h4> <ul> <li>Allow generic typed dictionaries to be used for unpacked variadic keyword parameters by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11571">#11571</a></li> <li>Fix runtime error when computing model string representation involving cached properties and self-referenced models by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11579">#11579</a></li> <li>Preserve other steps when using the ellipsis in the pipeline API by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11626">#11626</a></li> <li>Fix deferred discriminator application logic by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11591">#11591</a></li> </ul> <h3>New Contributors</h3> <ul> <li><a href="https://github.com/cmenon12"><code>@cmenon12</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/11562">#11562</a></li> <li><a href="https://github.com/Jeukoh"><code>@Jeukoh</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/11611">#11611</a></li> </ul> <h2>v2.11.0b2 (2025-03-17)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.11.0b2">GitHub release</a></p> <h3>What's Changed</h3> <h4>Packaging</h4> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |