New
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)
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)