Bit Versions Save

A build system for development of composable software.

v1.6.126

4 days ago

New Features

  • Set BIT_DISABLE_CONSOLE=true BIT_DISABLE_SPINNER=true to get more focused CI logs (#8765)
  • bit login --refresh-token to generate a new token, instead of bit logout && bit login, also added prompt when running bit login when token is already set (#8760, #8758)

Changes

  • Improve CLI and terminal outputs (#8764, #8740, #8739, #8718, #8720, #8751)
  • Enforce cases where component should import it's own files, not it's module (for example, for component @teambit/design.button use import { Button } from "./button" instead of import { Button } from "@teambit/design.button") (#8757)
  • Component dependencies in workspace.jsonc entries to update during bit import (#8761)

Performance

  • 50% faster compile step during bit build when using @teambit/typescript.typescript-compiler@^2.0.27 (#8755, #8773, #8774)
  • bit compile and bit link are about 60% faster, each (#8734)
  • Tarball from bit doctor --archive is much smaller (#8767)
  • Improve "component loading" slightly (#8752)
  • Cache modules manifest (#8736)

Bug Fixes

  • Fixed an issue where Webpack on windows failed during preview because not finding all assets for bundle size calculation (#8785)
  • Fixed a bug where existing the compile step during bit build (Ctrl+C) didn't work (#8775)
  • Ensure network settings passed correctly to pnpm (#8772)
  • Fix an issue where bit login happens before loading of any aspects or components, so user doesn't hit 404 error (#8750)
  • Fix an issue where using package name for commands where component was private failed (#8748)
  • Various fixes for ensuring dependency management is more deterministic (#8754, #8768, #8741, #8746, #8737 )
  • Fixed an issue where bit status warned about circular dependencies even after issue resolved (#8735)

Internal

  • Update compilation for core Bit aspects (#8769, #8776, #8745, #8730, #8697, #8756)
  • Update many e2e tests (#8749, #8732)
  • Remove some legacy code (#8742, #8747)
  • Eject core code to external components (#8762)
  • Fix setup scripts on Windows (#8727)
  • Improve how Bit finds the instance of "component-issue" (#8777)
  • Report config.user_name during package installation (#8759)
  • Refactor some code paths (#8600, #8731)

v1.6.106

2 weeks ago

New Features

  • Introduce bit version-history command to get complete component history in Directed Acyclic Graph (#8712, #8714, #8717)

Changes

  • bit create supports --force param for forcefully generate a component when directory already there (#8708)
  • bit scope rename command renames full directory path unless --preserve flag used (#8704)
  • Improve error messages and terminal outputs (#8705, #8698, #8726, #8706, #8699, #8701, #8703)
  • bit npmrc generate to fetch username from cloud instead of global config, if possible (#8725)
  • Allow skipping updating or generating npmrc on bit login (#8724)
  • Testers now support testing with source files, as an alternative to compiled (#8723)

Performance

  • Improve bit compile performance by calculating distDirs once per component (#8728)

Bug Fixes

  • Fixed an issue where bit lint would run on un-modified components (#8709)
  • Ensure @teambit/legacy will not be installed as a dependency (#8694)
  • Fixed an issue where bit env set would try and set a component as env (#8696)
  • Fixed an issue where scope fork was disabled when file system paths in workspace were conflicting (#8700)

Internal

  • Update dependencies (#8722, #8721)
  • Refactor handling of linter and prettier aspects (#8719, #8711, #8707)
  • Fix tests for optional dependencies (#8713)
  • New onCommandStartSlot (#8695)

v1.6.95

4 weeks ago

Changes

  • Update dependency versions in workspace.jsonc according to semver ranges during bit import (#8686)

Bug Fixes

  • Fix a case where a component was not marked set an optional peer dependency (#8688)
  • Improve outputs and terminal messages (#8673, #8678, #8684)
  • Fix an issue where some build tasks silently didn't run (#8679)

Internal

  • Temporarily rollback auto installation of peer dependencies, to overcome mixup of Typescript versions (#8693)
  • Move some functions to new components (#8689)
  • Remove unwanted deps (#8687)
  • Add missing dependencies to package.json (#8680, #8682)
  • Add a new API to getCurrentSnap() for the Component object (#8677)

v1.6.90

1 month ago

Changes

  • bit doctor supports --include-node-modules and --exclude-local-scope (#8670)
  • bit start has a new set of outputs, removing the ink library (#8641, #8630)

Performance

  • Improve managing of component version history (#8612)

Bug Fixes

  • Fix and improve many CLI outputs and messages (#8618, #8674, #8672, #8633, #8631, #8636, #8642, #8622)
  • Fix an issue where import dependents didn't get all dependency paths (#8669)
  • Fix an issue where changing peerDependencies rules caused a change to lockfile (#8668)
  • Fix the width of component size tooltip (#8659)
  • Fix an issue where dependency on a semver pre-release was not saved with exact version (#8662)
  • Fix an issue where during tag or snap didn't import VersionHistory if ParentNotFound error occurred (#8664, #8663)
  • Fix an issue where merging lanes caused explicitly added dependencies were removed from the merged outcome (#8665)
  • Do not allow running bit init --refer-scope within a sub-directory of a workspace (#8634)

Internal

  • Auto install peerDependencies in capsules (#8621, #8658)
  • Upgrade typescript from 4.7.4 to 5.3.3 (#8643)
  • Update nodejs to v20.11.1 (#8616)
  • Update dependencies (#8652, #8657, #8666, #8650)
  • Migrate legacy code to Bit components
  • Refactor and move legacy code to components (#8649, #8648, #8647, #8637, #8639, #8638, #8632, #8635, #8626, #8646, #8625, #8661, #8617)
  • Add support for mts/cts/mtsx/ctsx files for TS compiler (#8619)
  • Better cache handling for various watchers like bit server (#8620)

v1.6.73

1 month ago

New Features

  • Navigate from components to their dependencies from the code viewer (#8556)
  • Mark a component to be a peerDependency when installed to a workspace with bit set-peer <comp> [range] (#8591, #8561)
  • Introduce "--skip-tasks" flag to filter out specific tasks from a build pipeline (#8611)

Changes

  • Update base component templates (#8574, #8573, #8588, #8614)
  • Generate package.json with type:module on bit init (#8572)
  • Improve various CLI outputs and errors (#8605, #8603, #8602, #8592, #8585, #8532, #8578, #8593, #8595)

Performance

  • Avoid calculating whether a component ID belong to a lane if all objects exist (#8607)

Bug Fixes

  • Fix various bugs in @exports for automated API schema; remove duplicate values and allow more types of nodes to export (#8552, #8553)
  • Remove redundant dependencies from basic starter workspace policy (#8555)
  • Fix output when importing artifacts from a lane (#8545)
  • Fix and issue where after creating a component an error message for tsconfig not found appeared (#8562)
  • Fix an issue where comparing for modifications was against the head of the lane, not what is current in workspace (#8554)
  • Fix an issue where components marked as peerDependencies are missing many "component dependencies" features, like being presented on the dependency graph, and not triggering auto-tag (#6375)
  • During update-dependents ensure dependency versions are set according to the lane (#8566)
  • Fix an issue where peerDependencies changes weren't listed on bit diff (#8586)
  • Fix an issue where EOF char showed as change in bit diff (#8610)
  • Fix an issue where prints to terminal on windows lost pretty colors (#8601)
  • Enable running bit move after manually moving a component on the file system (#8599)
  • Sort list of dependencies by name (#8594)
  • Fix an issue where snap-hash wasn't converted to semver before checking for workspace.jsonc conflicts (#8590)
  • Convert mainFile to linux format before saving into component objects (#8608)

Internal

  • Ability for envs to manipulate generated API schema (#8559)
  • Improve ESM support (#8548)
  • Various cleanup and code refactors (#8547, #8613, #8606, #8568, #8579, #8569, #8598, #8596, #8604)

v1.6.62

1 month ago

New Features

  • Generate ~/.npmrc file for logged in user (#8525, #8523, #8514, #8521)
    • New command bit npmrc generate to populate the .npmrc file according to remotes (with ability to --dry-run)
    • Generate .npmrc during bit login
  • Add decorator support for automated API reference (#8517)
  • Ability to deprecate past versions (including ranges) of components (#8522)
  • bit import --dependents to import a selected "path" of dependents from a source component to all its dependents in your workspace (#8505)

Changes

  • Configuration to disable generating component's API schema (#8506)
  • Bit update should default to update dependencies to latest, unless --semver option used (#8453)
  • bit rename to mark old name as deleted instead of deprecated (#8518)

Performance

  • Use cache to calculate dependency graph in a Scope (#8529)

Bug Fixes

  • bit lane merge to handle a case when a component was locally deleted (#8524)
  • Fix a bug where app artifacts weren't saved correctly on Windows (#8504)
  • Improve CLI error messages (#8519, #8530)
  • Fix an issue when navigating between composition of a specific version and it's code-behind (#8510)
  • Fix component rename on fork by forward AST options flag when refactoring variables and classes (#8509)
  • Fix an issue where bit deps get --tree didn't work when cyclic deps found (#8528)
  • Fix an issue where bit deps get didn't include deleted components (#8526)

Internal

  • Remove dead code (#8513)
  • Make ignore-issues param for tag or snap mandatory, if any particular issue found (#8512)
  • Improve aspect-loading when testing the Bit core codebase (#8516, #8515)
  • Prepare for automated peerDependency installation in capsules (#8527, #8450, #8537)

v1.6.52

2 months ago

Bug Fixes

  • Fix issue where bit start failed to handle null for the new Developer Dropdown (#8499)
  • Fix an issue where variables and class names weren't renamed correctly on bit new (#8501)

1.6.50

2 months ago

New Features

  • Introduce new Lane History to log changes of multiple components (#8381, #8370, #8383)
    • bit lane history command to inspect and control history of changes
    • bit lane checkout to "jump" back in time to a state of a lane
    • bit lane revert to revert implementation of all components in the last to a previous state (they will be modified)
  • Introduce ability to mark dependencies as optional (#8169, #8290)
  • Introduce new Developer Dropdown for bit start; allow log-in through the UI, include more links to docs, resources and more (#8376, #8158, #8457)

Changes

  • Support managing multiple lanes with the same name (and different scopes) in the same workspace (#8419, #8389)
  • Merging from main includes components that are not in the lane, but in the workspace (#8279)
  • Shorthand version for bit install --add-missing-deps with bit install -a (#8379)
  • Additional merge strategies for components and lanes (#8397, #8418, #8414, #8393, #8425)
  • Improve basic generators section in workspace.jsonc to simplify comment-in/out of basic generators (#8284)
  • scope rename command to support renaming exported components (#8456)
  • Add a warning during bit status where a component refers to its own package name (#8442)
  • Commands now support specifying package names instead of component-ids (#8427)
  • New option for rename command - --delete to mark the old name to be deleted (#8446)
  • Support component patterns for format, lint and diff commands (#8447, #8445, #8359)
  • Support --skipDependencyInstallation for bit eject (#8390)

Performance

  • Optimize "component loading" process (#8346, #8031, #8311, #8328)
  • Improve bit start load times by pre-bundling the app (#8343, #8336, #8395, #8325)
  • Improve calculation of dependency graphs (#8301, #8329, #8371, #8335)
  • Lazy loading for monaco editor (#8458)

Bug Fixes

  • Fix CLI outputs to improve DX and readability of messages (#8416, #8413, #8340, #8294, #7936, #8032, #8288, #8334, #8333, #8280, #8437)
  • Fix a bug where modified dependencies weren't showed in the UI (#8384)
  • Fix an issue where navigating between previews of the same component failed (#8367)
  • When forking components, their dependencies should have a semver pre-fix in workspae.jsonc (#8430)
  • Various fixes for Lane and merge conflict management (#8337, #8317, #8316, #8292, #8368, #8380)
  • Better handle network glitches by better configuring retries (#8305)
  • Fix an issue where Bit tried to delete files from non-existing components (#8421)
  • Fix routing issues for components with the same name and different scopes in the same bit start app (#8404)
  • Fix an issue where artifacts weren't available as part of the context for application deployment (#8400)
  • Ensure workspace-aspect-config values remain when running bit init --default-scope MY-SCOPE (#8299)
  • Fix an issue where component IDs left in workspace.jsonc after bit remove of that component (#8356)
  • Fixed a bug where link to highlighted line in a non-main version wasn't routing correctly (#8282)
  • Fix an issue where bit deps set is not the top priority for dependency version management (#8287)
  • Do not throw an error when there are no components to diff (#8332)
  • Fix an issue whereLanes Overview and didn't have live rendering (#8354)
  • install should prefer root policy versions for root node_modules installation (#8449)
  • Fix an issue where jest-tester did not return the test results on Windows (#8441)
  • Fix an issue where bit start threw a "duplicate render keys" error (#8460)
  • Fix reset to remove component from lane if the reset was to main and not exist on remote-lane (#8454)

Internal

  • Improve creation of new components in Workspace Staters (#8309, #8310, #8308)
  • Move implementations from legacy-bit to correct Aspects (#8402, #8396, #8366, #8365, #8363, #8377, #8321, #8461, #8462)
  • Remove dead code (#8403, #8399, #8386, #8388, #8382, #8355, #8352, #8351, #8350, #8278, #8296, #8298, #8349, #8348, #8303, #8291, #8289, #8293, #8391, #8464)
  • Create a dedicated Env for core-Aspects (#8322, #8320, #8306, #8302, #8319, #8372, #8373, #8172, #8406)
  • Introduce a new plumbing command bit snap-distance (#8315)
  • Prepare for theming for bit start (#8417)
  • Update dependencies (#8392, #8424, #8398, #8438)
  • Improve support for ESM (#8326, #8318, #8286, #8496)
  • Print proper error with HTTP options in the log instead of [object Object] (#8312)
  • Backup mechanism for workspace.jsonc (#8304)
  • Enable self references in capsules (#8375)
  • Simplify debugging bit import --dependents with --dependents-dry-run (#8422)
  • Improve cache management (#8415, #8323)
  • New API slot for OnWorkspaceConfigChange (#8360)
  • Unmerged data APIs to work with ID, not only name (#8331)
  • New stop() optional API for Apps (#8429)

v1.5.29

4 months ago

Bug Fixes

  • Fix deployContext types issue (#8266)
  • Update terminal output when suggesting to run install and compile to be only install (#8264)
  • Handle forking local components without specifying targetId (#8275)
  • Sync default component dir creation with import (#8273)

Internal

  • Ensure components from the same env are symlinked between their capsules on build pipeline (#8269)
  • Update node-env for base templates
  • Additional API to calculate artifacts rootDir (#8267)
  • Fix usage of installMissingDependencies from a template
  • Avoid fetching all history when squashing history for bit merge (#8272)
  • Align order workspace history (#8271)
  • Do not fetch missing version history when not specifically mentioned (#8270)

v1.5.22

4 months ago

New Features

  • Link to specific lines in component code view (#8246)

Changes

  • Improve CLI outputs in various commands (#8258 #8256)
  • Update default .gitignore in all basic workspace starters (#8245)
  • Support state-patterns in tag command (#8252)

Performance

  • Listing components from a Scope is now faster (#8225)

Bug Fixes

  • Fix an issue where checkout reset wasn't bringing back locally deleted components (#8253 #8255)
  • Ensure components that have pending builds gets imported (#8257)
  • Ensure template comes from --env flag of bit create, if explicitly provided (#8249)

Internal

  • Update dependencies (#8240)
  • Refactoring and removing irrelevant code paths (#8243 #8217)
  • Log commands/api-calls coming from the IDE to command-history-ide file (#8242)
  • Ensure core aspects are linked once to the root capsules directory (#8259)
  • Enable passing title as base64 (#8250)
  • Write local refs of remote lanes during import even when no component was imported (#8251)
  • Restore LoadDeps hook after loading bit from the global scope (#8248)