Releases: teambit/bit
Releases · teambit/bit
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)
v1.10.0
Improvements
- Support semantic version ranges for components by adding a new
componentRangePrefixproperty to dependency resolver inworkspace.jsoncto define semver prefix (#9681, #9691) - Allow dependencies to be installed from https/git urls (#9680)
bit import ... --write-depsto write the dependencies of imported components toworkspace.jsoncorpackage.json(#9682)
Bug Fixes
- Fix an issue where
+sign was saved to component'spackage.jsoninstead of actual resolved version (#9685) - Fix an issue where preview content height was nto calculated correctly (#9684)
Internal
v1.9.124
Improvements
- Add test coverage report to test results (in supporting versions of the testers) (#9657)
- Add support for
+policy inenv.jsoncfor version to be resolved from the workspace (#9641) bit install --add-missing-depssupports skipping unavailable packages with the--skip-unavailableflag (#9667) (#9667)
Performance
Bug Fixes
- Fix an issue where Bit mis-fired
componentNotFoundissue (#9671) - Fix an issue where an API type wasn't named correctly in API Reference (#9673)
- Fix an issue where in some cases component size wasn't calculated (#9659)
- Fix an issue where
bit env replacefailed when env wasn't loaded (#9632)