Releases: teambit/bit
Releases · teambit/bit
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)
Internal
v1.9.100
Improvements
- Improve API Reference and documentation (#9569)
- Improved handling of internal and external type references
- Better handling of inferred array types, generic types, and Promise types
- Fixed type reference resolution for internal components
- Added support for displaying examples in function documentation
- Better code block extraction and formatting in JSDoc comments
- Improved rendering of tuple types
- Added external link icons for external type references
- Added prompt support to
bit createcommand for interactive templates (#9610) bit snapnatively supports publishing to privately hosted package registries (#9606)- Introduce
--jsonoption tobit testandbit check-typescommands to get results in JSON format (#9615, #9614) - Improve various CLI outputs with more descriptive errors and messages (#9612, #9607, #9583, #9617, #9581)
Performance
- Dramatically reduce file system I/O to improve command execution time (#9604, #9590, #9591, #9598, #9596, #9589, #9586, #9568, #9588, #9578, #9577, #9572)
Bug Fixes
- Fix an issue where if a component had
-previewin it's name, it caused component-preview-chunk to have incorrect name (#9622) - Fix an issue where
bit installdidn't do proper validation on package name format (#9582) - Fix an issue where when
env.jsoncwas modified, dependency cache wasn't cleaned (#9564) - Fix an issue where SSR wasn't working on
bit startin workspace nor on a Scope (#9585) - Fix an issue where
bit installfailed duringpnpm prune(#9573) - Fix an issue where a default
viewportproperty was set on all compositions (#9571) - Fix an issue where not all component IDs were available in the workspace dependency graph (#9565)
Internal
- Update dependencies (#9594, #9593, #9592, #9527, #9528)
- Refactoring (#9619, #9579, #9584, #9587)
- Introduce "--limit" flag to limit the number of versions shown in the graph (#9603)
getSchemasAPI to always returnSchema[](#9605)- Replace incorrect uses of the term "localScope" with "workspace" (#9621)
- New API for debugging filesystem reads during commands (#9599)
- Add
config-conflictdata to theapi/lanes/check-conflictsroute (#9602)
v1.9.75
Improvements
- Allow setting up per-workspace with
--localoptionbit config set user.token xxx --local, or--local-trackto have config inworkspace.jsonc(#9557, #9555) - Support VScode extension to produce a visual workspace graph for components (#9547, #9545)
- Allow for better control over component's
package.jsonwhen runningbit compile(#9530) - Enable auto-formatting components before snap/tag with
workspace.jsoncconfig (#9497)"teambit.defender/formatter": { "formatOnPreSnap": true } - Simplify getting
difffrom a version it's parent with--parent. Instead ofbit diff foo 0.0.1 0.0.2you canbit diff foo 0.0.2 --parent(#9498) - Improve various CLI/UI outputs and errors for better DX (#9507, #9502, #9506)
- Support syntax highlighting for
.cjsand/mjs(#9492)
Bug Fixes
- Fix an issue where
bit logindidn't validate the token when it announced user is "logged in" (#9562) - Fix an issue where sometimes in workspace UI you can't compare past version with current changes (#9549)
- Fix an issue where component data got mutated fix, avoid mutating scope aspects when loading a component from the workspace (#9551)
- Fix an issue where
bit installpicked up unrelatedpackage.jsonand installed dependencies from them (#9554) - Fix an issue where active component wasn't picked up correctly when URL had several query params (#9550)
- Fix an issue where getting out-of-memory during
bit snapdue to high number of concurrentadd-dependencies-graph(#9475) - Fix an issue where
artifactsdirectory got into the generated component package (#9532) - Fix an issue where
bit startHMR failed (#9534) - Fix an issue where running
bit checkout reset --allto write removed components failed on a lane (#9533) - Fix an issue where
bit watchdidn't re-compile modified components (#9523) - Fix an issue where API-reference didn't pick up on exported types (#9512)
- Fix an issue where config-writer throws an error about
failed generating config filesafter deletingnode_modules(#9508) - Fix an issue where
bit server-foreverfailed on Windows (#9499) - Fix and issue where plugin resolution path was incorrect and led to "file not found" errors (#9561)
Internal
- Update dependencies (#9483, #9539, #9522, #9525, #9521, #9526, #9485, #9486, #9490, #9520, #9535)
- Remove dependencies (#9484, #9536, #9538, #9519, #9501, #9518)
- Move to node 22.14.0 (#9548)
- Update component's envs for better suited compilation (#9503, #9529)
- Remove some internal circular components (#9537)
- Support no-op env, and env with no dev-services (#9504)
- Move
NpmCiRegistryclass from the repo to e2e-helper component (#9558) - Refactoring (#9517, #9495, #9496, #9487)