Skip to content

Releases: teambit/bit

v1.6.73

03 Mar 12:55
Compare
Choose a tag to compare

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

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

v1.6.62

19 Feb 10:00
Compare
Choose a tag to compare

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

06 Feb 19:48
Compare
Choose a tag to compare

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)

v1.6.50

05 Feb 18:16
386ac61
Compare
Choose a tag to compare

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

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

v1.5.29

17 Dec 13:26
Compare
Choose a tag to compare

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

13 Dec 13:46
Compare
Choose a tag to compare

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)

v1.5.13

07 Dec 09:09
Compare
Choose a tag to compare

Bug Fixes

  • Fix loading ESM aspects on Windows

Changes

  • Introduce new Node templates from bitdev.node/node-env (#8234)
  • Introduce new Node templates from bitdev.react/react-env (#8233 #8235)
  • Update output suggestions in various commands (#8232 #8230)

Internal

  • Disable the ability to cancel object sync operations (#8239)
  • Keep aborted commands in command-history log (#8241)
  • Introduce a new API for workspaceHistory to get .bitmap diffs over time (#8237 #8236)

v1.5.9

04 Dec 20:32
Compare
Choose a tag to compare

New Features

  • Ability for bit build to --include-snap or --include-tag to also run tasks from release pipelines (#8224)
  • Support patterns for all commands, to better run control which components to operate on (#8188)
    • State filters $modified, $new, $deprecated, $deleted, $snappedOnMain, $softTagged and $codeModified
    • States with parameters ($env:teambit.react/react)
    • Filtering by a state and a pattern with the AND keyword ($modified AND **/ui/**)

Changes

Bug Fixes

  • Fix incorrect "compiling 0 components" message on bit watch (#8219)
  • Fix merge conflict advice for bit checkout (#8203)
  • Fix sidebar to handle missing status in cloud (#8196)
  • Fix an issue where lane merge tried writing multiple times to .bitmap (#8185)
  • Fix an issue where resolution prioritized workspace over .bitmap (#8206)

Internal

  • New fetch-retry mechanism for HTTP requests (#8228)
  • Add options to disable cors for graphql server (#8193)
  • ESM support for core aspects (#8194 #8195 #8208)
  • Bundle Bit CLI with pnpm (#8090 #8191)
  • Remove dead code (#8212 #8210 #8205 #8204 #8197)
  • Enable --compile flag for Bit Server command (#8218)
  • Ignore errors when copying lock file from capsule cache to local capsule (#8202)
  • Simplify get-diverge-data (#8213)
  • Add data whether a file is a dev-file in the missing-packages issue (#8223)

v1.4.0

26 Nov 13:52
Compare
Choose a tag to compare

New features

  • Ability to link to specific line in file and composition files (#8175 #8157)
  • Templates that implement an app or an env can trigger install when used by bit create (#8160)
  • Ability to filter components on bit scope fork (#8187)

Changes

  • Support ESM for Bit Apps (#8189)
    • Watch and compile component changes in the workspace by adding --watch
    • Persist URL and timestamp post app deployment
    • Better error handling for loading plugins.
  • Version history graph show tags, lane heads and more (#8178)
  • Specify depth to search deps for bit why (#8163)

Performance

  • Avoid traversing unrelated snaps (#8174)
  • Introduce fetch queues to avoid slow fetch queries blocking the scope (#8167)
  • Avoid running compile/install if no component ended up written to the file system (#8186)

Bug fixes

  • Various UI fixes (#8190)
  • Fix an issue where during rename scope-name wasn't set correctly in targetId (#8183)
  • Do not trigger missing-files error in bit status when the file exists in the same component with a different extension (#8182)
  • Better handle of restoring configs and data when aborting a lane merge (#8179)
  • When running diff between lanes, ensure common snaps are imported (#8166)
  • Do not install envs configured in generator if they are in the workspace (#8159)

Internal

v1.3.24

15 Nov 19:23
Compare
Choose a tag to compare

New Features

  • New bit why command to shows all components that depend on the specified package or component (#7959)

Changes

  • Auto install envs that are configure in workspace.jsonc list of generators, so you don't need to add it as a dependency (#8151)
  • Update templates available on bit templates (#8152)

Bug fixes

  • Ensure compile adds component links to node_modules and updates package.json correctly (#8153)
  • Fix HMR when editing component *docs.mdx files (#8144)
  • Fix an issue where creation of config files caused confusion for IDE language services (#8155)
  • Various CLI output fixes to improve DX (#8149, #8154, #8139)
  • Various UI fixes (#8145, #8141, #8095)

Internal

  • Eject components from the repository (#8150, #8143)
  • Update dependencies (#8137, #8140)
  • Make the compilation during watch configurable (#8148)
  • Config class to return extensions from ConsumerComponent instance (#8147)
  • Disable limit when fetching component data (#8142)