Back to Bit

V1.6.50

releases-docs/releases/v1.6.50.md

14.8.9-server.15.0 KB
Original Source

title: v1.6.50 tag: 1.6.50 draft: false prerelease: false immutable: false author: itaymendel created: 2024-02-05T17:10:25Z published: 2024-02-05T18:16:13Z url: https://github.com/teambit/bit/releases/tag/1.6.50

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)