Releases: teambit/bit
Releases · teambit/bit
v1.13.177
New Features
- New
bit rippleCLI for Ripple CI management, including auto-resolve of the last export job forlog/errors(#10261, #10330) - CLI Output Modernization — Bit's command output has been redesigned around a shared formatting toolkit with status symbols, bold section headers, and a consistent visual language.
tag,snap,export,status,checkout,reset,test,log,lane, andmergenow share the same look (#10255, #10258, #10263, #10269, #10271, #10283) - New
bit detailscommand for post-hoc verbose output of the previous command, also supported formerge,switch, andcheckout(#10276, #10288) - New
bit searchcommand to find components in remote scopes and the workspace (#10302) - New
bit deps circularcommand to inspect circular dependencies with ASCII loop diagrams (#10256, #10250) - New
bit lane currentsubcommand to print the active lane (#10253) - Semantic API diff with impact assessment for component changes (#10262)
- AI-agent-friendly output — new flags on
bit diffand a per-component rollup forbit testfor cleaner agent-readable results (#10307, #10313) bit initnow generates anAGENTS.mdon workspace initialization (#10308)- Live Controls diff for composition compare so design/control changes are visualized between versions (#10112)
- Component history page redesigned with a timeline layout (#10254)
- Workspace scope-trust list for aspect loading (#10347)
- API Server: lane history and lane history-diff IDE APIs, plus a
getLaneDiffForIDEAPI for IDE lane diff (#10252, #10296) - API Server: require bearer-token authentication on the local HTTP server and tighten local server defaults (#10341, #10344)
- New
ignoredFilesconfig inworkspace.jsonc(#10280) - Improve
bit whyoutput (#10193) - Dedupe peer dependencies during install (#10249)
bit updatenow updates dependencies inenv.jsonc(#10128)- Preview
--use-sourcemode — render workspace previews from source code instead of pre-built output, with an opt-insupportsUseSourceenv preview config (#10314, #10316, #10321) - New
bit catcommand to view component file contents (#10286)
Improvements
- Add
--use-root-modulesflag tobit start(#10199) bit validate: make--continue-on-errorthe default behavior and add--skip-tasksflag (#10243, #10232)- Add
--dry-runflag tobit ci pr(#10248) - Add
--include-new-from-scopeflag tobit checkout head(#10265) bit listnow includes a path column in workspace context (#10247)- Add
--quickflag tobit statusfor faster file-only status checks (#10260) bit statusoutput redesigned with a collapsible auto-tag section (#10263)- Add
batchIdto snap/tag operations to correlate component versions from the same run (#10259) - Resolve env peer dependencies from workspace root (#10227)
- Add peer version origins to
bit deps diagnose(#10229) and show installed copies in peer permutations diagnosis (#10228) bit scope-renamenow auto-installs dependencies after the rename (#10329)- Update pnpm and fix stale dependency cache after dep config changes (#9541)
- Open localhost URLs in VS Code Simple Browser via URI handler (#10217)
- Workspace component breadcrumb shown in minimal mode (#10246)
- Resolve components by directory path in the workspace API (#10277)
- Return file hashes for direct object reads in IDE SCM diffs (#10282)
- Update bitdev generator templates and teambit dependencies (#10284)
- Add
apialias for theschemacommand and fix help output for aliases (#10291) bit lane import: add merge-resolve flags, do not auto-switch when already on a lane, and wrap<lane>in backticks in extended description (#10221, #10345, #10348)- Allow exporting a lane with not-yet-existing component scopes (#10363)
- Add
bitmapAutoSyncmode for branch-protected repos in CI (#10335) - Log lane hash when creating temporary lane in
bit ci pr(#10342) - Retry npm publish on 429 rate limit errors (#10251)
- Activate log rotation to prevent unbounded directory growth (#10242)
Performance
- Optimize
calcDependenciesGraphlockfile processing (#10230) - Viewport-gate overview previews to avoid rendering off-screen compositions (#10241)
- Avoid OOM on very large
--ownerimports (#10311) - Avoid OOM in
bit check-typesby batchingtsserveropen/close (#10351)
Bug Fixes
- Fix an issue where
addandcreatecommands failed on Windows (#10245) - Fix an issue where env peer dependencies caused variations across capsules; now all env peer deps are used in capsules (#10209)
- Fix an issue where
env.jsoncpeer dep versions weren't resolved from the workspace for workspace components (#10214) - Fix an issue where
bit installfiltered env peer deps even when not using an external package manager (#10215) - Fix an issue where the deps graph reimport dropped workspace lockfile entries (#10318)
- Fix an issue where orphan
@file:entries leaked into saved/loaded deps graphs (#10337) - Fix an issue where back-edges from circular workspace deps polluted the deps graph (#10361)
- Fix an issue where
bit newwith a forked env left packages missing (#10201) - Fix an issue where
bit lane diffcompared against the currentmainhead instead of the fork-point (#10244) - Fix an issue where
lane-history-difffailed on orphaned versions from reset snaps (#10268) - Fix an issue where reset didn't clean up lane history entries (#10270, #10273)
- Fix an issue where
bit ci prfailed on lane hash mismatch from concurrent pushes (#10297), hung on SSH host-key prompt (#10300), or wasn't fast-failing when remote lane delete reported not-found but list still showed it (#10306) - Fix no-op merge detection by using
bit diff --json(#10310) - Fix an issue where
bit ci mergelost lane config changes during merge to main (#10219) - Fix an issue where
bit ci mergefailed for components new to the lane (#10216) - Fix
bit api diffbackwards compatibility with older env versions (#10303) - Fix an issue where
mergeandimportoutput didn't surface soft-removed components (#10212) - Fix an issue where the schema task threw on workspace for failed builds (#10206)
- Fix an issue where the TypeScript compiler crashed silently on
tsservercrash; surface it instead (#10238) - Fix an issue where the Apollo cache normalized the
AspectGraphQL type and caused env contamination (#10285) - Fix an issue where
bit runfailed silently when multiple apps were found; list them instead (#10301) - Fix an issue where the watcher hung on SIGINT (#10323)
- Fix an issue where
createLinkOrSymlinkthrew onEEXIST(#10207) - Fix an issue where the scope file watcher tripped the Watchman
ignore_vcsbug (#10223) - Fix an issue where the builder threw on missing artifact files; skip them instead (#10208)
- Fix an issue where
bit artifactsreported inaccurate file counts and didn't warn when no artifacts matched (#10362) - Fix an issue where the scope importer threw on null parent versions (#10287)
- Fix an issue with the error message when a
Sourceobject was missing from the local scope (#10294) - Fix an issue where
bit deprecationwarned about deprecated dependencies of deprecated components (#10274) - Fix an issue where snap-distance gave an unactionable error when
localHeadwas missing from the graph (#10312) - Fix an issue where the config-merger mishandled component ranges when the workspace had a higher exact version (#10338)
- Fix an issue where
bit lane historyoutput was not sorted by date (#10346) - Fix an issue where
bit initconfirm prompts displayedfalseinstead of using a toggle (#10231) - Fix an issue where the workspace.jsonc env type warning pointed to a stale aspect ID (#10220)
- Fix
workspace.jsoncconflict resolution (#10222) - Fix an issue where
bit start'suseRootModulesflag wasn't captured before preview build (#10224) - Fix an issue where preview peer namespaces weren't callable when the consumer skipped ESM interop (#10336)
- Fix an issue where
--use-sourcepreviews didn't initializelinkModulesfor all previews (#10316) - Fix an issue where the rspack config didn't include lane context as an alias (#10203)
- Fix an issue where the lane Component Tree didn't recompute nodes on viewed lane changes (#10205)
- Fix an issue where the lane-compare composition view didn't render (#10213)
- Fix UI issues with the workspace dark theme, compositions dark mode, the new component-version pill, oversized DEV/MAIN labels, and live controls panel visibility (#10211, #10234, #10327, #10290, #10292, #10332, #10320)
- Fix
bit removeoutput to say "local workspace" instead of "local scope" (#10319) - Wrap
<lane>in backticks inbit lane importextended description (#10348) - Add oxlint config files to
IGNORE_ROOT_ONLY_LIST(#10281) - Use self-closing
<br/>tags in style guide for MDX compatibility (#10272) - Prevent flaky
SyntaxErrorin MCP server tests (#10264) - Update
use-lanes-menucomponent to latest version (#10233) - Improve config-merger log message readability (#10235)
- Security: reject embedded
..segments inisValidPathto prevent path traversal (#10354) - Security: write the global config with
0600permissions (#10360)
Internal
- Replace ESLint with Oxlint for repo linting (#10324)
- Re-revert rspack migration (#10198)
- Update
node-babel-mochaandnode-typescript-mochaenvs to latest (#10210) - Update teambit design and preview dependencies (#10339)
- Eject
use-lanes-menucomponent (#10237) - Remove historical number suffixes from e2e test filenames (#10305)
- Add e2e tests for env peer deps after
bit createand forbit resetafter lane merge to main (#10218, #10266) - Update CLAUDE.md to instruct using
npm run lintinstead oftsc/oxlintdirectly (#10...
v1.13.58
New Features
- New
bit deps diagnosecommand to analyze workspace dependency bloat by scanningnode_modules/.pnpm, reporting top version-spread packages, and identifying peer dependencies causing combinatorial explosion. Use--package <name>to drill down into a specific package (#10189) - Community Workspace Starters registered directly in core, enabling
bit new react,bit new platform, andbit new harmonyto work without requiring--aspector--envflags (#10156) - Lane History commands are now stable — removed EXPERIMENTAL marks from all lane history subcommands.
bit lane history-diffnow works with 0, 1, or 2 arguments for easier usage (#10192)
Improvements
- Add
--skip-pushflag tobit ci mergecommand for organizations where CI pipelines need to handle the push step separately (#10171) - Workspace Overview Aggregation is now sticky and URL-driven (#10161)
- Allow creating a new lane when the current lane has staged or diverged components (#10155)
- Show helpful message when
bit check-typeshas no components to check, similar to other commands (#10151) - Show actual env name in
bit templatesoutput instead of internal aspect IDs (#10152) - Clarify
--write-depsoption inbit importhelp output (#10158) - Improve CLI skill command discoverability (#10190)
Performance
- Batch
getDiagnosticcalls inbit check-typesto avoid overwhelming tsserver on large workspaces, resulting in ~35% performance improvement (#10180) - Convert recursive version-history traversal to iterative to prevent stack overflow on repositories with deep version histories (2000+ versions) (#10144)
Bug Fixes
- Fix an issue where
bit init --external-package-manageradded"type": "module"to an existingpackage.json(#10148) - Fix an issue where
bit initwithexternalPackageManager: truedidn't includebit ws-config writein the postinstall script (#10147) - Fix an issue where env dependencies were incorrectly installed as dependencies of user components (#10150)
- Fix an issue where
bit installfailed with "isn't supported by any available resolver" whenenv.jsonccontained+version placeholders (#10154) - Fix an issue where the isolator overwrote the merged
package.jsonwhenpopulateArtifactsFromwas set during tag after snap (#10166) - Fix an issue where
react-dompeer dependency version could get out of sync withreactfrom the env's default peers (#10195) - Fix an issue where lane merge didn't add a history entry when merging without snap (#10149)
- Fix an issue where
bit doctor --archive --exclude-local-scopedidn't exclude.bit/objectswhen run from a nested directory (#10184) - Fix an issue where MDX dependency detection crashed on files with legacy syntax instead of falling back to regex-based import extraction (#10174)
- Fix an issue where the TypeScript parser crashed on malformed AST nodes, taking down the UI server (#10165)
- Fix an issue where the TypeScript compiler returned duplicate task results for components using custom envs (#10162)
- Fix an issue where WebSocket proxy connections didn't forward authentication headers (#10141)
- Fix an issue where orphaned bit server processes ran indefinitely when the parent process crashed (#10142)
- Fix an issue where EventSource clients (e.g., VS Code extension) stayed in CONNECTING state due to missing initial SSE event (#10159)
- Fix an issue where
bit ci prfailed with "lane exists with different hash" when multiple CI jobs ran concurrently on the same branch (#10183) - Fix UI issues in workspace overview padding and aggregation control styles (#10160, #10169)
- Fix Live Controls dropdown menus being clipped by overflow containers (#10164)
- Fix an issue where schema for historical component versions wasn't loaded correctly on workspace (#10170)
Internal
- Upgrade Node.js to 22.22.0 for security vulnerability fix (#10157)
- Update pnpm (#10143)
- Upgrade
babel-loaderto 9.2.1 (#10196) - Add
@parcel/watcherto default scripts allow list and addmicromatchas direct dependency (#10163, #10182) - Override
@teambit/semantics.entities.semantic-schemapackage in bvm config (#10181)
v1.13.21
New Features
- Add
--ownerflag tobit importfor importing all components from all scopes of an owner, e.g.,bit import teambit --owner(#10133) - Add Claude Code skill for Bit CLI reference (#10138)
- Workspace Overview Aggregation for displaying aggregated workspace information (#10124)
Improvements
- Block postinstall scripts for known untrusted packages (
es5-ext,less,protobufjs,core-js,core-js-pure) by default (#10140) - Trust the most popular packages with postinstall scripts by default, using Bun's default allowlist (#10134)
Performance
- Optimize workspace graph building by lazily importing only dependencies that pass the filter, avoiding fetching large dependency trees for filtered-out components (#10127)
Bug Fixes
- Fix an issue where Watchman cookies were placed in workspace root instead of
.bitdirectory (#10137) - Fix an issue where
transpileComponentoutput wasn't copied to all dist directories (#10136) - Fix an issue where special characters in CLI reference MDX caused rendering issues (#10131)
- Fix an issue where env path resolution didn't fallback to unversioned path for root component dir (#10125)
- Fix an issue where duplicate
/_hmrproxy caused WebSocket HMR to fail (#9804) - Fix an issue where webpack static directory watcher watched the entire workspace when directory didn't exist (#10116)
- Fix an issue where FSEvents stream errors occurred on macOS with multiple Bit watchers by auto-detecting and using Watchman (#10115)
Internal
- Add
FetchVersionHistoryaction for lightweight version-history fetching during export, improving performance for components with long history (#10132) - Add
bit cli generate --skillcommand for auto-generating Claude Code skill reference files (#10139) - Update all MDX usage to v3 (#10122)
- Update core-envs to latest typescript-compiler with cross-env tsconfig fix (#10135)
- Add generate-release-notes Claude skill (#10123)
v1.13.5
New Features
- Shared Watcher Daemon via Unix sockets for improved file watching efficiency (#10102)
- Dark Theme Support with theme switcher in workspace UI (#10090)
- Add dependencies detector for Astro framework (#10038)
- Support scope in component name for
bit createcommand, e.g.,bit create my-scope/my-component(#10088) - Add pattern support to
bit forkcommand for forking multiple components at once (#10094) - Add
--remoteflag tobit patterncommand for remote scope operations (#10100) - Add support for
allowScriptssetting to control dependency scripts execution (#10007) bit doctornow supports remote scope and scope validation checks (#10067)
Breaking Changes
- Disallow scripts of dependencies by default - For security, dependency scripts are now blocked by default. Use
allowScriptsinworkspace.jsoncto opt-in specific packages (#10108)
Improvements
- Workspace UI now broadcasts URL changes via postMessage for better iframe integration (#10051, #10054)
- Improve error message for lane export validation with new
TargetHeadNotFounderror (#10047) - Change default package manager to npm in component overview UI (#10062)
- UI enhancements for minimal mode (#10063)
- Replace
--allflag with--unmodifiedinbit check-typescommand for clarity (#10077) - Improve error and prompt messages for lane deletion (#10076)
- Clarify
--laneflag description inbit deletecommand (#10099) - Improve FSEvents error message with actionable suggestions (#10111)
- Improve install scripts warning message (#10118)
- Move issue bypass instructions from error to
component-issuescommand output (#10041)
Performance
- Calculate dependencies graph only for the first 10 snapped components, improving snap performance (#10060)
- Use Set for faster snap filtering in
getDivergeDataBetweenTwoSnaps(#10085)
Bug Fixes
- Fix an issue where watcher failed to recover from FSEvents buffer overflow (#10052)
- Fix an issue where the lockfile wasn't validated before writing to the filesystem (#10053)
- Fix an issue where
force:truedependencies weren't preserved when merging unchanged config with auto deps (#10049) - Fix an issue where loader wasn't stopped before merge strategy prompt (#10050)
- Fix an issue where aspect data wasn't preserved when applying merged config during
snapFromScope(#10056) - Fix an issue where
force:truedependencies weren't preserved during lane merge (#10057) - Fix an issue where component ID wasn't converted from hash to tag in graph building (#10058)
- Fix an issue where dependencies weren't updated to merged versions with tags in bare scope lane merge (#10059)
- Fix an issue where unexported main head versions weren't exported when using detached heads (#10064)
- Fix an issue where branch names weren't converted to lowercase for lane IDs (#10070)
- Fix an issue where Jest
testEnvironmentwasn't set to node, causing browser API errors (#10069) - Fix an issue where variable declaration extraction and type-ref resolution didn't work correctly in API reference (#10043)
- Fix an issue where
startTimeandendTimeweren't added for test/lint tasks on single components (#10073) - Fix an issue where skipped tasks weren't saved with pending status in pipeline data (#10074)
- Fix an issue where
workspace.jsoncconflict around classnames package wasn't resolved (#10078) - Fix an issue where components removed with
--update-mainweren't handled during merge (#10079) - Fix an issue where test coverage overview badge wasn't SSR safe (#10080)
- Fix an issue where mocha
.onlydidn't work across multiple spec files (#10071) - Fix an issue where workflow didn't stop immediately when
workspace.jsoncconflicts were detected during merge (#10081) - Fix an issue where tuple type wasn't rendered correctly in API reference (#10087)
- Fix an issue where webpack alias wasn't added for API reference hooks (#10092)
- Fix an issue where multiple patterns weren't handled in
bit forkcommand (#10093) - Fix an issue where duplicate export processing occurred during retries (#10089)
- Fix an issue where env config wasn't preserved when snapping multiple times (#10110)
- Fix an issue where
bit resetdidn't default to all components when no pattern provided (#10109) - Fix an issue where server-forever didn't propagate errors to parent process properly (#10113)
- Fix an issue where
bit env unsetshowed inaccurate message when no bitmap config found (#10114) - Fix an issue where error was logged for new components without version (#10121)
- Fix an issue where
ownersparameter wasn't added toremote_searchtool in MCP consumer project template (#10042) - Fix an issue where missing properties from legacy docs caused errors (#10045)
- Fix an issue where lanes menu didn't checkout to latest (#10048)
- Fix an issue where
renderCompositionsFirstanddefaultPkgManagerprops weren't in options slot (#10068) - Fix an issue where
instanceofcheck failed for schema name (#10101) - Fix typo "Atmoic" in README.md (#10072)
Internal
- Update pnpm (#10098, #10103, #10119)
- Update cacache to v20.0.3 (#10105)
- Upgrade all envs to their latest version (#10082)
- Refactor mocha to use external mocha-tester to remove duplication (#10061)
- Refactor e2e tests to use pnpm as default package manager (#10104)
- Eject all API reference components (#10075)
- Add
allowScriptsconfiguration toworkspace.jsonc(#10107)
v1.12.158
New Features
- New
bit validatecommand to run a completetest,lint,compileandtypecheckfor a project to use before snapping to CI (#10022) - New Bit Scripts for simple shell commands or function execution for components (#10028)
- Supports
minimumReleaseAgeandminimumReleaseAgeExcludefrom pnpm, for better software supply chain security (#10002) externalPackageManager:trueconfiguration forworkspace.jsoncto have Bit externalize dependency management topackage.jsonc(#9821)
Improvements
- Bit MCP updates (#10004, #9967, #9965, #9963, #9953, #9951, #9952, #9980, #9979)
- Improve
bit_component_detailstool for consumers, including batch support and improved data bit_remote_searchsupports parallel query support- Update rules template
- Added dedicated
bit_createtool
- Improve
- Slight improvements to look and feel for
bit start(#9994, #9993, #9992, #9991, #9989, #9978, #9908, #10017) bit recovercommand now supports component and glob patterns (#10033)bit installsupports component IDs (#9930)- Supports automatic browser on
bit run(#9942, #9941) - Improve error messages in CLI (#10027, #9983, #10020, #9987, #9937)
Performance
- Don't read and parse the lockfile multiple times for calculating deps graph (#10019)
Bug Fixes
- Fix an issue where test duration had incorrect format (#9940)
- Fix an issue where component count on component liabilities was miscalculated (#10021)
- Fix an issue where package.json aliases didn't register as dependencies (#10011, #9975, #9955)
- Fix an issue where
+for dependencies inenv.jsoncdidn't register correctly (#10037) - Fix an issue where
bit newwasn't resolving a remote env (#9981) - Fix an issue where pattern exclusion not working correctly with negation patterns (#10031)
- Fix an issue where broken junctions created on Windows (#10030)
Internal
- Update dependencies (#10018, #10015, #10006, #10003, #10001, #9971, #9948, #9939, #9938, #9934, #9932, #9931, #9928, #9923, #10008, #9986, #9957, #9990, #9997, #10036, #9973, #9998, #9946, #10005, #9929, #10026, #9949)
- Modernize some legacy code (#10024, #10014)
- Add setting to network config for logging slow network requests (#10016)
v1.12.67
WIP
v1.12.10
New Features
- Preview Live Controls to dynamically change component preview state and see component rendered in various ways (#9776, #9772, #9766)
- Bit MCP Server to better integrate Bit with your AI agent of choice (#9779, #9778, #9777, #9743, #9744, #9742, #9740, #9738, #9737, #9736, #9735, #9733, #9732, #9731, #9730, #9727, #9726, #9725, #9719, #9716, #9712, #9711, #9710, #9707, #9706, #9704, #9699, #9788, #9784, #9799, #9840)
- Run
bit mcp-server setupandbit mcp-server rulesto add config and instructions (consult with--helpon file location and Agent support) --consumer-projectfor bothsetupandrulesto help consumers of components find and reuse components.- Your agent now has powers to help you create, reuse and maintain Bit components.
- Run
- Create a Git branch from a remote lane using
bit lane import ... --branch(#9795) bit cicommand to simplify and speed up CI executions (#9844, #9838, #9836, #9833, #9834, #9835, #9831, #9832, #9812, #9810, #9811, #9825, #9797, #9803)- Initialize Bit in a "guest mode" when adding Bit to an existing project (#9824, #9787)
- Interactive init process with
bit init --interactive - Disable Bit's dependency management feature using
bit init --external-package-manager(or using interactive) - Simplify dev-tools config
- Interactive init process with
Improvements
- Simplify CLI output from
bit link(#9802)
Performance
- Optimize build capsule creation for unmodified exported dependencies (#9820)
Bug Fixes
- Fix several issues when identifying which apps available in a workspaces (#9852, #9786)
- Fix an issue where comments weren't preserved in
workspace.jsoncwhen configuration was updated (#9851)
Internal
v1.11.24
WIP
v1.11.17
WIP
v1.11.3
Improvements
- Support npm alias in env.jsonc (#9728)
- Ability to delete snaps using
bit delete --snap(#9701) - Various UI/UX and CLI outputs updates (#9747, #9717, #9741)
Bug Fixes
- Fix an issue where moving a dependency from
peertodevdidn't update the dependency (#9720) - Fix an issue where
bit starthad an error when some envs didn't have the preview API implemented (#9702) - Fix an issue where workspace policies weren't validated when adding a removed dependency (#9748)
- Fix an issue where component-not-found error was triggered incorrectly (#9705)
Internal
- Update dependencies (#9739, #9697)
- Fix
--no-browserwhen runningbit startin dev-mode (#9708) - Fix lockfile generation when component from the workspace is in the dependency graph as a dependency (#9698)
- Prepare commands for MCP server (#9744, #9742, #9743, #9740, #9737, #9735, #9727, #9730, #9726, #9725, #9719, #9710, #9704, #9706, #9731, #9733, #9699, #9723, #9716, #9707, #9711, #9736, #9732, #9722, #9729, #9712, #9738, #9718, #9721, #9695, #9734)