Skip to content

Releases: teambit/bit

v0.12.8

12 Mar 11:41
Compare
Choose a tag to compare
  • send component's metadata to compilers
  • fix bit tag with --force flag to force tagging when exceptions occurred during a test
  • fix bit test error message to display the actual exception if occurred
  • improve error message of bit tag --verbose when tests failed to include tests results
  • improve handling of errors from compilers which return promises
  • merge process.env from the main process to tester process fork
  • symlink tester env in isolated envs
  • bug fix - tests files were ignored during bit add when they're weren't part of the files array and .gitignore contained a record with leading exclamation mark

v0.12.7

05 Mar 15:32
Compare
Choose a tag to compare
  • bug fix - specifying a component and its dependency as ids for bit remove was not working
  • bug fix - fix remove component

v0.12.6

27 Feb 09:35
Compare
Choose a tag to compare

New

  • introduced a new command bit untag for reverting un-exported tags.
  • support .vue files
  • support bit install of specific ids
  • init local scope inside .git
  • support peerDependencies
  • support passing arguments/flags to the package-manager by specifying them after '--' (e.g. bit import -- --no-optional)
  • support compilers which return promises

Changes

  • save bit dev-dependencies components inside devDependencies section of package.json
  • bit status shows a list of staged versions in 'staged components' section

Bug Fixes

  • show npm-client's warnings when they are about missing peer-dependencies
  • fix outdated to print correct version numbers
  • remove a modified component message
  • resolving .gitignore files
  • #729 fix bit cc to clear module cache
  • #769 - prevent duplicate ids in bitmap when adding existing files
  • #736 - .gitignore is blocking everything

v0.12.5

07 Feb 10:44
Compare
Choose a tag to compare
  • default bit import with no id to import objects only, unless --write flag is used
  • decrease verbosity of npm during bit test
  • added --objects flag to bit import for fetching objects only and making no changes to the filesystem
  • bug fix - dists had incorrect paths in the model when originallySharedDir was the same as dist.entry
  • strip dist.entry for imported and authored components only, not for nested.
  • write .bitmap on bit init command
  • aggregate dependencies and package dependencies in bit show
  • add entered username from prompt to context for server side hooks

v0.12.4

30 Jan 13:57
Compare
Choose a tag to compare
  • support separating dev-dependencies and dev-packages from dependencies and packages when they originated from tests files
  • prompt user when trying to remove a component
  • restore old behavior of requiring package installation
  • support adding test files to existing component
  • ignore tracked files when running bit add and print a warning message
  • bug fix - bit test fails when the same environment installation was canceled before

v0.12.3

28 Jan 09:48
Compare
Choose a tag to compare
  • avoid overriding not only modified components but also new components when running bit import, unless --force flag is used
  • validate version number during tag action
  • allow bit config to run in non initialized directory

v0.12.2

24 Jan 16:12
Compare
Choose a tag to compare

New

  • #653 read config keys from Git config in case it's not found in bit config
  • #516 add --eject flag for bit export for quickly remove local components after export and install them by the npm client

Changes

  • bit build with no parameter, builds all authored and imported components regardless whether they're modified

Bug Fixes

  • bit move - updates links to node_modules and updates package.json dependencies with the new directory
  • install missing environments before start build / test process
  • print message in case of cyclic dependencies
  • fixed ci-update from failing when no compiler or tester

v0.12.1

22 Jan 13:47
Compare
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
Compare
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
Compare
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