Skip to content

Releases: teambit/bit

v1.12.158

15 Oct 12:05

Choose a tag to compare

New Features

  • New bit validate command to run a complete test, lint, compile and typecheck for a project to use before snapping to CI (#10022)
  • New Bit Scripts for simple shell commands or function execution for components (#10028)
  • Supports minimumReleaseAge and minimumReleaseAgeExclude from pnpm, for better software supply chain security (#10002)
  • externalPackageManager:true configuration for workspace.jsonc to have Bit externalize dependency management to package.jsonc (#9821)

Improvements

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 in env.jsonc didn't register correctly (#10037)
  • Fix an issue where bit new wasn'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

v1.12.67

14 Aug 15:32

Choose a tag to compare

WIP

v1.12.10

24 Jul 11:08

Choose a tag to compare

New Features

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.jsonc when configuration was updated (#9851)

Internal

v1.11.24

26 Jun 14:17
c0d6a5a

Choose a tag to compare

WIP

v1.11.17

17 Jun 09:31

Choose a tag to compare

WIP

v1.11.3

10 Jun 11:37

Choose a tag to compare

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 peer to dev didn't update the dependency (#9720)
  • Fix an issue where bit start had 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

v1.10.0

29 Apr 13:11

Choose a tag to compare

Improvements

  • Support semantic version ranges for components by adding a new componentRangePrefix property to dependency resolver in workspace.jsonc to define semver prefix (#9681, #9691)
  • Allow dependencies to be installed from https/git urls (#9680)
  • bit import ... --write-deps to write the dependencies of imported components to workspace.jsonc or package.json (#9682)

Bug Fixes

  • Fix an issue where + sign was saved to component's package.json instead of actual resolved version (#9685)
  • Fix an issue where preview content height was nto calculated correctly (#9684)

Internal

  • Improve file watcher (#9686, #9683, #9678)
  • Improve error logging for plugin loading issues (#9687)
  • Change format of logging schema commands (#9675)
  • Support saving flattened-dependencies as string[] instead of Object[] (#9679)
  • Propagate runtime preview errors (#9676)
  • Update dependencies (#9677)

v1.9.124

15 Apr 18:54

Choose a tag to compare

Improvements

  • Add test coverage report to test results (in supporting versions of the testers) (#9657)
  • Add support for + policy in env.jsonc for version to be resolved from the workspace (#9641)
  • bit install --add-missing-deps supports skipping unavailable packages with the --skip-unavailable flag (#9667) (#9667)

Performance

Bug Fixes

  • Fix an issue where Bit mis-fired componentNotFound issue (#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 replace failed when env wasn't loaded (#9632)

Internal

v1.9.100

17 Mar 13:13

Choose a tag to compare

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 create command for interactive templates (#9610)
  • bit snap natively supports publishing to privately hosted package registries (#9606)
  • Introduce --json option to bit test and bit check-types commands to get results in JSON format (#9615, #9614)
  • Improve various CLI outputs with more descriptive errors and messages (#9612, #9607, #9583, #9617, #9581)

Performance

Bug Fixes

  • Fix an issue where if a component had -preview in it's name, it caused component-preview-chunk to have incorrect name (#9622)
  • Fix an issue where bit install didn't do proper validation on package name format (#9582)
  • Fix an issue where when env.jsonc was modified, dependency cache wasn't cleaned (#9564)
  • Fix an issue where SSR wasn't working on bit start in workspace nor on a Scope (#9585)
  • Fix an issue where bit install failed during pnpm prune (#9573)
  • Fix an issue where a default viewport property 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)
  • getSchemas API to always return Schema[] (#9605)
  • Replace incorrect uses of the term "localScope" with "workspace" (#9621)
  • New API for debugging filesystem reads during commands (#9599)
  • Add config-conflict data to the api/lanes/check-conflicts route (#9602)

v1.9.75

19 Feb 11:36

Choose a tag to compare

Improvements

  • Allow setting up per-workspace with --local option bit config set user.token xxx --local, or --local-track to have config in workspace.jsonc (#9557, #9555)
  • Support VScode extension to produce a visual workspace graph for components (#9547, #9545)
  • Allow for better control over component's package.json when running bit compile (#9530)
  • Enable auto-formatting components before snap/tag with workspace.jsonc config (#9497)
    "teambit.defender/formatter": {
      "formatOnPreSnap": true
    }
    
  • Simplify getting diff from a version it's parent with --parent. Instead of bit diff foo 0.0.1 0.0.2 you can bit diff foo 0.0.2 --parent (#9498)
  • Improve various CLI/UI outputs and errors for better DX (#9507, #9502, #9506)
  • Support syntax highlighting for .cjs and /mjs (#9492)

Bug Fixes

  • Fix an issue where bit login didn'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 install picked up unrelated package.json and 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 snap due to high number of concurrent add-dependencies-graph (#9475)
  • Fix an issue where artifacts directory got into the generated component package (#9532)
  • Fix an issue where bit start HMR failed (#9534)
  • Fix an issue where running bit checkout reset --all to write removed components failed on a lane (#9533)
  • Fix an issue where bit watch didn'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 files after deleting node_modules (#9508)
  • Fix an issue where bit server-forever failed on Windows (#9499)
  • Fix and issue where plugin resolution path was incorrect and led to "file not found" errors (#9561)

Internal