Skip to content

Releases: teambit/bit

v14.8.0

28 Jun 12:28
Compare
Choose a tag to compare

New

  • release pre-alpha version of Harmony hidden behind a feature-flag
  • drop support for node 8
  • introduce bit link --rewire to change relative paths in the source code to module paths
  • support running bit link for specific components
  • support hooks for persist and read bit objects into scope
  • support react-docs of multiple exports
  • add componentRootDir to the tester API (context)
  • add specFileRelativePath to the tester API (context)
  • add a way to run bit pack with a capsule

Changes

  • deprecate files overrides (using file:// prefix)

Bug Fixes

  • #2159 - fix bit export to not show the "fork" message when specifying an id without scope-name
  • #2487 - fix react docs of union type prop
  • #2512 - fix react-docs to preserve spaces/tabs of @example
  • fix capsule to not hang forever when running build/tag/isolate and npm emits errors
  • #2482 - delete component's cache upon mismatch
  • #2171 - fix ComponentNotFound when using bit export with no args and a flattened dependency was converted from no-scope to a remote-scope
  • #2487 - fix react docs of union type prop
  • fix capsule to not hang forever when running build/tag/isolate and npm emits errors
  • fix components dependencies detection to resolve from package.json if not exist on the fs
  • fix importing compilers and testers for old node versions

Internal

  • upgrade typescript to 3.8.3
  • internal changes to command registration and interfaces
  • stabilize capsule by writing the same paths as the workspace relative to the component rootDir
  • stabilize Bit by eliminating the removal of shared directory upon import and having rootDir for authored components
  • add infrastructure for feature-toggle
  • wait for the next event loop before exit child process in bit test
  • prevent exporting components when import/require uses a module path with no scope-name (harmony only)
  • prevent tagging components that require each other by relative paths (harmony only)
  • disallow adding individual files (harmony only)
  • new dependency resolver extension (harmony only)

v14.7.6

23 Feb 11:06
Compare
Choose a tag to compare

Internal

  • fix building binary assets

v14.7.4

06 Feb 10:53
Compare
Choose a tag to compare
  • #2300 improve bit export performance by pushing new tags only

v14.7.3

02 Feb 14:48
Compare
Choose a tag to compare

New

  • support overrides of the workspace defaultScope per components
  • use workspace defaultScope to generate node-modules links for pre-export components

Changes

  • #2247 improve auto-tag output

Bug fixes

  • fix "JavaScript heap out of memory" errors during bit export
  • #2260 fix duplicate dependencies
  • #2264 fix generated dependencies links on capsule
  • #2267 fix duplicate devDependencies
  • #2258 don't install devDependencies packages upon extensions import
  • #2255 avoid adding unneeded overrides upon import

v14.7.2

12 Jan 12:29
Compare
Choose a tag to compare

New

  • #1894 introduce --remote flag for bit log
  • add --conf and --ignore-package-json flags to bit checkout similar to bit import

Bug fixes

  • #2231 update typescript to support optional chaining
  • improve performance of bit checkout by writing multiple components in parallel
  • fix overrides of a component added with package syntax to be recognized as bit-component
  • #2196 fix dependency resolution when Bit component is imported in a sub-package

Internal

  • install librarian from npm

v14.7.1

12 Dec 09:58
Compare
Choose a tag to compare

New

  • add component root dir to bit show (json only)

Bug fixes

  • #2182 fix package-name replacement of dists when a package has a tilda prefix
  • #2182 don't write dependencies dists to a capsule when their compiler was removed
  • fix tester's isolate API

v14.7.0

08 Dec 14:10
Compare
Choose a tag to compare

New

  • Tester's API can use the isolate function.
  • bit status shows untracked file dependencies recursively.

Bug fixes

  • #2171 fix component-not-found when exporting to multiple scopes and there are dependencies between them
  • #2175 add missing packages from overrides to bit status
  • #2176 fix workspace overrides to not leak rules to unrelated component
  • #2178 fix adding ts types packages to respect overrides settings

Experimental

v14.6.0

02 Dec 14:00
Compare
Choose a tag to compare
  • compress ssh args before sending
  • add new global config ssh_no_compress

v14.5.0

24 Nov 10:35
Compare
Choose a tag to compare

New

  • support anonymous authentication for remote read operations
  • add --token flag for commands that runs against a remote server
  • #2101 suggest matching commands

Changes

  • improve loader when building components
  • add --no-warnings flag to bit test child process

Bug fixes

  • #2147 fix overrides to respect dependencies received by a compiler/tester/extension
  • fix symlink errors when generating links to d.ts files
  • #2140 update bit-javascript to support import { x as y } syntax
  • fix fork of a component when a dependency exists in an older version only
  • update react-docgen version from 2.21.0 to 4.1.1
  • keep flattened dependencies saved by auto-tag up to date, although they're not part of the current tag
  • show a message about missing test files in the compiled files

Experimental

  • expose buildOne and buildAll for programmatic api (Experimental)

Internal

  • consolidate isolation options
  • formalize isolate api result

v14.4.3

27 Oct 10:47
Compare
Choose a tag to compare

Bug fixes

  • lock memfs package version to v2.15.5 due to issues with the v2.16.0