Release v2.10.0
2.10.0
Added
- Custom rules are now incorporated into prompts for both
/document
and/test
commands.
Fixed
- Resolved an issue in Apex test case generation where classes located in subdirectories under classes/ were not being detected.
- Optimize LWC: Added a notification for cases where no optimizations are available ensuring only files with actual changes are displayed.
- Test case generation UI: Improved the Picker component’s styling and functionality.
2.9.0
Added
-
🚀🚀 Exciting news for our Developers! We’ve released yet another new feature - User-specified context in Dev Assistant. This feature allows you to add specific Apex or Lightning Web Component (LWC) files, Apex methods, selected code, and local metadata to your chat sessions. Use this feature to get more precise and contextually relevant responses from Dev Assistant. We hope you ❤️ this update to the Dev Assistant you’ve grown to know and love.
-
AI custom rules now support
.trigger
files. You can now include Applies to:**/*.trigger
in your custom rules markdown files. -
We made some changes under the hood.
Fixed
- We made some changes under the hood.
2.8.0
Added
- We now collect telemetry on AI custom rules that are incorrectly excluded from requests. This data helps us improve the product.
- We made some changes under the hood.
2.7.0
Added
🚀🚀 Exciting news for our Developers! We’re thrilled to announce the release of a powerful set of new features in Agentforce for Developers. Check out our docs to learn more about these features.
- The new AI Custom Rules feature allows users to define rules that shape how AI-generated code should be structured and behave, giving you greater control over how the LLM writes code.
- The Optimize LWC feature (currently in Developer Preview) introduces a new Mobile Offline agent. This agent analyzes and updates LWC code to ensure it aligns with mobile optimization guidelines.
2.6.0
Added
- We added a user-friendly error message notification in the Apex Test Case Generation form for when test generations fail.
Fixed
- We resolved an issue where optimizing certain LWC components caused an error.
2.5.0
Added
- We made some changes under the hood.
Fixed
- We resolved an issue where generating Jest tests or optimizing certain LWC components caused an error.
2.4.0
Added
- We made some changes under the hood.
Fixed
- We added RAG-based context for SOQL prompts to improve accuracy. Previously, prompts with SOQL didn’t include context, leading to inconsistent response generation in complex use cases.
2.3.0
Added
- Form selections for the test case generation agent are now preserved when you switch between Apex and LWC tests. This means you won't have to reselect components each time, making your testing process more efficient and seamless.
- We made some changes under the hood.
Fixed
- We fixed an issue that caused improper caching of the vector database after RAG indexing was completed.
2.2.0
Added
- With its elevated presence in the Salesforce Extension Pack, Agentforce for Developers is now a core part of the Salesforce developer experience. This change improves discoverability, making it easier for developers to find and install Agentforce for Developers as part of their workflow.
- The Code Analyzer VS Code (Beta) extension now seamlessly integrates with Agentforce for Developers by offering suggested code quick fixes for a set of PMD violations. To view the list of PMD rules that can currently be fixed this way, run this command from the terminal:
sf code-analyzer rules --rule-selector Recommended:pmd:Security:Apex --rule-selector Recommended:pmd:ErrorProne:Apex
For more information, see Fix Your Code Using Agentforce for Developers.
- We increased the input token limit for Dev Assistant and Apex test case generation from 7K to 10K. The increased input token limit will help add more context to requests, and generate better quality responses.
Fixed
- The latest Salesforce patch release fixed an issue with Multi-Factor Authentication (MFA) that sometimes caused access issues for Agentforce for Developers in a Salesforce org.
2.1.1
Added
- We made some changes under the hood.
2.1.0
Added
- The diff view now clears after you accept or discard a generation. When you accept a generation, your updated file automatically replaces the diff view in the editor, making for a more seamless user experience.
- The
Agentforce: Generate Code
command now redirects you to the Dev Assistant so that you can easily take advantage of all the extras that Dev Assistant has to offer. See Chat with Dev Assistant to learn more. - We made some changes under the hood.
2.0.1
🚀🚀 Exciting news for our Developers! We’re thrilled to announce the release of a powerful set of new features in Agentforce for Developers. We’ve upped our game and made it easier than ever to build and optimize Lightning web components. This release introduces a brand new Agents panel in the Activity bar that houses these new features:
- Apex and LWC Test Case Generation: Automatically generate Jest tests for your LWC components using our new AI agent. The clean, easy to use UI experience that includes a new diff view, is also available for Apex test case generation.
- Optimize your LWC Components (Dev Preview): Boost your components' accessibility with AI recommendations aligned with select WCAG Level accessibility standards. The agent can also assist in resolving To-Do comments directly from your component code. This feature is currently in developer preview and very easy to turn on. We're eager to hear your feedback to help us improve!
Give these new features a try and let us know what you think!
1.13.0
Features
- We made some changes under the hood.
1.12.0
Features
- We updated the chat streaming process to handle larger chunks returned by XGen-Code, our custom LLM. Previously, data was processed one character at a time, causing choppy chat output due to updates being sent only every 20 chunks. Now, the webview is updated on every chunk for a more responsive experience.
- We made some changes under the hood.
1.11.0
Features
- We made some changes under the hood.
1.10.0
Fixed
- We've fixed an issue that was causing incorrect generations in the /document command.
Added
- We made some changes under the hood.
1.9.0
Added
- We revamped our icons—check out the sleek new look in the Dev Assistant and status bar! Spot the upgrade?
- We made some changes under the hood.
1.8.0
Added
- We've made improvements to the system prompts for LWC files. This means you'll get better chat responses when you're working with an LWC file open
- We removed a setting that allowed users to choose between long and short autocompletions. Now you'll always have the best autocompletion experience, based on your context.
1.7.1
Fixed
- We fixed a bug where recent user message history was not being sent to the LLM.
- We made some changes under the hood.
1.7.0
Added
- We made some changes under the hood.
1.6.0
Added
- We made some changes under the hood.
Fixed
- We made improvements to our inline auto complete feature. Now you’ll get more stable suggestions as you type.
- We made some changes under the hood.
1.5.0
Added
- We made some changes under the hood.
1.4.1
Fixed
- We made some changes under the hood.
1.4.0
Added
- We made some changes under the hood.
Fixed
- We made improvements to our inline auto complete feature. Now you’ll get more helpful and stable suggestions as you type.
- We made some changes under the hood.
1.3.0
Added
- Now you can enable or disable retrieval augmented generation (RAG) in settings. With RAG on, the responses you receive from Dev Assistant will be more relevant.
- We made some changes under the hood.
Fixed
- We made some changes under the hood.
1.2.0
Added
- A Salesforce admin can now disable Agentforce for Developers in a Salesforce org. If Agentforce for Developers is disabled in your default org, it’ll now also be disabled in the extension.
Fixed
- We made some changes under the hood.
1.1.0
Added
- Check out the new icon state in the status bar to see when inline autocompletions are paused. We pause autocompletions when we detect idle time in the editor. Paused autocompletions are easy to restart.
1.0.1
Added
- Say hello to Agentforce for Developers. This extension's brand has a new identity! We've revamped the commands, views, and icons to match the exciting new branding.
- To ensure that our RAG model has all the context it needs about your workspace, we now remind you to run SFDX:Refresh SObject Definitions.
Fixed
- We made some changes under the hood.
0.61.0
🚀🚀 We’re thrilled to announce the general availability of Einstein for Developers, our generative AI tool, powered by our custom Salesforce LLMs, CodeGen2.5 and xGen-Code.🚀🚀
Use Einstein for Developers, your helpful coding assistant in Visual Studio Code and Code Builder as you work on Apex and Lightning Web Component (LWC) files in your Salesforce DX project. Here’s an overview of features.
Einstein Dev Assistant: Code with ease with the help of your Dev Assistant right beside you. Get started with code generation and Salesforce development by asking Einstein for help. With easy-to-use slash commands, you can also focus on specific tasks like understanding new code and improving your code documentation.
Command Palette: Use the Einstein: Generate Code command in the VS Code Command Palette to enter a question about what you want to build. Einstein responds with Apex code suggestions right in your editor.
Inline Auto Completions: As you type, Einstein for Developers can suggest code completions, without any interruptions to your workflow. Easily pick the suggestion that works for you. Use this feature in Apex and LWC (JavaScript, CSS, and HTML) files.
Test Case Generation for Apex: Use Einstein for Developers to easily create unit test cases for your Apex methods. Quickly get to required Apex test coverage and get your code ready for deployment.
Key Product Links
- Documentation
- FAQ
- GitHub repo for logging issues.
- Terms of Use
We look forward to seeing how Einstein for Developers will power your Salesforce Development. Thank you for being a part of our journey!
0.60.0
Meet Einstein Dev Assistant, the latest addition to Einstein for Developers 🤖 🎉. This chat experience lets you ask Einstein questions about your local files and explain your existing code. With the ability to iterate over your responses, Einstein Dev Assistant will make you more productive than ever.
0.59.0
Fixed
- We made some changes under the hood.
0.58.0
Fixed
- We made some changes under the hood.
0.57.0
Features
- No need to guess if the magic ✨ is happening. We've added a handy setting that’ll show you when an autocomplete is in progress.
Fixed
- We made some changes under the hood.
0.56.0
Added
- Our inline autocompletion feature just got a whole lot better. Now, you can easily find previous generations by simply placing your cursor back in the same location. We’ll show you up to 5 previous generations, making it easy to find the perfect completion.
Fixed
- We made some changes under the hood.
0.55.0
Added
- We made some changes under the hood.
Fixed
- We made some changes under the hood.
0.54.0
Added
- We made some changes under the hood.
Fixed
- We made some changes under the hood.
0.53.0
Added
- We made some changes under the hood.
Fixed
- We made some changes under the hood.
0.52.0
Added
- We made some changes under the hood.
Fixed
- We made some changes under the hood.
0.51.0
Added
- We made some changes under the hood.
Fixed
- We made some changes under the hood.
0.50.0
Added
- The Einstein for Developers extension is now bundled! This should result in a significantly faster startup time. 🚀
- We updated the Einstein for Developers sidebar introduction text to direct users to our Apex Unit Test Case Generation feature.
Fixed
- We added a missing description to an icon.
0.49.0
Added
🚀 We’re thrilled to announce that Einstein for Developers (Beta) is now a part of the Salesforce Expanded Pack! 🚀
Here’s what you can expect with this change:
- Access to powerful generative AI tooling that is grounded in your org’s data, and is backed by the promise of Salesforce’s Trust Layer. See Additional Terms of Use for information.
- Seamless updating of extension versions. Weekly extension releases include new features and enhancements that we continue to make to Einstein for Developers!
- Einstein for Developers is enabled by default in our VS Code desktop application. Enable it in Code Builder in minutes.
We’re excited that we’ve made it easier for you to give Einstein for Developers a spin, and we hope you’ll give it a try. We’d love your feedback ! 📝
Fixed
- We fixed an issue where the History tab in the output panel stole focus when the extension was first initialized
0.48.0
Added
- We made some changes under the hood.
0.47.0
Added
- We added a new setting that allows users to select the length of inline autocompletions.
- We made some changes under the hood.
Fixed
- We fixed an issue with file creation during Test Case Generation so that all Salesforce CLI extension versions are now supported. (#72)
0.46.0
Added
- We made some changes under the hood.
0.45.1
Fixed
- We fixed an issue with the change log not rendering correctly.
0.45.0
Added
- We made some changes under the hood.
Fixed
- We made some changes under the hood.
0.44.0
Fixed
- We fixed an issue where launching VS Code and opening a non
sfdx
project created a.sfdx
sub-folder in the project.
0.43.2
Fixed
- We fixed a bug that caused some Einstein for Developers features to be hidden when used with the most recent version of the Core CLI extension (v60.7.0).
0.43.1
Added
- We made some changes under the hood.
0.43.0
Added
- We improved the Einstein for Developers sidebar experience by adding a more detailed and helpful greeting. This includes links to a walkthrough and product documentation.
Fixed
- We fixed an issue with the Einstein for Developers icon, where the extension's enabled state was not accurately reflected when users manually triggered completions.
- We made some changes under the hood.
0.42.0
Features
- We updated some setting names in an effort to make their purpose clearer to understand. Values for these settings have reverted to default as a result of this update. Go to Settings and search for "Einstein for Developers" and make any settings updates you need.
Fixed
- We made some changes under the hood.
0.41.0
Added
- The Inline autocomplete feature now includes support for HTML files for LWC.
0.40.0 Major Release Update!
This release of Einstein for Developers (Beta) includes some spiffy new items that power up our custom generative AI tool. 🎉 🎉 Use these features to make your productivity take a major leap forward. The extension is now enabled by default across all Salesforce orgs.
- Inline Autocomplete for Apex and LWC: Get multiple inline suggestions, as you code. Easily pick the one that works for you. This new feature is available in Apex and LWC (Javascript and CSS) files.
- Test Case Generation for Apex: Use Einstein for Developers to quickly generate unit tests for your Apex methods.
- Update to Data Usage Policy: Einstein for Developers no longer uses customer data to train our LLM, CodeGen.
Some other changes we’ve made to help you with your tasks include:
- An update to status icon that now suggests actions when you click on it, and also keeps you even more informed about the state of affairs.
- A brand new Einstein for Developers Walkthrough so that you can learn about these new features!
We hope you have fun with the features! 🎉
0.39.0
Added
- We made some changes so that clicking the Einstein icon in the status bar now opens the command palette from where you can choose helpful Einstein for Developers commands.
- We made some changes under the hood.
Fixed
- We made some changes under the hood.
0.38.0
Fixed
- We made some changes under the hood.
0.37.0
Fixed
- Fixed an issue that sometimes prevented the Einstein for Developers extension from activating in Code Builder. (#370)
- We made some changes under the hood.
Added
0.36.0
Fixed
- We made some changes under the hood.
0.35.0
Added
- We made some changes under the hood.
Fixed
- We made some changes under the hood.
0.34.0
Fixed
- We made some changes under the hood.
0.33.0
Added
- We made some changes under the hood.
Fixed
- We fixed a bug so that you can now copy prompts and generated responses from the History and Feedback panel. Thank you abrantes23 for bringing the issue to our attention. We hope we made your job just a little easier.
0.32.0
Added
- We added some spiffy syntax highlighting to responses so that the generated code block looks exactly like it would in your code editor.
Fixed
- We made token usage optimal by estimating in advance how many tokens a prompt would use, while also increasing the token budget. Response truncation incidents are now greatly reduced as a result of these updates. And you’re no longer wasting those precious tokens. Win-win much?
- We fixed an issue with single line generations not wrapping around columns. Responses are now formatted correctly in the History & Feedback tab.
- We fixed some issues so that both engineered prompts and Apex code responses are better formatted.
0.31.0
Added
- We updated the minimum required version of the @salesforce/core library to 59.9.0
- We made some changes under the hood.
Fixed
- We made some changes under the hood.
- We fixed an issue with incorrect handling of the user prompt so that it is now correctly added at the end of the printed engineered prompt in logs.
0.30.0
Added
- We made some changes under the hood.
Fixed
- We made some changes under the hood.
- We fixed an issue with incorrect handling of the situation when the Einstein for Developers is disabled in an org while it’s active.
0.29.0
Added
- We made some changes under the hood.
0.28.0
Added
- Einstein icon now has an updated look.
- You can now specify any apex files in your workspace in your prompts with the suffix .cls. Our engineered prompts can now extract the outlines of these files and use the information as context to provide better grounding.
- We made some changes under the hood.
Fixed
- We made some changes under the hood.
0.27.1
Added
- We made some changes under the hood.
0.26.3
Added
- Einstein for Developers can now correctly parse custom metadata when it is a part of a prompt and uses the
__mdt
suffix. The metadata added to a prompt in this way is automatically included into the context to ground generations. Make sure to runSFDX:Refresh SObject Definitions
to pull custom metadata from your org into the project. Then build prompts using the custom metadata and associated suffix. Enjoy building those cool prompts! - We made some changes under the hood.
0.24.2
Added
- You can now reference multiple custom objects in your prompt, making code generations more aware of your project's metadata. Run SFDX:Refresh SObjects Definitions to gather org metadata into your project. Then build your prompt using as many custom objects in the metadata as you want. Enjoy building those awesome prompts!
- You can now use the Esc key to clear code suggestions.
0.23.1
Fixed
-
We updated these keyboard shortcuts--
- Use
ctrl+enter
/cmd+enter
to accept a code suggestion that is generated in your Apex file when you run theEinstein: Generate Code
command from that file. - Use
ctrl+shift+r
/cmd+shift+r
to open theEinstein: Generate Code
command in the command palette. You must have an Apex file in focus to use this shortcut.
- Use
-
We increased the character limit for the text you can enter in the Einstein sidebar. Now you don’t have to worry about running out of words when you’re crafting your prompts. We know you have a lot of questions. Ask away!
0.22.1
Fixed
- We made an update so that a text response is not rendered as code.
- We made some changes under the hood.
Added
- We've added org context information to items the prompt history panel. Now the panel only displays prompt history information for the default org.
0.21.1
Fixed
- We now let you know when your prompt is too long for us to handle!
- We also let you know when your CLI version needs updating.
- We fixed an issue where the feedback in the panel would get out of sync with feedback in the history. Thank you Jeff Kranz for reporting the issue.
- We made some changes under the hood.
Added
- We made an update to telemetry reporting.
0.19.0 Open Beta Release
We released a brand new Einstein for Developers (Beta) extension. This extension used with the Salesforce Extension Pack, powers up your Salesforce development environment with custom generative AI. Use the extension to generate boilerplate Apex code from natural language instructions in a sidebar, so you can work with your editor and the tool side by side, without any interruptions to your workflow.
0.1.0 - 0.18.0
These releases were limited to the Einstein for Developers closed pilot.