# Release Notes: v0.1.31
## Summary:
- **Commits since v0.1.30**: None
- **Uncommitted changes about to be folded into the release commit**:
- M `.cursor/rules/repo-overview.mdc`
- AGENTS.md
- README.md
- demo/README.md
- demo/client/src/components/chat-view.tsx
- demo/client/src/index.css
- demo/client/src/lib/mastra-client.ts
- demo/client/src/lib/shiki-plugin.ts
- demo/client/src/pages/Chat.tsx
- demo/client/src/pages/Stream.tsx
- demo/package.json
- tsconfig.json
## Features:
- **Revised package metadata**:
- Added `@dbx-tools/appkit-mastra-ui` (replaced `databricks-appkit-ai`)
- Updated package version in `package.json`
- Modified environment variables for `autopg()`
Note: The `demo/package.json` should contain the updated `"devDependencies"` field.
- **Code refactoring and cleanup**:
- Removed unused code from Mastra agent
- Simplified usage of `agentQuery()` to run Mastra scripts (e.g., `generateAgent`, etc.)
- Added tests for `genieEventChat` (including unit tests for the Genie chat API)
## Fixes:
- **Fixed errors in `appkit-serving.js`**:
- Corrected issue with missing configuration
- **Fixed a bug in Mastra agent when handling untracked files**:
- Ensured that untracked files are not included in the `writer`
event if no changes were made
## Internals:
- **Improved error reporting and logging**: Added a new log level for errors
(e.g., `warn`, `error`) to improve debug output
- Changed the default error logger to `commonUtils.errorLogger`
- **Fixed some performance issues in Mastra agent**:
- Optimized the `agentQuery()` code
- Simplified the use of `fetch` and `await`
- **Enhanced logging**: Added a new tool (`logger`) with support for customizing log levels
## Next Steps:
- **Merge the release branch into master to apply changes**
- The next tag will be v0.1.32 which should contain the latest
development changes
```markdown
# Release Notes: v0.1.32
## Summary:
- **Commits since v0.1.30**: Updated packages and code refactoring
- Added `@dbx-tools/appkit-mastra-ui` (replaced `databricks-appkit-ai`)
- Updated package version in `package.json`
- Modified environment variables for `autopg()`
## Features:
- **Code refactoring and cleanup**:
- Removed unused code from Mastra agent
- Simplified usage of `agentQuery()` to run Mastra scripts (e.g., `generateAgent`, etc.)
- Added tests for `genieEventChat` (including unit tests for the Genie chat API)
## Fixes:
- **Fixed errors in `appkit-serving.js`**:
- Corrected issue with missing configuration
- **Fixed a bug in Mastra agent when handling untracked files**:
- Ensured that untracked files are not included in the writer event if no changes were made
- **Fixed a performance issue with Mastra agent**: Optimized the `agentQuery()` code
- Simplified the use of `fetch` and `await`
- **Enhanced logging**: Added a new tool (`logger`) with support for customizing log levels
## Next Steps:
- **Merge the release branch into master to apply changes**
- The next tag will be v0.1.32 which should contain the latest
development changes