Releases: teambit/bit
Releases · teambit/bit
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)
v0.1.42
New Features
- React (core) env and react (core) app types can be configured to use a different instance of webpack and webpack dev server (#7382, #7385)
- Generate a visual graph (PNG file) with the component's history when running
bit cat-version-history COMPONENT_ID --graph
(#7377)
Changes
- Webpack upgraded from version
5.51.0
to version5.81.1
(#7389, #7390) - Webpack Dev Server upgraded from version
4.1.1
to version4.15.0
(#7389, #7390) - Removed:
bit checkout --reset
andbit checkout --skip-npm-install
(#7396)
Performance
- Serve pre-built Workspae UI artifacts to boost
bit start
loading time (#7336) - Workspace components are no longer loaded on
bit run APP_NAME
(#7379) - Aspects that are listed as another aspect dependencies (
static dependencies = []
) are only loaded if they are listed in theworkspace.jsonc
(#7370)
Bug Fixes
- Better handling of circular dependencies to avoid infinite loops (#7355)
- Improve 'lanes' stability (#7397, #7391, #7388, #7275, #7386, #7378, #7376)
- When importing a component, add to
.bitmap
file before starting the installation process (#7392) - Resolve peer dependencies correctly in preview-template-task (#7395)
- Merge ModelComponent from different remotes (#7401)
- Clean node_modules only after all iteration of installation were completed to avoid irrelevant error messages (#7369)
Internal
- Move checkout-version from legacy to 'checkout' aspect (#7399)
- Rename
component-index.ts
toscope-index.ts
according to the class name (#7398) - Extend 'artifact storage error' to with the original error message (#7393)
- Include component peer dependencies in the capsule component dependency graph (#7383)
- Push all snaps from the original lane to the forked lane scope (#7380)
- Improve http e2e-tests to show the full error from bit-start process (#7375)
v0.1.36
New Features
bit add
support--env
for setting up environment on component tracking (#7330)- Ability to pass
OverviewOptions
to component overview for more flexible component documentation (#7292) bit doctor
now supports--archive
to tar an entire workspace to help reproduce issues (#7324)
Changes
- Improved outputs for various commands and help outputs (#7358, #7362, #7313, #7306, #7349, #7366, #7353)
bit remove
- improve syntax for--soft
and--remote
delete by moving to--delete
and--hard
(#7333)- When running
bit env update
, ensure components resolve env from workspace, if env is local (#7319)
Performance
- Improvements for dependency installation performance (#7339, #7338)
- Improve performance for fetching component data from server (#7352, #7360, #7335, #7334, #7325, #7317)
- Lazy load artifact contents (#7316)
- Filter core-aspects from aspect loading (#7344)
Bug Fixes
- Solved an issue where
ws-config
didn't pass absolute path totsconfig
foreslint
(#7348) - Fix several cases where component preview URL was not aligned, causing no documentation after export (#7357, #7342, #7341, #7326)
- Fix error of log.message being
boolean
uponbit import
(#7311) - Support additional "out of sync" case for Bit and Git, where need to recreate lane if local scope is new (#7329)
- Avoid showing workspace conflicts when it Semver satisfied (#7351)
- Block bit-sign to be running from the workspace (#7328)
- Save env-id in
.bitmap
without a version when the env exists in the workspace (#7314) - only clean
node_modules
on the first install (#7310) - Add missing deps that are present in root policies to component manifests (#7307)
bit create
gracefully link component tonode_modules
(#7251)
Internal
- Generate UI pre-bundle for
bit start
(#7293) - Removing irrelevant dependencies (#7327, #7331, #7312)
- Fetch current lane object first to find new comps (#7361)
- Change the object cache default limit from 10K to 5K (#7315)
- Exclude
ui-bundle
folder from.npmignore
for core aspect (#7364) - Remove open-connections from the log on failure (#7359)
- Log IDs to fetch if they are less than 10 (#7320)
- Stop saving
flattenedEdges
inside the Version object (#7318) - Show a warning when operating against a very slow remote scope (#7345)
- Remove experimental
write-tsconfig
command (moved tows-config
) (#7350)
v0.1.27
New Features
- Introduce a new command
recover
to recover soft-removed components (#7225) - Ability to build type-components (#7252)
- Allow environments to include custom dependency detectors (#7199)
- Introduce a new command
bit system log
to printdebug.log
(#7300)
Changes
- Compile renamed components gracefully upon
bit rename
(#7250) - Default to show capsule-list when no sub-command was entered for
bit capsule
(#7249) - Improved UI for Lane & Component Compare (#7243 #7262 #7233 #7254 #7279)
scope rename
defaults to remove old links, create new links and compile (#7261)- Control abs/relative path for generated
ws-config
file. - Automated API Reference support
isOptional
(#7238)
Performance
- Improve writing files performance by disabling fsync (#7226)
- Avoid importing-delta when isolating non-modified comps (#7284)
- Improve import performance when using
--aspect
(#7280)
Bug Fixes
- Fixes for
ws-config
command (#7234 #7212) - Handle cases where
bit install
wanted to run more then once (#7210 #7209) - Better error handling and improved messages (#7248 #7223 #7244 #7286 #7281 #7302)
- Protect from various edge cases in Lanes (#7258 #7211 #7242 #7285)
tag
/snap
- validate message type to be string (#7239, #7278)- Clear workspace cache before calculating component manifests (#7224)
- Resolve ts-server from bit bundle (#7232)
- Load (missing) non loaded aspects from components (#7222)
- Fix homepage in
package.json
(#7220) - Avoid overriding mutated Version objects (#7216)
- Skip broken symlinks when copying components to
.bit_roots
(#7214) rename
- in case of renaming aspect, update.bitmap
config records accordingly (#7272)- Better support for yarn global cache creation on Windows (#7283)
Internal
- Dependency audit fixes (#7218 #7215 #7236)
- Add additional e2e tests for various found edge cases (#7259 #7253 #7247)
- Add a map of
hash:component-id
for signed components (#7270) - Improve outputs for capsule creation and install command (#7267 #7291)
- Use deps resolver to calculate component package name (#7266)
- Update pnpm to v8 (#7263)
- Dedicate a helper method for remote-remove (#7257)
- Update Yarn (#6762)
- Revert legacy detective entries (#7237)
- Move detectors to
package.json
to make them available by Bit-legacy - Revamp: replace detectives with bit components (#7228)
- Eject UI Comps (#7206)
- Better control over setting dependencies for aspects (#7294 #7295)
- Improve logging for various actions (#7303 #7299)
- Make webpack configs type more relaxed (#7287)
- Upgrade node to v16.16 on windows for circle ci (#7277)
- Resolve env version when returning env descriptor from component graphql (#7290)
v0.1.11
New Features
- Introduce
--reset-lane-new
forbit init
to only reset lane components to new (#7184) - Introduce experimental
bit ws-config
command to add tooling configs to the workspace and sync with IDE (#7171 #7197) - Ability to edit HTML Template from config mutator (#7144)
Changes
Bit rename
to rename files/variables/classes by default (#7168)- Show component-name in bold in
snap
andtag
outputs (#7175) - Refresh UI for Lane Selector (#7154 #7186)
Bug Fixes
- Alias
--scope
for--remote-scope
for consistency in various commands (#7194) - Improve lane merge workflow (#7208 #7149 #7192 #7092)
- Adding guardrails when using lanes (#7185 #7190 #7178)
- Allow removing local lanes with the full-id (#7193)
- Improve logs when installing packages on capsule (#7202)
- Don't crash on symlinked directories when hard linking all files of a dir (on windows) (#7182)
- Resolving tsserver client (#7207)
Internal
- Avoid ignoring components that their ComponentMap is missing (#7183)
- Avoid compiling scope components (#7188)
- Fix
onLoad
event for component preview (#7195) - Set public-hoist-pattern to
*
when shamefully-hoist istrue
(#7201) - Add husky:install npm script (#7205)
- docs, fix the description of WorkspaceContext.import method (#7203)
- Add ability to provide alternateDescriptionPrefix LongProcessLogger.end function (#7200)
- Eject design ui contributors (#7198)
- Remove
EXPORT_CENTRAL
feature-flag, it is the default for a while now (#7164) - Add sqlite3 & sqlite as dependencies (#7177)
- Make sure to load envs first when loading a list of aspects (#7179)
- Link dependencies before installation (#7145)
- Update README.md (#7173)
- Save the
flattenedEdges
as a ref inside Version object (#7181)
v0.1.7
Changes
- Set
--entire-lane
flag as default forbit lane checkout
(#7152)
Bug Fixes
- Load envs' templates correctly from
workspace.jsonc
(#7172) - Fetch versions that are shown in
.bitmap
but not in the lane object (#7167) - Allow ignoring files from components root-dir (#7163)
- Write objects atomically (#7160)
- Fix compilation error for content/cli-reference component (#7162)
- Avoid loading envs that are not set via envs/envs if found an env previously (#7153)
- Allow
aspect-unset
without specifying the aspect version (#7157) - Fix error "dest already exists" when removing a restored lane (#7156)
- Consume plugin: display version for bit import, snap (#7151)
Internal
v0.1.4
New Features
- Support generating a component for
bit create
with--aspect
or--env
option (#7093) - Introduce "bit fork --no-link" flag to avoid saving a reference to the original comp (#7140)
- Add option for
bit login
to pass custom login url (#7143)
Changes
--rename
flag is now default forbit fork
(#7146)- Remove pre-render by default from the react app template (#7132)
Bug Fixes
- Fix Package version for snaps on main in use-dropdown (#7141)
- On changing scope for a lane, block when lane is exported, throw when scope-name is invalid (#7139)
- On
bit status
avoid showing components as pending-update when their remote-lane is empty (#7138) - Handle soft-remove on a new lane and import soft-removed components (#7137)
- Add EnvId in preview url (#7136)
- Fetch artifacts from
main
if possible (#7134) - Fix error text for
bit reset
, change untag to reset (#7130) - Fix incorrect domain in for new cloud (#7129)
- Fix
VersionNotFound
error when resetting a lane after merge (#7121) - Remove
*
from url in Readme (#7108)
Internal
v0.1.0
New Features
- Allow querying explicitly tagged exports for component schema (#7125)
- Introduce "bit import --track-only" to only write entries to
.bitmap
(#7117)
Changes
- Add note to lane create output if branched off non default lane on
lane create
(#7126) - Improve output around the current lane for
bit status
(#7114) - Block soft-remove main components when on a lane (#7112)
Performance
- Update sourcemaps for faster builds of local dev-server (#7115)
Bug Fixes
- Fix viewing new components on main (#7123)
- Tag soft-removed components when using
--unmodified
flag (#7113) - Show the ids of pending-import in the error message (#7110)
- Mark components as removed when the snap/tag was with ignore-issues (#7111)
- Compare UI Fixes (#7102)
- Fix error "exists in flattenedEdges but not in flattened" (#7107)
- Avoid checking for soft-remove when using
bit lane list --remote
(#7099)
Internal
- Support generating artifacts when
bit sign
on snaps (#7116) - Store envs data for env itself + load envs as aspect from scope (#7124)
- Dedupe peer dependents (#7122)
- Push artifacts to original scopes (#7119)
- Resolve (installed) aspects in workspace from its
node_modules
(#6901) - Use the Version objects sent to the remote to indicate what was exported (#7109)
- Import missing artifacts before starting the merge process (#7103)
- Avoid adding deps from scope into merge-config (#7100)
- Components Drawer: show Local changes to Lane Components (#7072)
- Logging when zlib error is coming from the remote (#7097)
- Return an empty object from a plugin auto generated provider (#7095)
- Change a version coming from merge-config from a range to an exact version (#7096)