copilot.el 0.4 is released, marking a major milestone by migrating from a reverse-engineered API to the official GitHub Copilot Language Server LSP protocol. Key changes include proper LSP client behavior (textDocument notifications, workspace folders, clean shutdown), interactive AI model selection, a rewritten parentheses balancer using parse-partial-sexp for syntactic awareness, improved server communication (status reporting, progress tracking, request cancellation, UTF-16 position support), a new 120+ test suite using buttercup with CI across multiple Emacs versions and platforms, and a fully rewritten README. Notable bug fixes include removing the company-mode dependency and fixing Emacs 30 compatibility. Upcoming features in development include Next Edit Suggestions, Copilot Chat, and native installation without Node.js.
Table of contents
A Proper Copilot ClientModel SelectionParentheses Balancer 2.0Improved Server CommunicationTests and DocumentationBug FixesWhat’s NextThanksSort: