Releases: teambit/bit
Releases · teambit/bit
v0.2.51
Changes
- Remove versions from lockfile of envs from the current workspace (#7888)
- Skip checking for component issues for components marked to be deleted (#7896)
update
command to support multiple, comma separated patterns (#7881)- Removed
teambit.workspace/variants
from baseworkspace.jsonc
template (#7879) - Removed outdated video from
tests
blank state screen (#7893)
Performance
- Update pnpm to the newest version that leverages worker threads (#7875)
Bug Fixes
- Re-render
bit start
when component ID changes, to update according to the current workspace state (#7895) - Fix cases where
bit start
was not open on default browser (#7899) - Fix issues causing Yarn to fail when configured for
bit install
(#7887) - Prefer versions in
.bitmap
to be tags, if possible (#7891) - Fix an issue where packages containing hard links failed to extract (#7882)
- Fix links in the component tree where namespace and name are identical (#7861)
- Fix an issue where forked components ported "rename" information from the original component (#7867)
- Improve outputs in various commands (#7803 #7869)
Internal
v0.2.40
New Features
- Streamline component removal flow with a dedicated
bit delete
command (#7807) - Automate re-align IDE type checking, lint and formatting with Bit components during
bit create
(#7808)
Changes
- Avoid running pipelines on deleted components (#7792)
- CLI output improvements for better DX (#7851 #7846 #7735 #7793 #7789 #7827 #7842 #7813 #7802 #7786)
- Add support for component patterns for
bit update
and--major | --minor | --patch
options (#7783) - Scope name is now optional for lane and component renames (default to current scope or lane) (#7853)
- AST based code transformation (for rename, refactor and fork) is now experimental (#7836)
- Update component and workspace generator to support generics, enhanced templates and more (#7804 #7829)
- Add a basic workspace starter for nodejs development (#7831)
- Make build context optional for deploy task (#7850)
- Allow extending Component Preview to pass component docs from outside (#7805)
- Base
workspace.jsonc
supports new mechanism for env loading (#7801) - Support setting a
cloud-domain
duringbit login
(#7812)
Performance
- Improve scanning components directories in the workspace by ignoring
node-modules
directories (#7832) - Avoid importing history of irrelevant lanes (#7849)
Bug Fixes
- UI Fixes (#7835 #7848 #7833 #7830 #7818 #7736)
- Various fixes for merging lanes corner cases (#7858 #7837 #7816 #7791 #7845 #7834 #7790)
- Fixed issue where a second compile needed after
bit install
(#7857) - Fixed an issue where you have to run
bit checkout head
twice when head-snap wasn't available (#7844) - Fixed an issue where
scope rename
tried to rename envs without needing to (#7824) - Fix out-of-memory errors when exporting huge amounts of components and versions (#7796)
- Fix an issue where version was required for compiling a specific component (#7795)
- Fix
Maximum call stack size exceeded
when calculating component dependency graph (#7794) - Fix links from the base
workspace.jsonc
template (#7800) - Import missing components needed for
diff
command, instead of failing (#7787) - Fix an issue where switching lanes from different scopes didn't import from the target scope (#7814)
- Do not pack internal Bit files and folders by mistake by adding them to capsule's
.npmignore
(#7817) - Fixed an issue where Bit tried to fetch new, un-exported, lanes (#7854)
- Fixed an issue where creating of multiple components led to conflicting target paths (#7821)
Internal
- Update dependencies (#7856 #7782)
- Add programmatic API for creating/switching lanes (#7838)
- Reconfigure bit-watcher to have a single target (workspace), not many (each component-dir) (#7862 #7828)
- Add option to remove some outputs from pnpm (#7826)
- Replace pnpm with npm for packing components to packages (#7825)
- Limit capsule creation parallelism to 50 (#7819)
- New API slot to register function before CLI exits commands (#7811)
- Set correct node versions in docker file (#7799)
- New API slot to register a capsule transfer function (#7798)
- Improve visual version history graph by adding
--mark
option for various cases to make it easy to debug complex scenarios (#7815) - Don't link root components to files in
.bit_roots
(#7810) - Re-link core-aspects to capsules when
CACHE_CAPSULES
is set (#7788) - Ensure component aspect state is always up to date for components (#7806)
- Support managed paths in webpack dev-server (#7713)
- Add route to express middleware interface (#7841)
- Update local
VersionHistory
for component-object during export (#7822)
v0.2.24
New Features
- New command
bit deps usage
to find components that use the given dependency (#7737) bit update
supports passing glob patterns of components and semver to update (#7746, #7755, #7757)
Changes
- Improve outputs for various commands (#7766, #7729, #7719, #7740)
- Add "merge strategy" support for bitmap merge driver (#7754)
- Enable running
snap
andtag
with--ignore-build-errors
and--disable-snap-pipeline | --disable-tag-pipeline
(#7727) - Add "merge strategy" support for Lane merge (#7768)
- Run
ws-config write
as part ofbit new
(#7661) - Improve error when snapping/tagging a dependency from another lane to suggest solutions (#7728)
- Support a new component-issue of
RemovedDependencies
duringbit status
(#7767) - Align "remove component" from lane flow to be similar to "deprecate" (#7774)
Performance
- Improve
build | tag | snap
performance by skipping installing dependencies of envs (#7748)
Bug fixes
- Fallback to fetch component history from server in cases it was missing (#7777)
- Solved an issue where JSX tags in MDX caused lint to fail (#7762)
- Better handling complex lane merges (#7775, #7730, #7760, #7759, #7381, #7769, #7742, #7734, 7738, #7731, #7778, #7764, #7706)
- Several
bit rename
fixes (#7758, #7726, #7720) - Solved an issue where
bit update
tried to update versions for non-exported components (#7772) - Do not re-link local components on repeat
install
(#7743, #7665) - Solved an issue where rename of an env didn't change env for their dependents (#7733)
- UI Fixes (#7739, #7732)
- Solved an issue where a "recovered" component was still marked as "removed" (#7724)
- Better handling for deduping peer dependencies when
rootComponents
are used (#7710)
Internal
v0.2.23 - DEPRECATED
DEPRECATED
Use version 0.2.24 instead
v0.2.14
New Features
Changes
- Build pipeline
replace
now adds a task if not exist (#7695) - Improve
diff
status for test files (#7686)
Performance
- Avoid loading all components for compilation, until needed (#7690)
- Add components in lane to local cache (#7674)
- Remove a recursive call during "component loading" (#7673)
Bug Fixes
- Fixes for watching file changes on Windows (#7677 #7711 #7708)
- Fix
ws-config
to better support windows file paths format (#7663) - Fixes issues for
bit new
where starter contains many components and envs (#7707 7700) - Fixes an issue where an App
deploy
task didn't get full context frombuild
task (#7709) - Fixes several cases when snapping components in lanes (#7705 #7699)
- Fix an issue where during
bit merge
configuration wasn't passing correctly (#7704) - Fix several
--rename
and--refactor
edge cases (#7678 #7701) - Ensure the link from "component drawer" targets the exact component name (#7668)
- Fix an issue where sometimes
envs
trigger a warning on missingtsconfig.jsonc
(#7669)
Internal
v0.2.3
New features
- New command
bit revert
to revert a component that is currently in a lane back tomain
(#7649) - Ability to solve merge conflicts for
.bitmap
files with abit git
sub commands to help with git integrations (#7597) - Ability to set env and config during
bit fork
(#7589)
Changes
- Bit uses node 18 by default (#7484 #7606)
- Many commands no longer "experimental" -
fork
,graph
,refactor
,rename
,snap
, and many more (#7586) - Various UI improvements (#7572 #7588 #7563)
- Excluding deprecated components by default during
bit import
(#7592) - Improve various warning and error messages (#7651 #7628 #7617 #7618 #7650 #7644 #7640 #7616 #7609 #7619 #7655)
- Rename
--force-deploy
to--ignore-build-errors
fortag
andsign
commands (#7641) - Improve dev-ex and defaults for various commands (#7620 #7575 #7626 #7642 #7585)
Performance
- Performance improvements when merging and dealing with lanes with many components and long history graphs (#7584)
Bug fixes
- Fixed an issue where components that were marked to be removed got added to a lane (#7648)
- Fixed an issue where modify component-env blocked operations (#7647)
- Fixed an issue where sometimes Bit export throws
missing data
error (#7598) - Fixed an issue where core aspects weren't always linked (#7583)
- Downgrade Yarn to the last stable version because RC versions are not stable (#7645)
Internal
- Update dependencies to fit node 18 and up (#7624 #7607 #7604 #7600 #7602 #7601 #7595)
- Change configuration for various components (#7636 #7621 #7625 #7622 #7633)
- Update pnpm version (#7578)
- Compiler transpile function to by async (#7537)
- Update schema extractor to use AST transform (#7632)
- Various upgrades to
bit start
dev server proxy (#7605 #7576) - Expose the device used by the user to improve mobile friendly-ness (#7577)
ws-config
config writers are now managed by individual envs (#7637)- update '@teambit/mdx.ui.mdx-scope-context' to '0.0.498' in mdx env (#7654)
v0.1.74
New Features
- Support passing port to
bit run
from terminal (#7530) - Get quick information only on modified and new components -
bit ms
bit mini-status
(#7567) - Easily remove component from lane -
bit lane remove-comp
(#7558 #7539 #7571 #7511)
Changes
- Understand more dependency sources in
bit deps debug
("env", "auto" and "config") (#7561 #7552) - Print bit version during
bit sign
command (#7517) - New alias
--template
fornew
andcreate
commands (#7532)
Bug Fixes
- Various terminal outputs and UI fixes (#7564 #7566 #7525 #7550 #7535 #7545 #7529)
- Fix a case where
bit update
crashed when there's nothing to update (#7546) - Fix a case where
bit checkout latest
wasn't moving to latest when component has no semver (#7551) - Fix cases where schema extractor didn't provide API references (#7533 #7560 #7522)
- Fix a case where
bit install
didn't resolve env correctly when setting a snap (#7521) - Fix cases where
react
was resolved from Bit's webpack alias instead of the env (#7519)
Internal
- Improve handling of custom capsule directory location (#7543 #7544 #7542 #7540 #7555 #7531 #7547 #7246 #7554 #7520)
- Update dependencies (#7569 #7527 #7559)
- Move
diff
command to component-compare aspect (#7570) - Add context to
fork
&import
functions (#7553) - Support async
generateFiles
method for template generators (#7557) - Set
issues
aspect as optional (#7549) - Support a hosted component-importer service (#7538)
- Limit
merge lane
concurrency to 50 components (#7562) - De-duplicate
MissingPackagesDependenciesOnFs
duringbit install
(#7523) - Load
@teambit/harmony
config frombrowser.window
if possible (#7516) - Support
excludeLinksFromLockfile
andlockfileOnly
for pnpm aspect (#7518 #7548)
v0.1.62
Changes
- Better error messages and outputs (#7505 #7481 #7455 #7496 #7483)
- Support pnpm's
preferOffline
(#7509) - Explicitly don't copy
pkg
config onbit fork
(#7495) - Make
rootComponents:true
by default onbit init
(#7419) - Exit with code 1 when
bit format --check
found errors (#7469) - Support schema extractor to run on bare scope (#7474)
bit new
supportscope
without anowner
prefix (#7471)
Performance
- Improve performance for
fetch
andimport
(#7489) - Load envs from project
node_modules
instead of capsules. To enable, ensure you set: (#7440 #7466)
/* @filename: workspace.jsonc */
{
"teambit.workspace/workspace": {
"resolveEnvsFromRoots": true
},
"teambit.dependencies/dependency-resolver": {
"rootComponents": true
}
}
Bug Fixes
- Fix
bit link --target
returning the errorfailed to link component
(#7508) - Make
bit config
more fault tolerant (#7507) - Fixes for edge cases for Lane merges when squashing snaps (#7480 #7464 #7450 #7457 #7475)
- Design and styling fixes (#7485 #7482 #7465 #7462)
- Link
@teambit/harmony
from Bit unless overridden root policy (#7460) env.jsonc
supports adding components as deps when component and env in the same workspace (#7470)
Internal
v0.1.52
New Features
- Use the
--fail-fast
option to exist the build process (and log the error) when a build task fails (use withbit build
/bit snap
/bit tag
(#7444) - Enable injecting raw strings to the HTML Injector (#7274)
- Use the
--squash
option, when merging one lane to another, to squsash snaps (this was previously only available when merging to 'main') (#7448)
Bug Fixes
- Remove margines from the
<body
of built component previews (now concistent with previews in development) (#7451) - Throw an error if a process in the remote does not complete in 30 minutes (#7456)
bit show --remote
should display the remote lane info (#7445)bit start
should be able to render the preview of only a selected group of components (#7415)- Fix
getComponentDevPatterns
forTesterMain
(#7454)
Internal
- Upgrade @babel/types to fix compilation issues.
- Avoid loading the version object for
idOnLane
(#7449) - Change occurrences of --soft to --delete (#7447)
- Add a new express route "api/vscode" to communicate with vscode extension (#7441)
- Introduce a POC of
bit stash
(#7436) - Restore the public
buildUiHash
API (#7438) - deprecate
importManyDeltaWithoutDeps
andimportManyIfMissingWithoutDeps
(#7428)
v0.1.48
New Features
- Better handking of missing dependencies (use
bit install --add-missing-deps
to automatically install missing dependencies) (#7412, #7264)
-bit insight --include-deps
shows circular dependencies of extenral dependnecies (i.e, dependencies not maintained in the same workspace) (#7407) - Ignore the builds of specific dependencies. The "preinstall", "install", and "postinstall" scripts of the listed packages will not be executed during installation.
For example{ "@teambit.dependencies/dependency-resolver": { "neverBuiltDependencies": ["fsevents", "level"]}}
(#7387)
Changes
bit merge
without component IDs merges all components (#7427)- Improved dev ex. Ignore component versions when using patterns for better pattern matching (#7416)
- Components in a lane can created usingt the same component name of a previously soft-removed component (requires a different scope) (#7413)
- Remove lane-id from .bitmap when running bit init with
--reset-lane-new
flag. This is helpful when you want the source file changes but not the lane these changes are part of. (#7408) - When merging lanes exclude components that were soft-removed from the lane (#7402)
- Improve
bit statu
message from "snapped components" to "snapped components (tag pending)" (#7403)
Bug Fixes
bit artifacts COMPONENT_PATTERN
supports using component to retrieve artifacts of staged componetns (#7423)- Fetch and save original lane when --lanes was used (#7425)
- Output fix. Remove suggestion for tag [version] which is not supported anymore (#7424)
- Fix error message when soft-remove from a new lane to suggest the new flag --delete (#7420)
- Fix error "Cannot read properties of undefined when poilicies are missing (#7431)
- Remove dists and symlinks from node_modules/component-package-dir upon file removal. This makes sure removed components are not available for consumption. (#7411)
Internal
- Repeat the warning message when a scope is not responsive (#7426)
- Update pnpm (#7421)
- Write original pnpm error to debug.log (#7418)
- Change import methods to work with one lane instead of an array (#7414)
- Introduce "--pattern" to import part of a lane (#7410)
- Make webpack config mutators types more relaxed (#7409)
- node_modules linking is done by the package manager (#7176)