All Versions
114
Latest Version
Avg Release Cycle
14 days
Latest Release
1153 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v14.1.2 Changes
June 02, 2019π New
- βͺ introduce a new command
bit undeprecate
to revert deprecation of components - π· introduce a new flag
--machine-name
forbit login
to help CI servers keep their token not revoked - π support
bit import
with wildcards to import an entire scope or particular namespace(s) - support changing the log to json format by running
bit config set log_json_format true
- β add bit version validation to
bit doctor
command - β add validation for npm executable on
bit doctor
- β add validation for yarn executable on
bit doctor
π Changes
- sort
.bitmap
component ids alphabetically to reduce chances for git conflicts (#1671) - #1627 improve
bit tag
output - β add a suggestion to run
bit doctor
on various errors - π¦ avoid generating links of devDependencies when installing component as packages (#1614)
- β add metadata to
bit doctor
output - β‘οΈ update
bit add
help message with instructions for using glob patterns with--tests
- rewrite dependencies when installed as components even when exist to rebuild their dist directory
π Bug fixes
- #1665 fix resolve-modules prefix with Tilda
- π improve sync between
.bitmap
file and the local store, see #1543 for complete use cases - π fix
bit remove
andbit eject
to delete the dist directory when located outside the components dir - π fix
bit eject
to support component custom npm registry scope - π fix generated
package.json
when dist is outside the components dir to point themain
to the dist file (#1648) - ignore
import
/require
statements from CDN (HTTP/HTTPS) - π¦ avoid generating package.json inside node_modules for an author when one of the component files is package.json
- π¦ preserve indentation of
package.json
files and default to 2 spaces, similar to NPM (#1630) - π§ show a descriptive error when the dist directory configured to be outside the components dir and is missing files
- βͺ introduce a new command
-
v14.1.1 Changes
May 16, 2019π Bug fixes
- π fix bit build to not generate
index.js
files whenpackage.json
file already exists - prevent overwriting author files by not writing auto-generated content on symlink files (#1628)
- β avoid changing the local version of a component to the latest when exporting an older version
- π fix post-receive-hook to send all exported versions and not only the latest
- π fix dependency resolution to identify link (proxy) files correctly
- π fix bit status to not show a component as modified after tag when the version is modified in the dependent package.json
- π fix "npm ERR! enoent ENOENT" errors when importing/installing multiple components
- π fix dependency value in the dependent package.json to include the path when importing them both in the same command
- π fix "EEXIST: file already exists" error when running
bit link
orbit install
and the dist is outside the component directory - π fix
bit add
to ignore directories when their files are added (#1406)
- π fix bit build to not generate
-
v14.1.0 Changes
May 01, 2019π New
π Changes
- π§ moving Bit configuration to
package.json
. - π improve performance of
bit import
by reducing memory consumption and using more cache - π reintroduce
-c
alias for--no-cache
flag inbit build
command - π improve authentication error message to clearly indicate the various strategies failures
- β add authentication fallback to ssh-key in case the ssh-agent is enabled but failed to authenticate
- π¦ avoid installing "undefined" npm package when importing authored components
- π improve Bit load time by changing bit-javascript to use lazy loading
- β remove
dependencies
property from workspacebit.json
. - π improve
bit show
to display class properties - replace the cache mechanism from roadrunner to v8-compile-cache
π Bug fixes
- π fix "EMFILE: too many open files" and "JavaScript heap out of memory" errors on
bit import
- π fix output for
bit list -j
(remove chalk characters and improve format) - avoid reporting errors on components with dynamic import statements (#1554)
- π fix tagging imported components to not loose
package.json
properties - π fix symlink generation when a binary file is required from another file within the same component using custom resolve module
- π fix
bit status
to not show the component as modified when dependencies have different order - π show a descriptive error when user try to export components with private dependencies to collection under another owner
- π show a descriptive error when a version object is missing
Experimental
bit doctor
command and APIs to run diagnosis on a workspace
- π§ moving Bit configuration to
-
v14.0.6 Changes
April 16, 2019- π fix symlink to binary (or unsupported) files dependencies when installed via npm and have dists
- π fix dependencies version resolution from package.json to support versions with range
-
v14.0.5 Changes
April 07, 2019- π fix
remove
command to not delete dependencies files from the scope as they might belong to other components - π fix symlink to binary (or unsupported) files dependencies when installed via npm
- π fix
-
v14.0.4 Changes
March 18, 2019- 0οΈβ£ replace default bitsrc.io domain to bit.dev
-
v14.0.3 Changes
March 12, 2019- π fix importing components when one file is a prefix of the other in the same directory
-
v14.0.2 Changes
March 10, 2019- prevent
bit init
from initialize a non-empty scope when.bitmap
was deleted unless--force
is used - π improve
bit tag
performance by decreasing hook logging - validate paths properties of the workspace bit.json
- π¨ enable print log messages that start with a specific string to the console by prefixing the command with BIT_LOG=str
- π improve error message when adding files outside the workspace
- π show a descriptive error when npm 5.0.0 fails with
--json
flag - π fix errors "EISDIR" and "EEXIST" when generating links and files steps on each other
- π fix links of exported components to node_modules for author when a file is not linkable to generate a symlink instead
- π¦ recognize scoped packages that were newly introduced to imported components
- π fix error "consumer.loadComponentFromModel, version is missing from the id"
- π enable removing a component that its workspace and scope representations are not in sync
- π fix "error: Could not stat (filename) No such file or directory" when bit-checkout updates multiple files
- π fix "JavaScript heap out of memory" when loading a large amount of components
- prevent
-
v14.0.1 Changes
February 24, 2019- π show an error when deleting a global remote without
--global
flag - π show an error when deleting a non-exist remote
- π¦ enable custom resolve of aliases to symlink packages (bit-javascript)
- π fix error "toAbsolutePath expects relative path"
- π improve errors stack-trace readability
- π index scope components to improve memory consumption and performance
- β extract docs from non-tests files only
- π fix
bit show --remote --json
to not crash when a component has a compiler - π fix
bit checkout
to update bit.json with the checked out version - π fix "Maximum call stack" error when resolving js files after css files (bit-javascript)
- π fix
bit checkout --all
to write the correct data when some components are also dependencies of others - π fix
bit checkout
to install dependencies as packages when applicable - π fix
bit remove --remote
to show the dependents correctly - hide component internal structure diff upon
bit diff
unless--verbose
flag is used - π implement postinstall symlink generation for cases when custom-resolve modules is used with unsupported file (such as binary files)
- π fix parsing
.tsx
files (bit-javascript)
- π show an error when deleting a global remote without
-
v14.0.0 Changes
February 04, 2019Summary
π Bitβs v14 is released side-by-side with the release of the v2 for bit.dev, Bitβs component community hub. New features for bit.dev v2 are announced in Bitβs Blog.
With over 65 new features, changes and bug fixes, v14 is Bitβs largest and richest release to date. V14 is focused on increased stability, agility and performance. It is is fully backwards compatible, and provides a faster and smoother workflow with improved compatibility throughout the ecosystem.
Here are some of v14's highlights:
- Improved performance for tracking, versioning and exporting components by up to 700%.
- π Dozens of bug fixes (~70% of open issues).
- π New commands
watch
andeject
. - π Dynamic namespaces support.
- π Improved VueJS support.
- π Improved CSS support.
- π Auto generated documentation for React.
π New
- π New
bit watch
command for building components upon file modifications. - π New
bit eject
for removing local components and installing them as packages by an NPM client - π Support dynamic namespaces (replaced the namespace/name format with a dynamic name that can have multiple slashes to indicate a hierarchical namespace).
- π Support components with binary files (or non-supported extensions) as the only files.
- π Support ids with wildcards (e.g.
bit tag "utils/*"
) for the following commands:tag
,untag
,remove
,untrack
,checkout
,merge
,diff
andexport
. - π Support mix syntax of typescript and javascript inside .ts file
- β Added react docs parsing to extract the description of the properties correctly.
- π Support flow types in react doc generation.
- π Support Vue files with typescript.
- π Support configuring Git executable path.
- π Support the new jsx syntax changes by Babel.
- π Support print multiple external (build / test) errors.
- π Support adding the project
package.json
file to a component. - π Support
import ~
from a local (authored) file to an imported sass component. - β Add programmatic API for add multiple components.
- π¦ Set the only dist file as main file in package.json (in case there is only one).
- π Allow removing a component when it is invalid.
π Changes
- π Improved performance for tracking, versioning and exporting components by up to 700%.
- π CSS parser replaced for better import syntax support.
- π Improve auto-tag mechanism to tag not only the dependents but also the dependents of the dependents and so on.
- π Changed
--include-unmodified
to--all
. - π Replace caporal package with commander for security reasons.
- π Better error when a component was tagged without its dependencies.
- π Make bit version command faster and support both
bit -v
andbit -V
to get bit version. - β‘οΈ Update tty-table, flow-coverage-report and mocha-appveyor-reporter for security reasons.
- π Improve exception handling for old clients connecting to a newer server.
- Shorten the generated component ID to the minimum possible.
- β Return status code 1 when bit test has failing tests.
- β Suppress an exception of directory-is-empty when adding multiple components and some of them are empty, show a warning instead.
- π Improve "missing a main file" error when adding multiple components to print the problematic components.
- π Improve performance by caching objects after loading them.
- π Fix ci-update command with component version number.
- π Fix
bit status
to not throw an exception for invalid components. - π Change
--conf
onbit import
to be a path to the config dir. - π Replace the deprecated typescript-eslint-parser with @typescript-eslint/typescript-estree
π Bug fixes
- π Fix link files generated to a package when it should point to an internal file of the package.
- π Fix parsing React docs to show the
@example
tag. - π Fix running
bit link
from an inner directory for author. - π Fix ampersand and minus signs causing parse error in css files.
- π Fix
bit add
to add the correct letter case even when--main
or--test
flags entered with incorrect case. - π Fix errors when component files require each other using module path.
- π Fix dev-dependency that requires prod-dependency to include the dependency in the flattenedDevDependencies array.
- β‘οΈ Do not delete isolated environment when running ci-update with keep flag and it throws exception.
- π Fix import of components with circular dependencies.
- π Fix link content generation for authored components on bit install.
- π Fix bug with bit show when the remote component has config file.
- π Fix context for testers during ci-update.
- π Fix missing context in getDynamicPackageDependencies.
- π Fix bug with bit show when scope path provided.
- π Fix errors "JavaScript heap out of memory" and "Error: EMFILE: too many open files" when exporting a huge number of components.
- π Fix error "link-generation: failed finding .. in the dependencies array" when a dependency has a devDependency installed as a component.
- π Improve the stability of
bit export --eject
and provide some kind of rollback in case of failure. - π Fix bit-remove to delete authored component files when removing an authored component from an inner directory.