Skip to content

Releases: teambit/bit

v1.13.177

12 May 10:23

Choose a tag to compare

New Features

  • New bit ripple CLI for Ripple CI management, including auto-resolve of the last export job for log/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, and merge now share the same look (#10255, #10258, #10263, #10269, #10271, #10283)
  • New bit details command for post-hoc verbose output of the previous command, also supported for merge, switch, and checkout (#10276, #10288)
  • New bit search command to find components in remote scopes and the workspace (#10302)
  • New bit deps circular command to inspect circular dependencies with ASCII loop diagrams (#10256, #10250)
  • New bit lane current subcommand to print the active lane (#10253)
  • Semantic API diff with impact assessment for component changes (#10262)
  • AI-agent-friendly output — new flags on bit diff and a per-component rollup for bit test for cleaner agent-readable results (#10307, #10313)
  • bit init now generates an AGENTS.md on 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 getLaneDiffForIDE API 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 ignoredFiles config in workspace.jsonc (#10280)
  • Improve bit why output (#10193)
  • Dedupe peer dependencies during install (#10249)
  • bit update now updates dependencies in env.jsonc (#10128)
  • Preview --use-source mode — render workspace previews from source code instead of pre-built output, with an opt-in supportsUseSource env preview config (#10314, #10316, #10321)
  • New bit cat command to view component file contents (#10286)

Improvements

  • Add --use-root-modules flag to bit start (#10199)
  • bit validate: make --continue-on-error the default behavior and add --skip-tasks flag (#10243, #10232)
  • Add --dry-run flag to bit ci pr (#10248)
  • Add --include-new-from-scope flag to bit checkout head (#10265)
  • bit list now includes a path column in workspace context (#10247)
  • Add --quick flag to bit status for faster file-only status checks (#10260)
  • bit status output redesigned with a collapsible auto-tag section (#10263)
  • Add batchId to 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-rename now 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 api alias for the schema command 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 bitmapAutoSync mode 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 calcDependenciesGraph lockfile processing (#10230)
  • Viewport-gate overview previews to avoid rendering off-screen compositions (#10241)
  • Avoid OOM on very large --owner imports (#10311)
  • Avoid OOM in bit check-types by batching tsserver open/close (#10351)

Bug Fixes

  • Fix an issue where add and create commands 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.jsonc peer dep versions weren't resolved from the workspace for workspace components (#10214)
  • Fix an issue where bit install filtered 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 new with a forked env left packages missing (#10201)
  • Fix an issue where bit lane diff compared against the current main head instead of the fork-point (#10244)
  • Fix an issue where lane-history-diff failed 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 pr failed 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 merge lost lane config changes during merge to main (#10219)
  • Fix an issue where bit ci merge failed for components new to the lane (#10216)
  • Fix bit api diff backwards compatibility with older env versions (#10303)
  • Fix an issue where merge and import output 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 tsserver crash; surface it instead (#10238)
  • Fix an issue where the Apollo cache normalized the Aspect GraphQL type and caused env contamination (#10285)
  • Fix an issue where bit run failed silently when multiple apps were found; list them instead (#10301)
  • Fix an issue where the watcher hung on SIGINT (#10323)
  • Fix an issue where createLinkOrSymlink threw on EEXIST (#10207)
  • Fix an issue where the scope file watcher tripped the Watchman ignore_vcs bug (#10223)
  • Fix an issue where the builder threw on missing artifact files; skip them instead (#10208)
  • Fix an issue where bit artifacts reported 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 Source object was missing from the local scope (#10294)
  • Fix an issue where bit deprecation warned about deprecated dependencies of deprecated components (#10274)
  • Fix an issue where snap-distance gave an unactionable error when localHead was 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 history output was not sorted by date (#10346)
  • Fix an issue where bit init confirm prompts displayed false instead of using a toggle (#10231)
  • Fix an issue where the workspace.jsonc env type warning pointed to a stale aspect ID (#10220)
  • Fix workspace.jsonc conflict resolution (#10222)
  • Fix an issue where bit start's useRootModules flag 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-source previews didn't initialize linkModules for 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 remove output to say "local workspace" instead of "local scope" (#10319)
  • Wrap <lane> in backticks in bit lane import extended 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 SyntaxError in MCP server tests (#10264)
  • Update use-lanes-menu component to latest version (#10233)
  • Improve config-merger log message readability (#10235)
  • Security: reject embedded .. segments in isValidPath to prevent path traversal (#10354)
  • Security: write the global config with 0600 permissions (#10360)

Internal

  • Replace ESLint with Oxlint for repo linting (#10324)
  • Re-revert rspack migration (#10198)
  • Update node-babel-mocha and node-typescript-mocha envs to latest (#10210)
  • Update teambit design and preview dependencies (#10339)
  • Eject use-lanes-menu component (#10237)
  • Remove historical number suffixes from e2e test filenames (#10305)
  • Add e2e tests for env peer deps after bit create and for bit reset after lane merge to main (#10218, #10266)
  • Update CLAUDE.md to instruct using npm run lint instead of tsc/oxlint directly (#10...
Read more

v1.13.58

15 Feb 09:39

Choose a tag to compare

New Features

  • New bit deps diagnose command to analyze workspace dependency bloat by scanning node_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, and bit new harmony to work without requiring --aspect or --env flags (#10156)
  • Lane History commands are now stable — removed EXPERIMENTAL marks from all lane history subcommands. bit lane history-diff now works with 0, 1, or 2 arguments for easier usage (#10192)

Improvements

  • Add --skip-push flag to bit ci merge command 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-types has no components to check, similar to other commands (#10151)
  • Show actual env name in bit templates output instead of internal aspect IDs (#10152)
  • Clarify --write-deps option in bit import help output (#10158)
  • Improve CLI skill command discoverability (#10190)

Performance

  • Batch getDiagnostic calls in bit check-types to 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-manager added "type": "module" to an existing package.json (#10148)
  • Fix an issue where bit init with externalPackageManager: true didn't include bit ws-config write in the postinstall script (#10147)
  • Fix an issue where env dependencies were incorrectly installed as dependencies of user components (#10150)
  • Fix an issue where bit install failed with "isn't supported by any available resolver" when env.jsonc contained + version placeholders (#10154)
  • Fix an issue where the isolator overwrote the merged package.json when populateArtifactsFrom was set during tag after snap (#10166)
  • Fix an issue where react-dom peer dependency version could get out of sync with react from 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-scope didn't exclude .bit/objects when 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 pr failed 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-loader to 9.2.1 (#10196)
  • Add @parcel/watcher to default scripts allow list and add micromatch as direct dependency (#10163, #10182)
  • Override @teambit/semantics.entities.semantic-schema package in bvm config (#10181)

v1.13.21

31 Dec 14:18

Choose a tag to compare

New Features

  • Add --owner flag to bit import for 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 .bit directory (#10137)
  • Fix an issue where transpileComponent output 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 /_hmr proxy 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 FetchVersionHistory action for lightweight version-history fetching during export, improving performance for components with long history (#10132)
  • Add bit cli generate --skill command 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

10 Dec 12:10

Choose a tag to compare

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 create command, e.g., bit create my-scope/my-component (#10088)
  • Add pattern support to bit fork command for forking multiple components at once (#10094)
  • Add --remote flag to bit pattern command for remote scope operations (#10100)
  • Add support for allowScripts setting to control dependency scripts execution (#10007)
  • bit doctor now 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 allowScripts in workspace.jsonc to 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 TargetHeadNotFound error (#10047)
  • Change default package manager to npm in component overview UI (#10062)
  • UI enhancements for minimal mode (#10063)
  • Replace --all flag with --unmodified in bit check-types command for clarity (#10077)
  • Improve error and prompt messages for lane deletion (#10076)
  • Clarify --lane flag description in bit delete command (#10099)
  • Improve FSEvents error message with actionable suggestions (#10111)
  • Improve install scripts warning message (#10118)
  • Move issue bypass instructions from error to component-issues command 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:true dependencies 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:true dependencies 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 testEnvironment wasn'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 startTime and endTime weren'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.jsonc conflict around classnames package wasn't resolved (#10078)
  • Fix an issue where components removed with --update-main weren't handled during merge (#10079)
  • Fix an issue where test coverage overview badge wasn't SSR safe (#10080)
  • Fix an issue where mocha .only didn't work across multiple spec files (#10071)
  • Fix an issue where workflow didn't stop immediately when workspace.jsonc conflicts 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 fork command (#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 reset didn'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 unset showed 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 owners parameter wasn't added to remote_search tool 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 renderCompositionsFirst and defaultPkgManager props weren't in options slot (#10068)
  • Fix an issue where instanceof check 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 allowScripts configuration to workspace.jsonc (#10107)

v1.12.158

15 Oct 12:05

Choose a tag to compare

New Features

  • New bit validate command to run a complete test, lint, compile and typecheck for a project to use before snapping to CI (#10022)
  • New Bit Scripts for simple shell commands or function execution for components (#10028)
  • Supports minimumReleaseAge and minimumReleaseAgeExclude from pnpm, for better software supply chain security (#10002)
  • externalPackageManager:true configuration for workspace.jsonc to have Bit externalize dependency management to package.jsonc (#9821)

Improvements

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 in env.jsonc didn't register correctly (#10037)
  • Fix an issue where bit new wasn'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

v1.12.67

14 Aug 15:32

Choose a tag to compare

WIP

v1.12.10

24 Jul 11:08

Choose a tag to compare

New Features

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.jsonc when configuration was updated (#9851)

Internal

v1.11.24

26 Jun 14:17
c0d6a5a

Choose a tag to compare

WIP

v1.11.17

17 Jun 09:31

Choose a tag to compare

WIP

v1.11.3

10 Jun 11:37

Choose a tag to compare

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 peer to dev didn't update the dependency (#9720)
  • Fix an issue where bit start had 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