Skip to content

Releases: salesforcecli/sf-plugins-core

12.0.5

22 Oct 19:22
Compare
Choose a tag to compare

Bug Fixes

12.0.4

21 Oct 20:20
Compare
Choose a tag to compare

Bug Fixes

12.0.3

21 Oct 19:07
Compare
Choose a tag to compare

Bug Fixes

12.0.2

21 Oct 18:14
Compare
Choose a tag to compare

Bug Fixes

  • bump @oclif/table [skip-validate-pr] (#641) (1a2a5b4)

12.0.1

17 Oct 16:53
Compare
Choose a tag to compare

Bug Fixes

12.0.0

17 Oct 15:44
Compare
Choose a tag to compare

BREAKING CHANGES

New table API

We updated table to be easier to use. If you need to maintain the old (v11 or older) API or would like to migrate one table at a time, you can wrap the old input in convertToNewTableAPI to convert it.

Before

const data = [
  {
    alias: 'devhub',
    connectedStatus: 'Connected',
    defaultMarker: undefined,
    instanceUrl: 'https://su0503.my.salesforce.com',
    isDefaultDevHubUsername: false,
    isDefaultUsername: false,
    isDevHub: true,
    orgId: '00DB0000000Ih65MAC',
    timestamp: '2022-05-10T19:26:45.436Z',
    type: 'DevHub',
    username: '[email protected]',
  },
  {
    alias: 'na40devhub',
    connectedStatus: 'Connected',
    defaultMarker: '🌳',
    instanceUrl: 'https://na40-dev-hub.my.salesforce.com',
    isDefaultDevHubUsername: true,
    isDefaultUsername: false,
    isDevHub: true,
    orgId: '00D460000019MkyEAE',
    type: 'DevHub',
    username: '[email protected]',
  },
]

const columns = {
  defaultMarker: {
    header: '',
  },
  type: {
    header: 'Type',
  },
  alias: {
    header: 'Alias',
  },
  username: { header: 'Username' },
  orgId: { header: 'Org ID' },
}

table(data, columns)

After

const data = [
  {
    alias: 'devhub',
    connectedStatus: 'Connected',
    defaultMarker: undefined,
    instanceUrl: 'https://su0503.my.salesforce.com',
    isDefaultDevHubUsername: false,
    isDefaultUsername: false,
    isDevHub: true,
    orgId: '00DB0000000Ih65MAC',
    timestamp: '2022-05-10T19:26:45.436Z',
    type: 'DevHub',
    username: '[email protected]',
  },
  {
    alias: 'na40devhub',
    connectedStatus: 'Connected',
    defaultMarker: '🌳',
    instanceUrl: 'https://na40-dev-hub.my.salesforce.com',
    isDefaultDevHubUsername: true,
    isDefaultUsername: false,
    isDevHub: true,
    orgId: '00D460000019MkyEAE',
    type: 'DevHub',
    username: '[email protected]',
  },
]

table({
  columns: [
    {
      key: 'defaultMarker',
      name: ' ',
    },
    'type',
    'alias',
    'username',
    {
      key: 'instanceUrl',
      name: 'Instance URL',
    },
    {
      key: 'orgId',
      name: 'Org ID',
    },
  ],
  data,
})

11.3.12

06 Oct 05:46
Compare
Choose a tag to compare

Bug Fixes

  • deps: bump @salesforce/kit from 3.2.2 to 3.2.3 (bc828da)

11.3.11

06 Oct 03:00
Compare
Choose a tag to compare

Bug Fixes

  • deps: bump @oclif/core from 4.0.19 to 4.0.27 (a1b993b)

11.3.10

12 Sep 02:53
Compare
Choose a tag to compare

Bug Fixes

  • deps: bump path-to-regexp from 1.8.0 to 1.9.0 (9b404b6)

11.3.9

08 Sep 11:46
Compare
Choose a tag to compare

Bug Fixes

  • deps: bump @salesforce/kit from 3.2.1 to 3.2.2 (914c19b)