Releases: teambit/bit
Releases · teambit/bit
v14.4.1
Bug fixes
- #2019 fix
bit import --merge
to not override changed dependencies - #2023 better handle external errors from compilers
- #2013 fix bit import when one module resolution alias is a directory of another alias for extensions other than
.js
- #2033 improve bit link to build unrecognized missing links
- #2035 fix "unable to manually add the dependency" error when package.json of an imported component is missing
- #2034 make sure versions are not deleted upon tag when components have cycle dependencies and a version is specified
- #2027 fix ComponentNotFound error when building a typescript component and its Bit dependency is installed as a package
- #2011 update dependents package.json files when ejecting dependencies
- fix bit graph edge colouring for regular dependencies
- call pre and post export hooks actions
v14.4.0
New
- #1981 allow compilers to add all dependencies types and not only devDependencies
Changes
- #2004 ask for approval before exporting a component to another scope (fork)
Bug fixes
- #2013 fix bit import when one module resolution alias is a directory of another alias
- block tagging components with prerelease versions
- fix "Converting circular structure to JSON" error when logging a circular metadata object
- fix exporting to a different scope than workspace configuration of
defaultScope
- fix exporting components with and without scope at the same time
- #1999 show a descriptive error when a component is missing from the scope
Experimental
- #1956 introduce a new flag
--rewire
forbit export
to replace the import/require statements in the source to the newly exported scope
v14.3.0
New
- #1956 add
defaultScope
settings in workspace config forbit export
to use when no remote scope defined for component - #1990 auto add
@types/package-name
for *.tsx files
Changes
- generate
node_modules
links upon build for new components
Bug fixes
- fail early when exporting nested dependency
- fix an error "Cannot read property log of null" upon bit log
- #1988 avoid adding a component to root package.json when importing with
--ignore-package-json
flag - #1972 fix generated links to nested dependencies in the capsule
- #1966 prevent intermediate console printing when
--json
flag is used - #1721 enable removing/workspace-propagating a compiler/tester from component's config
- #1965 fix generated links for
.scss
and.sass
packages to point to the main file - #1959 improve message when running
bit build
when compiler not configured - fix dist replacements upon export (for angular compiler) to support require statements to an internal path
- #1947 workaround an angular-compiler issue when the dists have a prefix
Experimental
v14.2.5
New
- #1937 introduce
--json
flag forbit import
Bug fixes
- fix dist changing of bit-ids on export to make the replacement on exact matches only
- #1941 ignore .DS_Store file when reading dirs
- #1912 fix linking to an internal and non-exist dist file to fallback to the main package
- #1916 do not throw an error when there are no components to build
- #1934 fix capsule compilers when configured to work with custom files
- #1924 avoid generating old dists files when using capsule compilers
Experimental
- #1885 introduce new flags
--dependents
and--dependencies
forbit import
to import them all directly
v14.2.4
New
- #1867 apply workspace overrides config on imported components
- #1863 allow excluding components from
overrides
rules - #1865 allow adding
package.json
props viaoverrides
- #1837 enable executing commands on remote components outside of bit-workspace
- #913 add new flags to bit init
-c|--compiler
,-t|--tester
,-d|--default-directory
,-p|--package-manager
- #1889 auto add
@types/package-name
to the dependencies of TS components - added
no_warnings
config to eliminate some warnings from being written to the stdout
Changes
- remove Angular dependencies from bit-javascript, instead, use TS compiler to parse Angular Decorators
- #1892 deprecating
bit list --bare
and replace withbit list --raw
- #1774 improve access errors and warn when sudo is used
- change shortcut flag to
bit init
standalone fromt
toT
Bug fixes
- safer access to bit global config
- #1903 fix importing dependents to not override dependencies
- fix capsule to respect the
override
property of vinyl files - #1925 update bit-javascript to fix Angular non-relative paths from decorators
Experimental
v14.2.3
- #1714 auto recognize mainFile when a file added with the same name as its dir
- #1683 introduce
--namespace
flag forbit list
to support namespaces with wildcards - #1727 prevent saving objects that link to invalid objects
- #1856 fix links deletion from
node_modules
after installing packages by a compiler on a capsule - #1710 improve performance of importing an entire collection
v14.2.2
New
- add workspacePath and bitmapFileName to post-add hook invocation
Changes
- improve
bit watch
to watch directories instead of only files to support addition / deletion - #1634 improve the output of
bit watch
Bug fixes
- fix "Cannot read property 'push' of undefined" error upon
bit status
- build only the component of the modified/added/removed file upon
bit watch
- #1668 bug fix -
bit watch
doesn't update files
v14.2.1
v14.2.0
Bit is now available to install as a binary with all dependencies. This is the prefer method to install Bit, as it is bundled with its runtime. Note that when you install with npm / yarn Bit only supports node < 8.12.0
.
New
- Support packaging bit-bin into a binary file according to the OS by running
npm run pkg
- Enable compilers and testers to isolate components using capsule.
- add
--no-cache
flag tobit ci-update
command - #1762 allow compilers to add properties to
package.json
file. - #1770 modify dependency links for compilers that bundle them.
- #1663 Support toposort order when compiling components.
- #1808 Adding
dist-path-template
as apackage.json
value, which gets replaced with the calculated dist path upon import. - Generate
index.d.ts
file fornode_modules
links generated for typescript'scustom-resolve-modules
. - Add a custom entry point file for Angular components
- Support providing different main-file for dists by a compiler
- Support identify angular dependencies
Changes
- fix require statements to an internal package file to not include extensions if they're [.js, .ts, .tsx, .jsx]
- #1792 don't generate entry-point files for nested dependencies when their
package.json
is written - change dependency links generated when dependencies are saved as components to be module paths and not relative paths
Bug fixes
- #1817 fix
ComponentNotFound
error when tagging afterexport
,tag
anduntag
for author using compiler that builds dependencies. - #1810 avoid generating link files with
.ts
,.jsx
and.tsx
insidenode_modules
. - #1807 fix resolution of dependency when 2 files require it and one of them using alias
- #1796 fix dependency resolution when 2 files of component import different things from a file of another component
- #1779 update bit-javascript to prioritize custom-resolve settings
- avoid generating duplicate
require
statements within dependency links files of ES6 - update bit-javascript to fix finding tsconfig.json for Angular projects
- #1750 improve the output to clarify when a dependency package is missing
- #1752 fix dependency links generation when originally there were multiple link files
- fix
directory
flag ofbit ci-update
command - fix installation errors on Windows related to
posix
package by replacing it withuid-number
- #1734 fix error "unable to add the file ..." when the require statement was of
.
or..
as the only string
Experimental
- add
post-add
hook - add option to isolate component into "capsule" via
bit isolate
command
Internal
- update execa to v2.0.3
- upgrade to babel 7
v14.1.4-dev.12
- update bit-javascript to fix finding tsconfig.json for Angular projects
- change the minimum node supported to v8.12.0 instead of v8.0.0, to be compatible with
execa