Releases: teambit/bit
Releases · teambit/bit
v0.0.945
New Features
- New tab for exploring component's API reference (#6444)
- Responsive top bar navigation in component page (#6709)
- Add component ID and package name in component overview (#6698)
- Keep workspace command history
.bit/command-history
(#6658) - Ability to view contents of non-binary artifact files (#6597, #6623)
- Extract component Typescript schema (#6578, #6624, #6620)
- Ability for 3-way merge of aspects config (#6791)
- Support setting default bit registry in global config (#6807)
- Introduce
--internal
flag to see the private commands (#6725) - Ability to version component on remote and control what to update (#6676, #6602, #6672)
- Ability to check whether a lane is up to date (#6666)
- Ability to checkout
--entire-lane
to get new components on a lane (#6661) - Support tracking files that starts with
.
(#6757) - Allow to skip compilation step when installing dependencies (#6687)
- Ability to remove dependency of a specific type (#6625)
- Support
latest
for checking-out the "tip" of component version history (#6619) - Ability to
toposort
components according to dependencies build order (#6701) - Ability to create and delete lanes from GQL (#6656)
- Get lane diff via API (#6759)
Changes
- fix(tag): use pre-release for auto-tag as well instead of patch (#6763)
- Show all changes when comparing between lanes (#6817)
- When no diff is visible, suggest
--verbose
option (#6752) - Update typescript to
4.7.4
(#6603) - Update core
teambit.react/react
to setallowJs: true
by default (#6734) - Tester watch on start is set to
false
by default (#6747) - Print install and import duration, suppress object-count on ci (#6726)
- Support
--json
output option for merge-lane flow (#6654) - List remote lanes (#6736)
- Mocha tester to support typescript (#6621)
- Add hash to the create-lane API (#6815)
- Ability to skip UI build on
bit start
(#6634) - Fix OOM issues when running
bit lint
(#6816)
Bug Fixes
- Better handling when fetching artifacts (#6751, #6776)
- Add guard rails for
bit dep set
when adding a missing dependency (#6702) - Fix case when direct dependencies got duplicated (#6711)
- Fix converting
graph
toComponentGraph
for handle runtime edges correctly (#6833) - Remove previous env even when not in the
.bitmap
(#6828) - Fix component id resolution from URL (#6821)
- Ignore removed components when checking for
MissingManuallyConfiguredPackages
(#6814) - Better error when a command is running outside a workspace (#6806)
- Avoid removing deps that were set before tag/snap (#6805)
- Avoid showing duplicate
MissingManuallyConfiguredPackages
entries (#6812) - Recompile components with build-status failed (#6786)
- Update links to command outputs to docs (#6605)
- Load extensions only once after merging from different sources (#6769)
- Handle log cases where missing entry were not imported (#6697)
- Fix cases where
import
didn't pay attention to current lane (#6801) - UI fixes for viewing lanes (#6714)
- Dist directories should not be removed after install (#6662)
- UI fixes for
usebox
(#6783) - Bug fixes and edge cases around lanes merge (#6692, #6831, #6829, #6826, #6823, #6822, #6767, #6793, #6794, #6803, #6735, #6667)
- Remove the undefined in bit-list header when using
--scope
flag (#6627) bit rename --refactor
to change only packages that have an exact match (#6618)- Fix a typos in command descriptions (#6640)
- Fix rendering of lane selector when viewed lane changes (#6724)
- Fix determine whether a component is new based also on
.bitmap
record (#6655) - Avoid overriding dependencies set before tag/snap (#6696)
bit status
should not show missing deps incorrectly (#6710)- Remove stagedConfig for all exported components (#6732)
- Avoid showing mocha tests output during bit-start (#6680)
- Fix
reset
when the component is diverged on lane and has no head on main (#6678) - Avoid sending historical Version objects during export on lane (#6690)
- pass
pnpUnpluggedFolder
to fix error onyarn install
(#6834) - Filter out soft-removed from --entire-lane flag (#6713)
- Avoid creating two instances of
scope.repository
after bit-cc (#6718) - Hoisting should not override linked components (#6788)
- Don't rerun install for the same manifests again (#6755)
- Fix missing scope-name in flattened-edge prop (#6774)
- Resolve env-id correctly (#6632)
EnvNotConfiguredForComponent
error to suggest runningbit env set
(#6601)
Performance
- Improve import performance by fetching only the requested version (#6639)
- Avoid fetching flattened dependencies (#6705)
- Improve
lane diff
performance (#6799) - Yarn should use a content-addressable store (#6730)
- Make history traversal faster by caching them in the fs (#6606)
- Improve
build-graph-from-fs
performance by not trying to import existing deps (#6612) - Support Yarn global cache (#6717, #6729)
- Avoid fetching flattened-deps when possible (#6785)
- Get env preview data on load (#6616)
Internal
- Prepare and stabilize
rootComponents
(#6750, #6782, #6631, #6675, #6691, #6688) - Prepare and stabilize envs as plugins (#6745, #6644, #6739, #6811, #6703, #6780, #6766, #6742, #6693)
- Prepare and stabilize lane-compare (#6704, #6777, #6733. #6677, #6657, #6651)
- Utilize the deps graph when possible (#6775)
- Update babel packages to latest (#6604)
- Upgrade pino (#6797)
- Remove
prodGraph
prop fromget-flattened-dependencies
(#6728) - Utilize pino transport (Worker Thread) (#6798)
- Update harmony version (#6781)
- add default export to core aspects (#6694, #6779)
- updated component highlighter not to use z-indexs component (#6808)
- remove unnecessary code from component overview (#6699)
- Update lint and prettier rules (#6741, #6740)
- Avoid running mutliple on-start hooks in parallel (#6795)
- Use BitError and not legacy error handler for
VersionNotFound
(#6638) - Remove export-metadata, it is not needed anymore (#6758)
- Sync deps for component compare (#6773)
- Avoid loading cli aspect twice (#6719)
- Handle failures inside Mocha hooks (#6753)
- Filter teambit/legacy from root policy (#6649)
- Express route priority type (#6636)
- Get the tsconfig from getCompiler API when possible (#6663)
- Support variant config policy as array of object with name, version, hidden, force (#6810)
- Handle loading aspect-root without a version (#6765)
- Better logs around the removal of staged-config during export (#6715)
- Use named export from aspect when generating link file for webpack (#6754)
v0.0.888
New Features
- Show generated artifacts of a build in code tab (#6550)
- Introduce a new command
bit write-tsconfig
to write tsconfig files in the components directories (#6506 #6531) - Compile custom envs during installation (#6480)
- Ability to expand/Collapse nested objects and Copy JSON and component configuration tab (#6563)
bit scope-rename
---refactor
flag now rename aspect-ids inworkspace.jsonc
(#6564)bit status
identify duplicate component and package (#6546)- Show component-issue during
status
andtag
when tracked component exists as a package inworkspace.jsonc
. (#6546) - Slot for aspects to register component-issues in
status
. (#6546) bit import --dependents
- builds a graph of all components in the workspace, searches for all paths from them to the target component-id(s) given in the command and imports them.(#6552)status
always show the full-id (#6201)bit graph
supports JSON output with--json
(#6497)- Lanes: Lane Switcher: Switch between all available lanes in Workspace and Scope (#6330)
bit status
supports showing updates from forked lanes (#6575)bit lane
show the full lane-id (#6561)bit lane merge
shows a summary report of component state (merged/unchanged/failed/snapped) (#6500)- feat: add a new "FetchMissingHistory" action (#6595)
- add parents to graphql component log (#6585)
Changes
- breaking: change
modifiedComponent
tomodifiedComponents
in the status json output. (#6201) bit build
- replace--all
flag with--unmodified
(#6553)- Improve status API to return ComponentIDs and not legacy IDs. (#6201)
bit status --json
returns component-ids, not the whole component objects. (#6201)- Switch command alias with command name. (#6508)
- Do not store env version in the envs data in model (#6511)
Bug Fixes
- Dependency drawer scrollable (#6550)
bit remove
- fix "Maximum call stack size exceeded" error when the graph deps is huge (#6565)- Allow recovering when objects are corrupted (#6559)
- Avoid clearing the screen during bit-watch (#6503)
- Add missing packages if specify by end and install shared peers in root if has supported range (#6512)
- Fix scope ui drawer (#6574)
- Avoid saving duplicate aspects to the model or
tag
orsnap
(#6567) bit aspect update
- indicate in the output when components are up to date (#6566)- Validate env policy configs before proceeding with installation (#6525)
- Fix missing head history when on a lane (#6549)
bit show
- avoid throwingEnvNotFound
when running on a remote component (#6556)- Fix node env template (#6555)
- Fix react env minor (#6526)
- Fix
createEsmCompilerTask
signature - Finding local-tags more consistent by always checking diverge-data (#6517)
- Avoid throwing from remotes when fetch-object fails (#6539)
- Fix scope pane layout (#6540)
- Download artifacts from unmerged-lane-id when applicable (#6537)
- Fix snap order + lane component -
useComponentFilters
(#6527) - Fix export on lane when a non-lane-scope has some history on the main-ref (#6530)
bit export
- fixparent-not-found
error when sending multiple snaps to a remote (#6528)bit lane merge
merge components that exist on a local-lane and in.bitmap
withisAvailableOnCurrentLane=false
(#6521)- Avoid throwing
ComponentNotFound
when.bitmap
has a non-exist version on the scope (#6496) bit install
show a clear error when running outside a workspace (#6522)- Fix finding local-versions when on a lane (#6519)
- Don't fail when error from pnpm doesn't have an error code (#6520)
bit reset
- make local-versions on lane be aware of main to not reset it (#6516)bit export
- send only objects needed when exporting on lane and do not rely on the cache (#6504)bit import
- exclude lane-only components when importing entire scope (#6499)- change config overflow-x to auto from scroll (#6591)
- refresh envs filter between lanes (#6590)
- fix: retry to delete pending-objects dir in case of ENOTEMPTY error (#6588)
- fix ParentNotFound error to be shown when is coming from the remote (#6586)
- load dependencies from unmerged head of components (#6584)
- fix: peer dependencies should be hoisted when root components are used (#6562)
Performance
- Avoid refetching unbuilt versions when building a graph (#6579)
- Improve loading performance when some dependencies in the graph are build pending (#6568)
- Fetch unbuilt version objects only during
bit import
(#6572) - Keep memory consumption sane when traversing history during fetch (#6541)
- Fix high memory consumption of
fetchWithDeps
(#6534) bit export
- improve lane export performance (#6507)- perf: avoid loading aspects that are not declared as dependencies in the manifests (#6587)
Internal
- Update pnpm dependencies (#6547)
- Avoid building the graphs for multiple envs in parallel (#6577)
- Remove
importManyWithAllVersions
, refactor some import methods (#6542) - Move some import methods from legacy to Importer aspect. (#6542)
- Change
applyVersion
of the merge command to not run in parallel, so then it won't runimportMany
in parallel. (#6542) - Avoid reading the same files from the filesystem if they already sent to the client in the previous versions (#6542)
- Move some functions from sources to Snapping aspect (#6523)
- Logging network configuration settings (#6513)
- Avoid caching the component-graph (#6501)
- upgrade post css modules (#6598)
- chore: update minimatch to 3.0.5 (#6596)
- recursively parse export specifiers (#6594)
- eject design pill label component (#6589)
- extract compositions-overview ui into a dedicated component (#6583)
v14.8.8
Bug Fixes
- resolve performance regression by fixing the dependency resolution cache
- fix ssh command by reverting another fix of "write after end" error
- facilitate debugging by showing the entire stacktrace formatted when BIT_LOG is set
v14.8.7
v14.8.6
- add an option to not use load scope from cache for pkg extension
v14.8.5
v14.8.4
- add an option to not use cache when loading scope
- do not use scope cache by default when loading scope programmatically
v14.8.3
Bug Fixes
- #2780 - fix dists codemod of changing one scope to another to not be triggered without --rewire flag
- add timeout option for load core extension via api
Internal
- wait for harmony to load if you load it many times in parallel via the api
- expose extensions declarations and instances from api
v14.8.2
Bug Fixes
- do not show loader for internal commands
- fix error when trying to load extension in a folder which is not a workspace or scope
v14.8.1
Bug Fixes
- fix dependency detection for css/scss files
- improve error handling