bit

A build system for development of composable software.

OTHER License

Downloads
64.9K
Stars
17.8K
Committers
79

Bot releases are hidden (Show)

bit - v1.5.13

Published by GiladShoham 11 months ago

Bug Fixes

  • Fix loading ESM aspects on Windows

Changes

  • Introduce new Node templates from bitdev.node/node-env (#8234)
  • Introduce new Node templates from bitdev.react/react-env (#8233 #8235)
  • Update output suggestions in various commands (#8232 #8230)

Internal

  • Disable the ability to cancel object sync operations (#8239)
  • Keep aborted commands in command-history log (#8241)
  • Introduce a new API for workspaceHistory to get .bitmap diffs over time (#8237 #8236)
bit - v1.5.9

Published by GiladShoham 11 months ago

New Features

  • Ability for bit build to --include-snap or --include-tag to also run tasks from release pipelines (#8224)
  • Support patterns for all commands, to better run control which components to operate on (#8188)
    • State filters $modified, $new, $deprecated, $deleted, $snappedOnMain, $softTagged and $codeModified
    • States with parameters ($env:teambit.react/react)
    • Filtering by a state and a pattern with the AND keyword ($modified AND **/ui/**)

Changes

  • Add more content to the App build and deploy contexts (#8227 #8221 #8209 #8226 #8216 #8222 #8229)
  • Upgrade nodejs to v20.10.0 (#8211 #8215 #8199 #8201)
  • By default .env files are not added to component artifacts (#8198)

Bug Fixes

  • Fix incorrect "compiling 0 components" message on bit watch (#8219)
  • Fix merge conflict advice for bit checkout (#8203)
  • Fix sidebar to handle missing status in cloud (#8196)
  • Fix an issue where lane merge tried writing multiple times to .bitmap (#8185)
  • Fix an issue where resolution prioritized workspace over .bitmap (#8206)

Internal

  • New fetch-retry mechanism for HTTP requests (#8228)
  • Add options to disable cors for graphql server (#8193)
  • ESM support for core aspects (#8194 #8195 #8208)
  • Bundle Bit CLI with pnpm (#8090 #8191)
  • Remove dead code (#8212 #8210 #8205 #8204 #8197)
  • Enable --compile flag for Bit Server command (#8218)
  • Ignore errors when copying lock file from capsule cache to local capsule (#8202)
  • Simplify get-diverge-data (#8213)
  • Add data whether a file is a dev-file in the missing-packages issue (#8223)
bit - v1.4.0

Published by GiladShoham 11 months ago

New features

  • Ability to link to specific line in file and composition files (#8175 #8157)
  • Templates that implement an app or an env can trigger install when used by bit create (#8160)
  • Ability to filter components on bit scope fork (#8187)

Changes

  • Support ESM for Bit Apps (#8189)
    • Watch and compile component changes in the workspace by adding --watch
    • Persist URL and timestamp post app deployment
    • Better error handling for loading plugins.
  • Version history graph show tags, lane heads and more (#8178)
  • Specify depth to search deps for bit why (#8163)

Performance

  • Avoid traversing unrelated snaps (#8174)
  • Introduce fetch queues to avoid slow fetch queries blocking the scope (#8167)
  • Avoid running compile/install if no component ended up written to the file system (#8186)

Bug fixes

  • Various UI fixes (#8190)
  • Fix an issue where during rename scope-name wasn't set correctly in targetId (#8183)
  • Do not trigger missing-files error in bit status when the file exists in the same component with a different extension (#8182)
  • Better handle of restoring configs and data when aborting a lane merge (#8179)
  • When running diff between lanes, ensure common snaps are imported (#8166)
  • Do not install envs configured in generator if they are in the workspace (#8159)

Internal

  • Save metadata when backing up .bitmap files (#8165)
  • Support ESM for core Bit aspects (#8181 #8170 #8180 #8156)
  • Remove dead code and dependencies (#8184 #8164)
  • Update pnpm (#8161)
  • Update Bit request headers for easy debugging (#8173 #8162)
bit - v1.3.24

Published by GiladShoham 11 months ago

New Features

  • New bit why command to shows all components that depend on the specified package or component (#7959)

Changes

  • Auto install envs that are configure in workspace.jsonc list of generators, so you don't need to add it as a dependency (#8151)
  • Update templates available on bit templates (#8152)

Bug fixes

  • Ensure compile adds component links to node_modules and updates package.json correctly (#8153)
  • Fix HMR when editing component *docs.mdx files (#8144)
  • Fix an issue where creation of config files caused confusion for IDE language services (#8155)
  • Various CLI output fixes to improve DX (#8149, #8154, #8139)
  • Various UI fixes (#8145, #8141, #8095)

Internal

  • Eject components from the repository (#8150, #8143)
  • Update dependencies (#8137, #8140)
  • Make the compilation during watch configurable (#8148)
  • Config class to return extensions from ConsumerComponent instance (#8147)
  • Disable limit when fetching component data (#8142)
bit - v1.3.21

Published by GiladShoham 11 months ago

New Features

  • Ability to filter components by environment on bit import (#8047)
  • Support require.resolve for automated dependency detection (#8118 #8128 #8116)

Changes

  • Support maintaining components with the same name but of different scope in the same workspace (#8000 #8070 #8065)
  • Update config files on various workflows to keep IDE language tools in sync with Bit Components (#8042)
  • Update "core" templates (#8135 #8103)

Performance

  • Improve HMR for bit start by updating dev server managed paths (#8067 #8062)
  • Get faster bit status results by setting --ignore-circular-dependencies (#8083)

Bug Fixes

  • Various UI fixes (#8088 #8075 #8059 #8117 #8130 #8122 #8094 #8123)
  • Various CLI output fixes (#8056 #8055 #8111 #8121)
  • Gracefully handle invalid aspects or configs set for old components (#8054)
  • Fix an issue where too many internal node_modules directories were generated (#8072)
  • Fix an issue where on bit list --json not all component IDs where string (#8078)
  • Fix an issue where aspect wasn't set with - in component.jsonc when using bit aspect unset (#8060)
  • Fix an issue where aspects wasn't able to load if configured both in root workspace.jsonc and in dependency policy (#8068)
  • Fix issues of linking generated package.json file (#8043 #8049 #8101)
  • Fix an issue where too much information was saved for node application artifacts (#8063)
  • Fix an issue where peerDependencies of core envs weren't read from the correct object (#8038)
  • Fix an issue where a component that was removed from a lane got re-added (#8115)

Internal

  • Always use core aspects as links from node_modules, do not install them (#8093)
  • Eject un-needed components (#8071 #8045 #8044)
  • Update various dependencies (#8046 #8086 #8084 #8081 #8104)
  • Ability to get bit version via API (#8085)
  • Better object cleanup during bit reset --never-exported (#8100)
  • Config package manager to support dry-run installation (#8051)
  • Fix several E2E tests (#8074 #8058)
  • Better handling of symlinks from node_modules to BVM install location (#7696)
  • Improve loading lane data (#8079 #8064 #8092)
  • Support setting component's env with a prop on the template instance (#8091)
  • Improve linking of core aspects for bvm >= 1.0.0 (#8102)
bit - v1.2.7

Published by GiladShoham about 1 year ago

Performance

  • Faster bit install in a workspace with PNPM, for macOS, when pnpm-lock file is present (#8037, #8033, #8025)

Bug Fixes

  • Fix an issue where build is successful but docs are still not rendered (#8036)
  • Fix links to docs in bit status output (#7947)
  • Improve outputs for bit update (#8034)
  • Fix an issue where workspace configuration wasn't refreshed when workspace.jsonc changed (#8027)
  • Fix install output to print the dependency chain to a package that failed to be fetched (#8026)
  • Fix --eject flag for bit export (#8016)

Internal

  • Remove jsx-to-string (#8035, #8039)
  • Remove legacy code about adding individual files for bit add (#8023)
  • Remove the unused --from-lane flag of bit remove (#8015)
  • Support dynamic hash length (#8006)
  • Load ui from pre-bundle when start on bare scope (#8028)
bit - v1.2.0

Published by GiladShoham about 1 year ago

IMPORTANT UPGRADE NOTE

This changes .bitmap contents. Once you run a command with this version in any workspace, the contents of .bitmap will change.
The update is backwards compatible - if some team members use older release of Bit, they can still operate in the workspace.
Please make sure to commit the .bitmap changes.

New Features

  • Experimental - Support having multiple components with the same name but different scope in the same workspace (bit config set allow-same-name true) (#7897)
  • Experimental - Support linking of peer-dependencies for bit link --target with the new --peer option (#7990)

Changes

  • Add a warning when tagging on main without --build (#7991)
  • Prints an output to the terminal with link to remote build task, if relevant (#8002)
  • Add outdir to tsconfig to better handle it for ws-config write (#7987)

Bug Fixes

  • Fix an issue where lane gets exported after lane rename (#8007)
  • Fix file-history to be compared against parent, not previous snap (#8008)
  • Fix an issue where extensions generated in old Bit version got duplicated (#7992)
  • Fix an issue where defaultScope was missing in .bitmap entries (#8005)

Internal

  • During tag or snap, clear status-cache when a component is modified (#8003)
  • Support ignorePackageManifest option to the pnpm package manager aspect (#8001)
  • Support extracting schema for react components without props (#7996)
  • Replace ShowDoctorError with BitError (#7995)
  • Support caching of the lock file only for scope aspects capsules (#7994)
bit - v1.1.0

Published by GiladShoham about 1 year ago

New Features

  • Select internal files or dirs to avoid tracking by adding a .bitignore file within component directory (#7967)
  • Test all local components with new bit test --unmodified option (#7847)
  • Ability to only update lock-file with bit install --lockfile-only, without re-installing node_modules directory (#7926)

Changes

  • bit update updates components according to their compatible versions from workspace.jsonc or from package.json (#7809)
  • Improve automated API reference, including custom highlighting, re-export of types and support links to external packages (#7977 #7981 #7976 #7975 #7966 #7969 #7965 #7951 #7914)
  • Allow envs to register multiple app types (#7970)

Performance

  • Improve loading speed of component overview by lazy load monaco editor (#7921)

Bug Fixes

  • Fix out-of-memory error during bit install peers resolution (#7986)
  • Fixed an issue with list returned deleted components (#7929)
  • Various UI fixes (#7935 #7934 #7913 #7922 #7932)
  • Various CLI output fixes (#7941 #7937 #7979 #7980 #7952 #7978)
  • Fix an issue where a component without a build output caused odd merge issues (#7953)

Internal

  • Add new empty state integration slot to component docs overview (#7963)
  • Update dependencies (#7930 #7931 #7962)
  • Move components to be dependencies (#7982)
  • Use latest main aspect location when searching for aspects to load (#7956)
  • Remove legacy js-doc parser when extracting doc description (#7943)
  • Work toward allowing multiple components with same name, but of different scopes (#7960)
  • Move the check for missing-dist from onLoad slot to status and snap/tag only (#7974)
  • Improve ArtifactDefinition API by deprecating the confusing props: directories, rootDir and dirPrefix (#7973)
  • Remove legacy sass loader syntax (~) (#7925)
  • Support exporting only the head tag, not all history (#7954)
  • Remove currentLaneId from cache when running in a workspace (#7944)
bit - v1.0.0

Published by GiladShoham about 1 year ago

Breaking changes between 1.0.0 and previous versions

These are the major changes coming to version 1.0.0 and how to adapt them to your workflow.

  • Default registry for dependency resolution changed for teams using bit.cloud. Starting from version 1.0.0, dependencies will be resolved from node-registry.bit.cloud instead of node.bit.cloud. You will need to delete your lockfile for this to take effect. node.bit.cloud is still supported, but we recommend migrating to node-registry.bit.cloud.
  • Remote builds turned "on" by default. This change comes to integrate your workspaces with RippleCI. We urge you to take a look at this flow.
    • If your automation flow uses bit tag --soft and bit tag --persist combo, it is still supported and you do not need to make any changes.
    • If you run your tag or snap fully from your local, you will need to add the --build flag to your syntax, or set bit config set force_local_build true for Bit's local config.

Please read more about these changes in Bit's announcement post for RippleCI on our blog.

Changes

  • Set remote build to true to build on Ripple (#7859)
  • Set new registry by default (node-registry.bit.cloud) (#7870)
  • Skip validating any component issues for components marked to be deleted (#7896)
  • Remove versions from lockfile of envs from the current workspace (#7888)
  • update command to support multiple, comma-separated patterns (#7881)
  • Removed teambit.workspace/variants from base workspace.jsonc template (#7879)
  • Removed outdated video from tests blank state screen (#7893)

Performance

  • Update pnpm to a 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)
  • Prefer versions in .bitmap to be tags, if possible (#7891)
  • Fix issues causing Yarn to fail when configured for bit install (#7887)
  • 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 examples in update's --help output (#7803)
  • Fix links to docs from .bitmap (#7869)
  • Fix cases where bit start was not open on default browser (#7899)
  • Fix a case where previous env was set for a forked component (#7918)
  • Fix an issue where generated package.json was in a broken state (#7919)
  • Add more descriptive error when there is no scope available on tag (#7912)
  • Improve error message when a component template was not found (#7886)
  • Stop the checkout if some components failed (#7904)
  • Fix issue where a Vue workspace failed to generate (#7894)

Internal

  • Reduce the amount of paths ws-config write targets to write config files (#7865)
  • Write to fs-cache gracefully (#7883)
  • Preserve pnpm stack-trace when re-throwing errors from Bit (#7889)
  • Allow passing metadata from the previous build to the deploy pipeline (#7874)
  • Update dependencies (#7878)
  • Add additional metadata for API transformer and schemas (#7472)
  • Use forked @teambit/chokidar and switch back to FsEvents (#7915)
  • Fix a case where yarn's peerDeps were not set as deps for Bit (#7909)
  • Remove @types/webpack-dev-server (#7911)
  • Update @babel/preset-react and @babel/preset-typesscript (#7908)
  • Replace deprecated babel plugins with new ones + minor deps updates (#7905)
bit - v0.2.51

Published by GiladShoham about 1 year ago

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 base workspace.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

  • Reduce the amount of paths ws-config write targets to write config files (#7865)
  • Write to fs-cache gracefully (#7883)
  • Preserve pnpm stack-trace when re-throwing errors from Bit (#7889)
  • Allow passing metadata from the previous build to the deploy pipeline (#7874)
  • Update dependencies (#7878)
bit - v0.2.40

Published by GiladShoham about 1 year ago

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 during bit 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)
bit - v0.2.23 - DEPRECATED

Published by GiladShoham about 1 year ago

DEPRECATED
Use version 0.2.24 instead

bit - v0.2.24

Published by GiladShoham about 1 year ago

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 and tag 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 of bit new (#7661)
  • Improve error when snapping/tagging a dependency from another lane to suggest solutions (#7728)
  • Support a new component-issue of RemovedDependencies during bit 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

  • Update dependencies (#7716, #7714, #7771, #7756, #7747, #7721)
  • Improve envs types (#7715)
  • Replace fs.remove with rimraf when clean capsules (#7722)
  • Allow setting a location for Aspect cache (#7725)
bit - v0.2.14

Published by GiladShoham about 1 year ago

New Features

  • Introduce a new command to abort the last lane merge lane merge-abort (#7670 #7698)

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 from build 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 missing tsconfig.jsonc (#7669)

Internal

  • Update dependencies (#7687 #7660 #7662 #7656)
  • Support argument description when generating CLI reference (#7685)
  • Rebuild local component index upon clearing scope cache (#7688)
bit - v0.2.3

Published by GiladShoham over 1 year ago

New features

  • New command bit revert to revert a component that is currently in a lane back to main (#7649)
  • Ability to solve merge conflicts for .bitmap files with a bit 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 for tag and sign 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)
bit - v0.1.74

Published by GiladShoham over 1 year ago

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 for new and create 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 during bit install (#7523)
  • Load @teambit/harmony config from browser.window if possible (#7516)
  • Support excludeLinksFromLockfile and lockfileOnly for pnpm aspect (#7518 #7548)
bit - v0.1.62

Published by GiladShoham over 1 year ago

Changes

  • Better error messages and outputs (#7505 #7481 #7455 #7496 #7483)
  • Support pnpm's preferOffline (#7509)
  • Explicitly don't copy pkg config on bit fork (#7495)
  • Make rootComponents:true by default on bit init (#7419)
  • Exit with code 1 when bit format --check found errors (#7469)
  • Support schema extractor to run on bare scope (#7474)
  • bit new support scope without an owner prefix (#7471)

Performance

  • Improve performance for fetch and import (#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 error failed 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

  • Various dependency management chores (#7499 #7494 #7479)
  • Remove dead code (#7510 #7503 #7478 #7452)
bit - v0.1.52

Published by GiladShoham over 1 year ago

New Features

  • Use the --fail-fast option to exist the build process (and log the error) when a build task fails (use with bit 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 for TesterMain (#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 and importManyIfMissingWithoutDeps (#7428)
bit - v0.1.48

Published by GiladShoham over 1 year ago

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)
bit - v0.1.42

Published by GiladShoham over 1 year ago

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 version 5.81.1 (#7389, #7390)
  • Webpack Dev Server upgraded from version 4.1.1 to version 4.15.0 (#7389, #7390)
  • Removed: bit checkout --reset and bit 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 the workspace.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 to scope-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)