Skip to content

Releases: teambit/bit

v0.12.1

22 Jan 13:47

Choose a tag to compare

  • add link-file for authored exported components from the root node_modules of a component to its main-file
  • avoid fetching the dependencies of versions older than the current imported one
  • fix bug with importing old components with compiler defined
  • fixed deserialize bug with bit remove

v0.12.0 - Major release

18 Jan 15:15

Choose a tag to compare

New

  • extension system (beta)
  • #540 support Yarn as package manager
  • bit import: install hub dependencies as npm packages by default
  • bit import: install npm packages by default
  • #613 bit install command to install all packages and link all components
  • #577 auto add workspaces to root package.json
  • #515 save direct dependencies in package.json with relative paths
  • #571 apply auto-tagging mechanism for imported components
  • #541 add package manager config to bit.json
  • support saving dists files on a pre-configured directory relative to consumer root
  • support bit show --compare with json format

Changes

  • change auto-generated node_modules links to be the same as NPM installation of components (@bit/scope.box.name)
  • rename bit bind command to bit link
  • reanme {PARENT_FOLDER} variable to {PARENT} in dsl of add
  • rename .bit.map.json to .bitmap
  • avoid writing long files paths for imported components when there is a shared directory among the component files and its dependencies
  • bit log now shows semver instead of version hash
  • #537 rename dist flag to --ignore-dist and by default create dist files
  • #527 rename structure property in bit.json
  • remove 'dist' attribute from root bit.json by default
  • rename no_dependencies flag to no-dependencies on bit import
  • rename no_package_json flag to ignore-package-json on bit import
  • change bit remote rm to bit remote del
  • run bit init automatically if dir is not initialized but contains .bitmap file
  • do not write the component's bit.json file, unless --conf flag is set

Bug Fixes

  • #517 when a nested dependency is imported directly, re-link all its dependents
  • #608 absolute components dependencies for new components throw an error
  • #605 component with modified dependencies doesn't recognize as modified
  • #592 auto-tagged component were not shown as staged in bit status
  • #495 support adding files to imported components and ignoring existing files
  • #500 files added under one component although it was not specified
  • #508 componentsDefaultDirectory do not support anything other than one dynamic param per folder
  • #543 remove imported component not working
  • avoid building process when a component was not modified
  • prevent overriding index file if exists

v0.11.1

29 Nov 13:35

Choose a tag to compare

  • support tagging the entire local scope and all imported components to a specific tag using --scope and --include_imported flags
  • add bit pack command to build packages for registry
  • tag command now accepts a version
  • bit test - paint a summary table when testing multiple components
  • bit status - add a new section "deleted components" for components that were deleted from the file-system manually
  • bit import - prevent overriding local changes unless --force flag was used
  • sort bit show and bit list components alphabetically
  • Auto update .bit.map.json to semantic versions
  • improve stability and performance of the dependency resolution mechanism
  • removed --include-imported flags as --all can be used for the same functionality
  • --scope flag can be used without --all
  • message in tag command is now optional
  • --all and --scope accepts version (optional for --all and mandatory for --scope)
  • fixed bug on windows that created test files as components
  • fixed bit add bug when adding test files with DSL
  • fixed output to be the same for tag command
  • fixed bit list command display for deprecated components
  • fixed bit show with compare flag to display dependencies
  • don't write dists files for authored components
  • bug fix - components that were not indicated as staged-components by bit status were exported by bit export
  • bug fix - tests files saved with incorrect path when bit add was running from non-consumer root
  • bit add - exclude a component when its main file is excluded
  • bug fix - generated .ts links were not valid

v0.11.0

12 Nov 15:31

Choose a tag to compare

  • change versions numbers to be semantic versions
  • add --outdated flag to bit show command to show the local and remote versions of a component
  • add --outdated flag to bit list command to show the local and remote versions of components
  • bit show - show components that will be tagged automatically when their dependencies are tagged
  • export / import performance and stability improvements
  • add plugin mechanism to support different file types
  • SSH authentication can be done with SSH username and password in case a private key or an SSH agent socket is not available
  • SSH is not supporting passphrase in case a private key is encrypted
  • reimplement cat-object command
  • remove the ssh-agent support (it's buggy)
  • bug fix - dependencies were not written to the file-system when cloning a project with an existing bit.map file
  • disable the local search
  • fix a bug which prevents the ci running tests in some cases
  • bug fix - re-adding a component after exporting it was considered as a new component
  • fix a bug which makes bit test command not work when a component use bit/ to require another component
  • prevent bare-scope corruption when the export process fails
  • fixed stderr maxBuffer exceeded bug in ci-update cmd
  • fix a bug which makes imported components considered as modified
  • fix typo in help man page

v0.10.9

19 Oct 11:02

Choose a tag to compare

  • rename bit commit to bit tag
  • extract only relevant dependencies from link files (files that only require other files)
  • typescript - extract only relevant dependencies from link files (files that only require other files)
  • take package version from package.json in the component / root folder to support semver package dependencies
  • new field in bit.json (bindingPrefix) for dynamic links
  • add flag to bit show to compare component in file system to last tagged component
  • better handling deleted files
  • improve bit add to convert files to valid bit names
  • fixed - writing dist files to wrong directory during bit tag / test commands
  • fixed remove of exported component
  • prevent bare-scope corruption when the export process fails
  • fixed stderr maxBuffer exceeded bug in ci-update cmd
  • throw error when tester doesn't return any result for test file
  • change the order of determine the main/index file - it's now ['js', 'ts', 'jsx', 'tsx', 'css', 'scss', 'less', 'sass']
  • improve checkVersionCompatibility between server and client
  • show correct message / error when the tester has an exception during bit test
  • fix bug with printing wrong id on bit tag for component in versions between 10-19
  • handle invalid bit.json
  • bit add on missing test file should throw an error
  • prevent test files from becoming new components
  • fix bug when component version is larger than 10 it won't show as staged

v0.10.8

01 Oct 08:10

Choose a tag to compare

  • support requiring imported components using require('bit/namespace/name') syntax
  • new remove command for removing local and remote components
  • new deprecate command for deprecating local and remote components
  • new move command for moving files/directories of a component to a new location
  • create package.json for imported components
  • exclude import-pending components from 'new components' section
  • add ignore missing dependencies to commit
  • save all dependencies on one configurable directory (components/.dependencies by default)
  • add support for tsx files
  • generate internal component links according to their compiled version
  • move a re-imported component to a new location when bit import --prefix is used
  • fix commit and export issues when dealing with more than 500 components
  • fix export of large amount of data
  • fix bug with commit --force when tests throws an exception
  • fix bug - when you import authored component (and there is a newer version) it duplicate it in the .bit.map.json
  • fix bug - when you import authored component it was added to bit.json dependencies
  • fix bug with ssh2 times out on handshake

v0.10.7

07 Sep 12:39

Choose a tag to compare

  • improve windows support
  • add bit untrack command
  • support CSS/less/sass/sass as main file
  • support jsx extension as the main file of a component
  • support adding new files to imported components
  • deprecated install command
  • fix the search according to search-index v0.13.0 changes
  • prevent exporting a component when the same version has been exported already to the same remote scope
  • avoid running the build and test processes upon bit status
  • allow export specific components without specifying the scope-name
  • avoid committing unmodified components unless --force flag is being used
  • resolve dependencies from all component files regardless whether they are referenced from the main file
  • bug fix - the author was not able to update his/her component in case it was changed in another scope
  • bug fix - status command shows an error when components directory has an unreferenced (from bit.map) component
  • avoid generating links for author components
  • bit import from bit.json does not write to the file-system a dependency when it is also a direct import
  • bug fix - export would hang when the ssh server was existing before closing
  • don't calculate nested deps when calculating modified component during bit status/commit
  • fixed exception is thrown in bit ls after exporting components
  • removed --cache flag from bit ls
  • added --environment option for bit import
  • reformatted bit import output (components, dependencies, environments)
  • remove duplication for missing packages warning
  • Remove the npm tree output for component ci flow
  • add verbosity option to some places
  • added auto generated msg to bitmap and all generated link files
  • fix a warning on the bit --version command
  • support render tag in js docs
  • bug fix - imported components were deleted from bit.map when importing nested components of the same scope and name
  • write dist files on import according to .bit.map.json
  • improve bit remote output (put it in a table)
  • fix but with export when the remote has a dependency in the wrong version

v0.10.7-rc.6

06 Sep 12:47

Choose a tag to compare

v0.10.7-rc.6 Pre-release
Pre-release
  • add untrack command
  • fix warning on bit --version command
  • support render tag in js docs
  • bug fix - imported components were deleted from bit.map when importing nested components of the same scope and name
  • write dist files on import according to .bit.map.json
  • improve bit remote output (put it in a table)
  • fix but with export when the remote has a dependency on the wrong version
  • support jsx extension in the main file of the component

v0.10.7-rc.5

05 Sep 08:43

Choose a tag to compare

v0.10.7-rc.5 Pre-release
Pre-release
  • support css/less/scss/sass as main file

v0.10.7-rc.4

04 Sep 08:23

Choose a tag to compare

v0.10.7-rc.4 Pre-release
Pre-release
  • improve windows support
  • prevent exporting a component when the same version has been exported already to the same remote scope
  • support adding new files to imported components
  • avoid running the build and test processes upon bit status
  • allow export specific components without specifying the scope-name
  • avoid committing unmodified components unless --force flag is being used
  • resolve dependencies from all component files regardless whether they are referenced from the main file
  • bug fix - author was not able to update his/her component in case it was changed in other scope
  • bug fix - status command shows an error when components directory has an unreferenced (from bit.map) component
  • avoid generating links for author components
  • remove duplication for missing packages warning
  • Remove the npm tree output for component ci flow
  • add verbosity option to some places
  • added auto generated msg to bitmap and all generated link files