Skip to content

Releases: teambit/bit

v0.12.11

10 Apr 14:46
Compare
Choose a tag to compare

New

  • introduce a new command bit merge for merging a different version into the current version
  • introduce a new command bit use for switching between versions
  • add anonymous analytics usage with prompt
  • support merging modified component to an older version of the component

Changes

  • rename the command bit use to bit checkout
  • block tagging when a component has a newer version locally, unless --ignore-newest-version flag is used
  • rename --force flag of bit import to --override
  • change bit list to show only the authored and imported components, unless --scope flag is used
  • bit remove removes components from a remote scope only when --remote flag is used
  • improve the output of import command to show the imported versions

Bug Fixes

  • fix bit-install to work from an inner directory
  • improve external test and build errors to show the stack
  • support export { default as } syntax when extracting relevant dependencies from link files

v0.12.10

21 Mar 17:05
Compare
Choose a tag to compare

New

  • track directories for files changes and update .bitmap automatically
  • show a component as modified (bit status) in case a new file has added to its rootDir or one of the files has renamed
  • support updating dependencies versions from bit.json, package.json and bitmap files
  • add an option to install peer dependencies in an isolated environment
  • add the main file to file list if not specified during bit add
  • add --all flag to bit untrack command

Changes

  • ignore files named 'LICENSE'
  • test components candidates for auto-tag before tagging them

Bug Fixes

  • fix an issue with stylus dependencies from Vue files
  • fix catastrophic backtracking when using Regex to find JSDoc
  • fix environment import of latest version when an older version is imported
  • fix exit status when ci-update fails
  • fix bugs when running bit commands not from the workspace root

v0.12.9

14 Mar 13:29
Compare
Choose a tag to compare
  • fix bug with exporting component to a very old scopes

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