Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@salesforce/source-tracking

forcedotcom620.3kBSD-3-Clause7.3.9TypeScript support: included

API for tracking local and remote Salesforce metadata changes

force, salesforce, sfdx, salesforcedx, source, tracking

readme

source-tracking

JavaScript library for tracking local and remote Salesforce metadata changes.

Issues

Please report all issues to issues only repository.

Usage

You should use the class named SourceTracking.

Start like this:

import { SourceTracking } from '@salesforce/source-tracking';

const tracking = await SourceTracking.create({
  org: this.org, // Org from sfdx-core
  project: this.project, // Project from sfdx-core
});

Any calls to methods on your instance of tracking will check to make sure that the appropriate remote/local files are up to date and loaded.

If you know you need to access remote or local, you can ensure them so that the FS and API operations don't happen multiple time (useful before calling operations that run in parallel)

await tracking.ensureRemoteTracking(); // pass `true` if you know you need to force a re-query.
// Example: the library got Remote Changes from the server, but you just did a deploy and know you need to get the updated SourceMembers.

await tracking.ensureLocalTracking();

Use cases

  1. push,pull,status: getConflicts(), getChanges()
  2. deploy/retrieve: updateLocalTracking(),updateRemoteTracking

Deploy

  1. Once your SDR-based deploy finishes, you need to update the client's tracking files for both local (because local files went to the server) AND remote (because your deployment will result in new SourceMembers that need to be synced to the client).
// send in two arrays of Files (nonDeletes and Deletes)
await tracking.updateLocalTracking({
  deployedFiles: ['force-app/main/default/classes/MyClass.cls', 'force-app/main/default/classes/MyClass.cls-meta.xml'],
  deletedFiles: [],
});

// Pass an array of objects.  The type comes from SDR's FileResponse type, Success variant
// By default, it'll poll the server to get your SourceMembers before committing all the changes to the tracking files
await tracking.updateRemoteTracking([
  {
    fullName: 'MyClass',
    type: 'ApexClass',
    state: 'Changed',
    filePath: 'force-app/main/default/classes/MyClass.cls',
  },
  {
    fullName: 'MyClass',
    type: 'ApexClass',
    state: 'Changed',
    filePath: 'force-app/main/default/classes/MyClass.cls-meta.xml',
  },
]);

Retrieve

Once your retrieve finishes, use the same updateLocalTracking as you did for deploy to commit the file changes to local and remote changes.

// By default, it'll poll the server to get your SourceMembers before committing all the changes to the tracking files.  If you already queried sourceMembers as part of conflict check, etc you can pass `false` to prevent polling the server again for SourceMembers
await tracking.updateRemoteTracking(
  [
    {
      fullName: 'MyClass',
      type: 'ApexClass',
      state: 'Changed',
      filePath: 'force-app/main/default/classes/MyClass.cls',
    },
    {
      fullName: 'MyClass',
      type: 'ApexClass',
      state: 'Changed',
      filePath: 'force-app/main/default/classes/MyClass.cls-meta.xml',
    },
  ],
  false
);

changelog

7.3.9 (2025-01-22)

Bug Fixes

  • bump SDR version to 12.12.4 (78ae905)

7.3.8 (2025-01-18)

Bug Fixes

  • deps: bump @salesforce/core from 8.8.0 to 8.8.2 (071355c)

7.3.7 (2025-01-15)

Bug Fixes

  • reused instances don't keep cache (3814cd7)

7.3.6 (2025-01-07)

Bug Fixes

7.3.5 (2025-01-04)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve (cb09e26)

7.3.4 (2024-12-21)

Bug Fixes

  • deps: bump @oclif/core from 4.0.34 to 4.2.0 (25c8ee2)

7.3.3 (2024-12-21)

Bug Fixes

  • deps: bump fast-xml-parser from 4.5.0 to 4.5.1 (f549b70)

7.3.2 (2024-12-14)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve (f876073)

7.3.1 (2024-12-07)

Bug Fixes

  • deps: bump @oclif/core from 4.0.33 to 4.0.34 (2dfd741)

7.3.0 (2024-12-05)

Bug Fixes

  • pass full paths for file resolution (ea41f30)

Features

  • query/store SourceMember modstore (2568ca5)

7.2.2 (2024-11-30)

Bug Fixes

  • deps: bump isomorphic-git from 1.27.1 to 1.27.2 (bb89f47)

7.2.1 (2024-11-30)

Bug Fixes

  • deps: bump @oclif/core from 4.0.32 to 4.0.33 (3865d72)

7.2.0 (2024-11-26)

Features

  • add memberIdOrName (d5bf6c6)
  • more fields from sourceMember (8096081)
  • query and cache usernames for ChangedBy (bce2668)

7.1.25 (2024-11-23)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve (89917f6)

7.1.24 (2024-11-17)

Bug Fixes

  • deps: bump @oclif/core from 4.0.31 to 4.0.32 (57aa4e7)

7.1.23 (2024-11-16)

Bug Fixes

  • deps: bump cross-spawn from 7.0.3 to 7.0.5 (daaf7db)

7.1.22 (2024-11-16)

Bug Fixes

  • deps: bump @salesforce/core from 8.6.4 to 8.8.0 (496ba9c)

7.1.21 (2024-11-09)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve (68e767f)

7.1.20 (2024-11-02)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve (3d7ddad)

7.1.19 (2024-10-30)

Bug Fixes

  • deps: bump @oclif/core from 4.0.23 to 4.0.31 (7ba0bcc)

7.1.18 (2024-10-30)

Bug Fixes

  • deps: bump @salesforce/core from 8.6.2 to 8.6.4 (52f721a)

7.1.17 (2024-10-05)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 12.7.1 to 12.7.4 (a896a15)

7.1.16 (2024-09-26)

Bug Fixes

  • deps: bump @oclif/core from 4.0.20 to 4.0.23 (f041783)

7.1.15 (2024-09-25)

Bug Fixes

  • resolve fullname correctly for EmailTemplateFolder (478b648)

7.1.14 (2024-09-07)

Bug Fixes

  • deps: bump @oclif/core from 4.0.19 to 4.0.20 (21ed1dd)

7.1.13 (2024-09-07)

Bug Fixes

  • deps: bump fast-xml-parser from 4.4.1 to 4.5.0 (cffcbfe)

7.1.12 (2024-09-05)

Bug Fixes

  • deps: bump @oclif/core from 4.0.18 to 4.0.19 (aefa86c)

7.1.11 (2024-09-04)

Bug Fixes

  • support SF_ and SFDX_ prefixed env vars (#668) (c64812e)

7.1.10 (2024-08-25)

Bug Fixes

  • deps: bump @oclif/core from 4.0.17 to 4.0.18 (b942a68)

7.1.9 (2024-08-24)

Bug Fixes

  • deps: bump micromatch from 4.0.5 to 4.0.8 (cb034f8)

7.1.8 (2024-08-24)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 12.4.0 to 12.5.1 (9d01874)

7.1.7 (2024-08-16)

Bug Fixes

  • look for xformer on labels parent type (0e6b593)

7.1.6 (2024-08-15)

7.1.6-qa.0 (2024-08-15)

Bug Fixes

  • limit special label handling to original (non-preset) (e13297c)
  • reuse already-generated registry for metadataKeys (dcbe398)

7.1.5 (2024-08-04)

Bug Fixes

  • deps: bump fast-xml-parser from 4.4.0 to 4.4.1 (4c532e5)

7.1.4 (2024-08-03)

Bug Fixes

  • deps: bump @salesforce/kit from 3.1.6 to 3.2.0 (09f9bf4)

7.1.3 (2024-08-03)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve (eaf0832)

7.1.2 (2024-07-30)

Bug Fixes

7.1.1 (2024-07-27)

Bug Fixes

  • deps: bump @oclif/core from 4.0.14 to 4.0.16 (79de152)

7.1.0 (2024-07-23)

7.0.10-qa.0 (2024-07-19)

Bug Fixes

  • don't do "delete only" for keys with type info in them (fa90725)
  • posix paths in all of move detection (6d48e6d)
  • readBlob must be posix (38c93da)
  • resolve types earlier (92daedf)
  • windows conversion is cached before detectFileMoves (c6f54ab)

7.0.5-qa.0 (2024-07-03)

Features

  • handle same basname/hash but different parents (9792420)

7.0.11 (2024-07-20)

Bug Fixes

  • deps: bump @oclif/core from 4.0.11 to 4.0.12 (b236bee)

7.0.10 (2024-07-20)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 12.1.5 to 12.1.8 (a7d6704)

7.0.10-qa.0 (2024-07-19)

Bug Fixes

  • don't do "delete only" for keys with type info in them (fa90725)
  • posix paths in all of move detection (6d48e6d)
  • readBlob must be posix (38c93da)
  • resolve types earlier (92daedf)
  • windows conversion is cached before detectFileMoves (c6f54ab)

7.0.5-qa.0 (2024-07-03)

Features

  • handle same basname/hash but different parents (9792420)

7.0.9 (2024-07-14)

Bug Fixes

  • deps: bump isomorphic-git from 1.27.0 to 1.27.1 (239edee)

7.0.8 (2024-07-13)

Bug Fixes

  • deps: bump @oclif/core from 4.0.8 to 4.0.11 (9a53e49)

7.0.7 (2024-07-06)

Bug Fixes

  • deps: bump isomorphic-git from 1.25.10 to 1.27.0 (b69b0e9)

7.0.6 (2024-07-05)

7.0.5 (2024-07-03)

Bug Fixes

  • deps: bump @oclif/core from 4.0.6 to 4.0.8 (e532792)

7.0.5-qa.0 (2024-07-03)

Features

  • handle same basname/hash but different parents (9792420)

7.0.5 (2024-07-03)

Bug Fixes

  • deps: bump @oclif/core from 4.0.6 to 4.0.8 (e532792)

7.0.4 (2024-06-28)

Bug Fixes

  • bad error message for missing components, ts5.5 (#622) (01144bc)

7.0.3 (2024-06-27)

Bug Fixes

  • ignore ExperienceResource SourceMember entries (#621) (d4351f7)

7.0.2 (2024-06-24)

Bug Fixes

7.0.1 (2024-06-20)

Bug Fixes

6.5.1 (2024-06-09)

Bug Fixes

  • deps: bump fast-xml-parser from 4.3.6 to 4.4.0 (13de75e)

6.5.0 (2024-06-07)

Features

  • handle the move-then-modify scenario (7ba53ae)

6.4.0 (2024-06-07)

Features

6.3.4 (2024-06-04)

Reverts

  • Revert "Mz/automation test bundling (#600)" (#602) (0e6fe38), closes #600 #602

6.3.3 (2024-06-01)

Bug Fixes

  • deps: bump ts-retry-promise from 0.8.0 to 0.8.1 (0e17212)

6.3.2 (2024-05-31)

Bug Fixes

6.3.1 (2024-05-31)

Bug Fixes

6.3.0 (2024-05-29)

Features

6.2.5 (2024-05-25)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 11.6.1 to 11.6.2 (74742dc)

6.2.4 (2024-05-23)

Bug Fixes

6.2.3 (2024-05-18)

Bug Fixes

  • deps: bump @oclif/core from 3.26.5 to 3.26.6 (490e45e)

6.2.2 (2024-05-18)

Bug Fixes

  • deps: bump @salesforce/core from 7.3.6 to 7.3.8 (5e51733)

6.2.1 (2024-05-16)

Bug Fixes

  • deps: bump @salesforce/core from 7.3.5 to 7.3.6 (0e08264)

6.2.0 (2024-05-15)

Bug Fixes

Features

  • detect file moves in source tracking (06fdb1b)

6.0.4 (2024-04-20)

Bug Fixes

  • deps: bump @oclif/core from 3.26.3 to 3.26.4 (2afd28b)

6.0.3 (2024-04-16)

Bug Fixes

6.0.2 (2024-04-13)

Bug Fixes

  • deps: bump @oclif/core from 3.26.0 to 3.26.2 (827a3f1)

6.0.1 (2024-04-13)

Bug Fixes

  • deps: bump @salesforce/core from 7.0.0 to 7.2.0 (86d36ee)

6.0.0 (2024-04-10)

BREAKING CHANGES

  • core7, sdr11, jsforce-node

  • chore: node16 module resolution

5.2.4 (2024-04-05)

Bug Fixes

  • interfaces to types, no-param-reassign for windows normalization (a4be02c)

5.2.3 (2024-04-05)

Bug Fixes

5.2.2 (2024-03-30)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 10.6.1 to 10.7.0 (c15fef3)

5.2.1 (2024-03-29)

Bug Fixes

  • deps: bump fast-xml-parser from 4.3.5 to 4.3.6 (6c93156)

5.2.0 (2024-03-28)

Bug Fixes

Features

5.1.18 (2024-03-19)

Bug Fixes

5.1.17 (2024-03-17)

Bug Fixes

  • deps: bump @salesforce/core from 6.7.0 to 6.7.1 (923c5b1)

5.1.16 (2024-03-16)

Bug Fixes

  • deps: bump @oclif/core from 3.23.0 to 3.25.2 (426d164)

5.1.15 (2024-03-16)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 10.5.1 to 10.5.2 (eeb7558)

5.1.14 (2024-03-09)

Bug Fixes

  • deps: bump @oclif/core from 3.22.0 to 3.23.0 (a3e6a95)

5.1.13 (2024-03-06)

Bug Fixes

  • deps: bump ip from 1.1.8 to 1.1.9 (3978964)

5.1.12 (2024-03-05)

Bug Fixes

  • deps: bump @salesforce/core from 6.5.1 to 6.7.0 (#545) (2254118)

5.1.11 (2024-02-03)

Bug Fixes

  • deps: bump @oclif/core from 3.18.1 to 3.18.2 (8460e61)

5.1.10 (2024-02-03)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve (cec897b)

5.1.9 (2024-01-27)

Bug Fixes

  • deps: bump @salesforce/core from 6.4.7 to 6.5.1 (6c03ba9)

5.1.8 (2024-01-27)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve (be6fa25)

5.1.7 (2024-01-23)

Bug Fixes

5.1.6 (2024-01-20)

Bug Fixes

  • deps: bump ts-retry-promise from 0.7.1 to 0.8.0 (fd06561)

5.1.5 (2024-01-18)

Bug Fixes

  • catch URI Malformed error (c0c80f7)

5.1.4 (2024-01-16)

Bug Fixes

5.1.3 (2023-12-11)

Bug Fixes

5.1.2 (2023-12-02)

Bug Fixes

  • deps: bump @salesforce/core from 6.2.0 to 6.2.2 (d01cad7)

5.1.1 (2023-12-02)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 10.0.2 to 10.0.3 (744473c)

5.1.0 (2023-11-28)

Features

5.0.1 (2023-11-18)

Bug Fixes

  • deps: bump @salesforce/core from 6.1.0 to 6.1.3 (f9b4342)

5.0.0 (2023-11-15)

BREAKING CHANGES

  • core6 types for configFile

  • feat!: node18

  • require node 18+

4.4.3 (2023-11-12)

Bug Fixes

  • deps: bump @salesforce/core from 5.3.18 to 5.3.20 (e308f14)

4.4.2 (2023-11-11)

Bug Fixes

  • deps: bump @oclif/core from 3.10.6 to 3.10.8 (cb1a690)

4.4.1 (2023-11-11)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 9.8.4 to 9.8.5 (1cbd39c)

4.4.0 (2023-11-07)

Features

4.3.0 (2023-11-06)

Features

  • no configFile in remoteSourceTracking (f347144)

4.2.20 (2023-10-31)

Bug Fixes

4.2.19 (2023-10-21)

Bug Fixes

  • deps: bump @salesforce/kit from 3.0.13 to 3.0.14 (7be2683)

4.2.18 (2023-10-18)

Bug Fixes

  • undefined handling in remote tracking (#489) (eacfeac)

4.2.17 (2023-10-16)

Bug Fixes

4.2.16 (2023-10-03)

Bug Fixes

  • stl uses project api version (268df38)

4.2.15 (2023-09-29)

Bug Fixes

  • avoid duplicate STL listeners when multiple instances exist (23044f1)

4.2.14 (2023-09-23)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 9.7.13 to 9.7.15 (4dbabe7)

4.2.13 (2023-09-16)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 9.7.8 to 9.7.13 (0f8f68d)

4.2.12 (2023-08-29)

Bug Fixes

  • catch isogit internal error (032103f)

4.2.11 (2023-08-21)

Bug Fixes

  • bump to lastest SDR and merge main (3d62d11)
  • prefer const (c233e2c)
  • use decodeURIComponent() rather than decodeURI() (2d42c6f)
  • use latest SDR lib and bump cli-plugins-testkit (5ce7285)

4.2.10 (2023-08-07)

Bug Fixes

4.2.9 (2023-07-25)

Bug Fixes

  • always ask at least once for sourceMembers (3dc275c)

4.2.8 (2023-07-23)

Bug Fixes

  • deps: bump semver from 5.7.1 to 5.7.2 (270d617)

4.2.7 (2023-07-22)

Bug Fixes

  • deps: bump word-wrap from 1.2.3 to 1.2.4 (1c8fb4a)

4.2.6 (2023-07-20)

Bug Fixes

  • reduce sourceMember polling timeouts (8e03967)

4.2.5 (2023-07-06)

Bug Fixes

  • bump SDR to 9.3.2 for latest registry (6f7585d)

4.2.4 (2023-07-01)

Bug Fixes

  • deps: bump @salesforce/core from 4.3.2 to 4.3.5 (ccf5490)

4.2.3 (2023-07-01)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 9.2.6 to 9.3.0 (1d46710)

4.2.2 (2023-06-26)

Bug Fixes

  • decode filepaths when comparing to the RSST for accurate results (#421) (59c2d56)

4.2.1 (2023-06-16)

Bug Fixes

  • use previous iso-git version (e5462be)

4.2.0 (2023-06-14)

Features

  • compile inlines messages (4b3dcf7)

4.1.3 (2023-06-08)

Bug Fixes

  • ignore remote changes using hypothetical paths (1c61e6e)

4.1.2 (2023-06-07)

Bug Fixes

  • deps: bump isomorphic-git from 1.23.0 to 1.24.0 (e6e459d)

4.1.1 (2023-06-05)

Bug Fixes

  • use SF prefixed env vars, add UTs, SDR 9, core 4 (3e4aba6)

4.1.0 (2023-05-31)

Features

  • drop node 14/15 support, core 4, sdr9 (8a5895f)

3.1.5 (2023-05-18)

Bug Fixes

3.1.4 (2023-05-17)

Bug Fixes

  • deletes singular CL when from CLs when specified (#381) (26fbdb0), closes #388

3.1.3 (2023-05-17)

Bug Fixes

  • deps: bump vm2 from 3.9.16 to 3.9.19 (0b114b9)

3.1.2 (2023-05-12)

Bug Fixes

  • enable tsconfig strict null checks in tests (#372) (e4c7b60)

3.1.1 (2023-04-15)

Bug Fixes

  • deps: bump isomorphic-git from 1.17.0 to 1.23.0 (5617b6a)

3.1.0 (2023-04-13)

Bug Fixes

  • no tracking on failed deploys (380d7f8)

Features

  • remove compatibility code (0a4c773)

2.2.28 (2023-04-12)

Bug Fixes

  • prevent warnings for picklistValue (a75425d)

2.2.27 (2023-04-11)

Bug Fixes

2.2.26 (2023-03-19)

Bug Fixes

  • deps: bump graceful-fs from 4.2.10 to 4.2.11 (09eef39)

2.2.25 (2023-03-18)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 7.11.3 to 7.12.0 (bfc19df)

2.2.24 (2023-03-11)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 7.10.1 to 7.11.3 (80983da)

2.2.23 (2023-03-04)

Bug Fixes

  • deps: bump @salesforce/core from 3.33.5 to 3.33.6 (cca0242)

2.2.22 (2023-02-17)

Bug Fixes

  • empty project path when pulling remote deletes (cee0498)

2.2.21 (2023-02-02)

Bug Fixes

2.2.20 (2023-01-28)

Bug Fixes

  • deps: bump @salesforce/core from 3.32.13 to 3.33.1 (a3690db)

2.2.19 (2023-01-21)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 7.7.3 to 7.7.5 (0745319)

2.2.18 (2023-01-18)

Bug Fixes

  • auth to devhub for nut (3103759)
  • filter for null/undefined (7a66508)
  • include deleted files in FileResponses for retrieves (f9fcee1)
  • update tests for strictNullChecks (685b466)

2.2.17 (2023-01-04)

Bug Fixes

  • deps: bump json5 from 1.0.1 to 1.0.2 (6030467)

2.2.16 (2023-01-03)

2.2.16-dev.3 (2022-12-28)

Bug Fixes

2.2.16-dev.2 (2022-12-28)

Bug Fixes

2.2.16-dev.1 (2022-12-26)

Bug Fixes

  • testing lowering maxFileAdd (3032066)

2.2.15 (2022-12-14)

Bug Fixes

2.2.14 (2022-11-22)

Bug Fixes

  • bump SDR (039fcf6)
  • dedupe (be02155)
  • treat ExperienceBundles and StaticResources like bundles for partial delete (cdac022)
  • use new SDR registry property supportsPartialDelete (aaa6c38)

2.2.13 (2022-11-19)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 7.5.8 to 7.5.9 (80c5d3b)

2.2.12 (2022-11-15)

Bug Fixes

  • digitalExperience to isBundle check (e6add91)

2.2.11 (2022-10-23)

Bug Fixes

  • deps: bump @salesforce/core from 3.31.10 to 3.31.16 (5a27a00)

2.2.10 (2022-10-18)

Bug Fixes

2.2.9 (2022-10-08)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 6.8.2 to 6.9.0 (97ae35e)

2.2.8 (2022-10-05)

Bug Fixes

  • poll for CustomObjectTranslation, but still not CustomObjects (ce7c79d)

2.2.7 (2022-09-30)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 6.8.1 to 6.8.2 (8a3efc3)

2.2.6 (2022-09-30)

Bug Fixes

  • deps: bump @salesforce/core from 3.30.8 to 3.30.9 (5619491)

2.2.5 (2022-09-29)

Bug Fixes

  • deps: bump vm2 from 3.9.10 to 3.9.11 (ff9ddcd)

2.2.4 (2022-09-25)

Bug Fixes

  • deps: bump @salesforce/source-deploy-retrieve from 6.8.0 to 6.8.1 (8c28a5e)

2.2.3 (2022-09-13)

Bug Fixes

  • ignore DEB, DigitalExperience and DEC from source tracking tracking (#206) (3e4b985)

2.2.2 (2022-08-10)

Bug Fixes

  • bump eslint/jsdoc to get automerges flowing again (afd85ff)
  • ensure remote changes have a value for ignored (plugin expects it) (bc1379f)
  • force version change (5483cd3)
  • remote changes display ignoredness (d3533f9)

Features

  • local CmpSet from changes tracks ignored files like normal CmpSet (aaa707f)
  • overload to preserve backwards compatibility (cfc53e3)

2.2.1 (2022-07-05)

Bug Fixes

2.2.0 (2022-06-29)

Bug Fixes

  • async lifecycle subscribe (75031f3)
  • custom field was not polling correctly (logic error on del__c) (1ff2341)
  • logic on local ignored (9667a6e)
  • use fixed jsforce autoFetch, restore ut (0b32d21)

Features

  • event subscription and convenience method for push (0c2135b)
  • local repo cache breaking for get status, and a generic method (6645b72)
  • never track utam (6e71f03)
  • option to use SDR events (d86f698)
  • top-level cache config of local cache behavior (236ac28)
  • track based on sdr events (1238a68)

Performance Improvements

  • some more things not to poll for based on telemetry (10f6fa3)

2.1.2 (2022-06-23)

Bug Fixes

  • bump core for autofetch (3567c69)

2.1.1 (2022-06-22)

Bug Fixes

  • core for jsforce autofetch (406c519)

2.1.0 (2022-06-22)

Bug Fixes

  • use await (ce650bd)
  • use fixed jsforce autoFetch, restore ut (f52afd0)
  • wait for query to finish (4e4ac4b)

Features

2.0.0 (2022-05-23)

Features

  • corev3, jsforce2 (0c0b1cf)
  • support both .sfdx/.sf (3d52e66)
  • use new org feature to determine tracking (0299bfb)
  • use v3 error/messages (41676ff)
  • use v3 error/messages (488fbfa)

1.5.0 (2022-05-04)

Bug Fixes

Features

1.4.2 (2022-04-29)

Bug Fixes

  • use absolute paths in ComponentSet for matching local source (#153) (b5690a5)

1.4.1 (2022-04-28)

1.4.0 (2022-04-27)

Features

1.3.1 (2022-03-25)

Bug Fixes

  • tracking really large repos in chunks, lower limit for windows (0cb2ce5)

1.3.0 (2022-03-25)

Features

  • gracful-fs for EMFILE: too many open files (1573828)

1.2.0 (2022-03-23)

Bug Fixes

  • ga tracking commands compatibility (3a31a0d)
  • support pkgDir with ./foo (3b46454)

Features

1.1.7 (2022-03-16)

Bug Fixes

  • use isogit multiple add (0845df8)

Performance Improvements

  • use improved iso-git multiple-add API (65bd3d4)

1.1.6 (2022-03-14)

Performance Improvements

  • deduplicate files as they are commited to shadow repo (#133) (fbc6d33)

1.1.5 (2022-03-11)

1.1.4 (2022-03-07)

Bug Fixes

  • clearer messaging and legacy accommodation (9f14e0f)

1.1.3 (2022-03-07)

Bug Fixes

  • revert beta/legacy mapping (4d3380c)

1.1.2 (2022-03-02)

Bug Fixes

  • more metadata polling exclusions based on telemetry (ae5adf3)

1.1.1 (2022-02-23)

Bug Fixes

  • message formatting for GA (194ba4b)

1.1.0 (2022-02-16)

Bug Fixes

  • handle lwc in a pkgDir of the same name (621d8cf)
  • increase max-fetch default (9854ed8)
  • lastIndexOf handles foo/lwc/foo (8632ee6)
  • smarter polling and excluded files (6df02a7)

Features

1.0.2 (2022-01-25)

Bug Fixes

  • handle gitignore outside pkgDirs (23a65c8)

1.0.1 (2022-01-25)

Bug Fixes

  • emailTempalteFolder via aliased types (f4c88f9)

1.0.0 (2022-01-20)

Bug Fixes

  • handle element count errors (8817329)
  • lightning EmailTemplateFolder (554c766)
  • remove emailtf attempt (262839d)
  • sourceMember excepton for nondecomposed children (05db59e)

0.5.2 (2022-01-05)

Bug Fixes

  • distributed .gitignore and loose pkgDir matching (a148a36)
  • remove singleton behavior for localShadowRepo (887bb68)

Features

0.5.1 (2021-12-03)

Bug Fixes

  • support addressable child types (8251095)

0.5.0 (2021-12-02)

Bug Fixes

  • deploy by pkgDir groupings, not all (7f1262e)
  • windows paths when pkgDir path has separators in it (b0ab346)

Features

  • delete bundle member but not the bundle (fbb81f2)
  • delete bundle members instead of bundle (0aedbd5)
  • trackingFiles handle deleted bundle members (137cd39)

Performance Improvements

0.4.4 (2021-12-01)

Features

  • update version of core and sdr (977ab56)

0.4.3 (2021-11-11)

Bug Fixes

  • don't pull remote changes where type isn't in SDR registry (46250ee)
  • don't pull things not in the registry (38136bb)

Features

  • emit warnings for types not pulled (fdeabbf)

0.4.2 (2021-10-28)

0.4.1 (2021-10-28)

Bug Fixes

  • better conflict handling (can match filenames or type/name) (4441a0a)
  • gitignore stashing location (5145545)
  • polling exclusion logic for aura meta.xml was wrong (2d40b2e)

0.4.0 (2021-10-22)

Bug Fixes

  • again with the promises (ad9dec5)
  • another attempt at node12 support (c8736d0)
  • case of empty orgId dir (1cb6333)
  • case on formatter filename (02adf22)
  • casing on imports (d4425d9)
  • correct statusCommand description (b834a2f)
  • don't commit empty changelists (67b9772)
  • export compatibility (c6e5f7c)
  • fix vscode image in readme (441c15f)
  • handle org:create's single tracking file (008793d)
  • handle stash failures (09dacc9)
  • leif .yml merge [skip-validate-pr] (ff10f84)
  • local ST uses graceful via core2 (3ba883f)
  • match server subfiles with forward slash (c2489a6)
  • normalize windows paths on commit, too (4339e46)
  • one more fs/promises fixed for node12 (71bafcf)
  • path normalizing for metadata keys (6190590)
  • path normalizing from iso-git (b8cddaf)
  • status output on windows uses backslash (78ac398)
  • support windows path on commits with \ (5712af4)
  • there could be nested LWC templates (d833981)
  • turns bundle parts of SourceMembers into real MDtypes (5646042)
  • use correct var name (0708312)

Features

  • add commitlint and sample circleci config (43e7fa4)
  • add new tests and upadte readme (6a7ad54)
  • add option to get remoteChanges with filePaths, use for Conflicts (350a0d6)
  • basic using isogit (f39e6c5)
  • conflict detection (3e22774)
  • consolidate conflict handling, return data in error (45178c7)
  • delete handling public for pull (eb87eb7)
  • finish status, add clear/reset (c71e66f)
  • handle status ignore marking from STL (2ec6fad)
  • ignorewarnings flag for push (b13fd05)
  • migrate messages/descriptions (8fea6e5)
  • most of sourceStatus logic, code cleanup (f100cb8)
  • non-delete push works (487a20e)
  • push supporting bundle types (639d459)
  • remote and conflicts (f98ecf1)
  • remote tracknig with UT (cb805e5)
  • source tracking from toolbelt (6c2ebb4)
  • sourcemember polling like toolbelt (abdd7b3)
  • spinners while waiting on pull (dfe5aea)
  • status result sorting (b7b109c)
  • sync customObj when their fields sync (3ded96d)
  • throws if "old" source files are present (4b868d8)
  • typed push (6e76812)
  • virtualTree for deletes (b425d77)

Performance Improvements

Reverts

  • Revert "refactor: move Org from class/init to the only method that needs it (JIT)" (367bb56)