heroku 9.3.1 → 9.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -150,7 +150,7 @@ Create.description = 'creates a new app';
150
150
  Create.hiddenAliases = ['create'];
151
151
  Create.examples = [
152
152
  `$ heroku apps:create
153
- Creating app... done, stack is heroku-22
153
+ Creating app... done, stack is heroku-24
154
154
  https://floating-dragon-42.heroku.com/ | https://git.heroku.com/floating-dragon-42.git
155
155
 
156
156
  # or just
@@ -27,8 +27,8 @@ class Set extends command_1.Command {
27
27
  }
28
28
  exports.default = Set;
29
29
  Set.description = 'set the stack of an app';
30
- Set.example = `$ heroku stack:set heroku-22 -a myapp
31
- Setting stack to heroku-22... done
30
+ Set.example = `$ heroku stack:set heroku-24 -a myapp
31
+ Setting stack to heroku-24... done
32
32
  You will need to redeploy myapp for the change to take effect.
33
33
  Run git push heroku main to trigger a new build on myapp.`;
34
34
  Set.hiddenAliases = ['stack:set'];
@@ -45,6 +45,10 @@ class ContainerRelease extends command_1.Command {
45
45
  type: process, docker_image: imageID,
46
46
  });
47
47
  }
48
+ const { body: oldReleases } = await this.heroku.get(`/apps/${app}/releases`, {
49
+ partial: true, headers: { Range: 'version ..; max=1, order=desc' },
50
+ });
51
+ const oldRelease = oldReleases[0];
48
52
  core_1.ux.action.start(`Releasing images ${argv.join(',')} to ${app}`);
49
53
  await this.heroku.patch(`/apps/${app}/formation`, {
50
54
  body: { updates: updateData }, headers: {
@@ -52,10 +56,6 @@ class ContainerRelease extends command_1.Command {
52
56
  },
53
57
  });
54
58
  core_1.ux.action.stop();
55
- const { body: oldReleases } = await this.heroku.get(`/apps/${app}/releases`, {
56
- partial: true, headers: { Range: 'version ..; max=2, order=desc' },
57
- });
58
- const oldRelease = oldReleases[0];
59
59
  const { body: updatedReleases } = await this.heroku.get(`/apps/${app}/releases`, {
60
60
  partial: true, headers: { Range: 'version ..; max=1, order=desc' },
61
61
  });
@@ -42,16 +42,16 @@ function printExtended(dynos) {
42
42
  ID: { get: (dyno) => dyno.id },
43
43
  Process: { get: (dyno) => dyno.name },
44
44
  State: { get: (dyno) => `${dyno.state} ${(0, time_1.ago)(new Date(dyno.updated_at))}` },
45
- Region: { get: (dyno) => dyno.extended ? dyno.extended.region : '' },
46
- 'Execution Plane': { get: (dyno) => dyno.extended ? dyno.extended.execution_plane : '' },
47
- Fleet: { get: (dyno) => dyno.extended ? dyno.extended.fleet : '' },
48
- Instance: { get: (dyno) => dyno.extended ? dyno.extended.instance : '' },
49
- IP: { get: (dyno) => dyno.extended ? dyno.extended.ip : '' },
50
- Port: { get: (dyno) => dyno.extended ? dyno.extended.port.toString() : '' },
51
- AZ: { get: (dyno) => dyno.extended ? dyno.extended.az : '' },
45
+ Region: { get: (dyno) => { var _a; return ((_a = dyno.extended) === null || _a === void 0 ? void 0 : _a.region) ? dyno.extended.region : ''; } },
46
+ 'Execution Plane': { get: (dyno) => { var _a; return ((_a = dyno.extended) === null || _a === void 0 ? void 0 : _a.execution_plane) ? dyno.extended.execution_plane : ''; } },
47
+ Fleet: { get: (dyno) => { var _a; return ((_a = dyno.extended) === null || _a === void 0 ? void 0 : _a.fleet) ? dyno.extended.fleet : ''; } },
48
+ Instance: { get: (dyno) => { var _a; return ((_a = dyno.extended) === null || _a === void 0 ? void 0 : _a.instance) ? dyno.extended.instance : ''; } },
49
+ IP: { get: (dyno) => { var _a; return ((_a = dyno.extended) === null || _a === void 0 ? void 0 : _a.ip) ? dyno.extended.ip : ''; } },
50
+ Port: { get: (dyno) => { var _a; return ((_a = dyno.extended) === null || _a === void 0 ? void 0 : _a.port) ? dyno.extended.port.toString() : ''; } },
51
+ AZ: { get: (dyno) => { var _a; return ((_a = dyno.extended) === null || _a === void 0 ? void 0 : _a.az) ? dyno.extended.az : ''; } },
52
52
  Release: { get: (dyno) => dyno.release.version },
53
53
  Command: { get: (dyno) => truncate(dyno.command) },
54
- Route: { get: (dyno) => dyno.extended ? dyno.extended.route : '' },
54
+ Route: { get: (dyno) => { var _a; return ((_a = dyno.extended) === null || _a === void 0 ? void 0 : _a.route) ? dyno.extended.route : ''; } },
55
55
  Size: { get: (dyno) => dyno.size },
56
56
  }, {
57
57
  'no-truncate': true,
@@ -499,7 +499,7 @@
499
499
  },
500
500
  "description": "creates a new app",
501
501
  "examples": [
502
- "$ heroku apps:create\nCreating app... done, stack is heroku-22\nhttps://floating-dragon-42.heroku.com/ | https://git.heroku.com/floating-dragon-42.git\n\n# or just\n$ heroku create\n\n# use a heroku.yml manifest file\n$ heroku apps:create --manifest\n\n# specify a buildpack\n$ heroku apps:create --buildpack https://github.com/some/buildpack.git\n\n# specify a name\n$ heroku apps:create example\n\n# create a staging app\n$ heroku apps:create example-staging --remote staging\n\n# create an app in the eu region\n$ heroku apps:create --region eu"
502
+ "$ heroku apps:create\nCreating app... done, stack is heroku-24\nhttps://floating-dragon-42.heroku.com/ | https://git.heroku.com/floating-dragon-42.git\n\n# or just\n$ heroku create\n\n# use a heroku.yml manifest file\n$ heroku apps:create --manifest\n\n# specify a buildpack\n$ heroku apps:create --buildpack https://github.com/some/buildpack.git\n\n# specify a name\n$ heroku apps:create example\n\n# create a staging app\n$ heroku apps:create example-staging --remote staging\n\n# create an app in the eu region\n$ heroku apps:create --region eu"
503
503
  ],
504
504
  "flags": {
505
505
  "app": {
@@ -10299,7 +10299,7 @@
10299
10299
  }
10300
10300
  },
10301
10301
  "description": "set the stack of an app",
10302
- "examples": "$ heroku stack:set heroku-22 -a myapp\nSetting stack to heroku-22... done\nYou will need to redeploy myapp for the change to take effect.\nRun git push heroku main to trigger a new build on myapp.",
10302
+ "examples": "$ heroku stack:set heroku-24 -a myapp\nSetting stack to heroku-24... done\nYou will need to redeploy myapp for the change to take effect.\nRun git push heroku main to trigger a new build on myapp.",
10303
10303
  "flags": {
10304
10304
  "app": {
10305
10305
  "char": "a",
@@ -10328,7 +10328,7 @@
10328
10328
  "pluginName": "heroku",
10329
10329
  "pluginType": "core",
10330
10330
  "strict": true,
10331
- "example": "$ heroku stack:set heroku-22 -a myapp\nSetting stack to heroku-22... done\nYou will need to redeploy myapp for the change to take effect.\nRun git push heroku main to trigger a new build on myapp.",
10331
+ "example": "$ heroku stack:set heroku-24 -a myapp\nSetting stack to heroku-24... done\nYou will need to redeploy myapp for the change to take effect.\nRun git push heroku main to trigger a new build on myapp.",
10332
10332
  "isESM": false,
10333
10333
  "relativePath": [
10334
10334
  "lib",
@@ -13930,5 +13930,5 @@
13930
13930
  ]
13931
13931
  }
13932
13932
  },
13933
- "version": "9.3.1"
13933
+ "version": "9.3.2"
13934
13934
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "heroku",
3
3
  "description": "CLI to interact with Heroku",
4
- "version": "9.3.1",
4
+ "version": "9.3.2",
5
5
  "author": "Heroku",
6
6
  "bin": "./bin/run",
7
7
  "bugs": "https://github.com/heroku/cli/issues",
@@ -388,5 +388,5 @@
388
388
  "version": "oclif readme --multi && git add README.md ../../docs"
389
389
  },
390
390
  "types": "lib/index.d.ts",
391
- "gitHead": "5cf442b669c8f2ae2d0754868c04bc6fd96c8a27"
391
+ "gitHead": "0bce57cec4a673b10d7decf55db38781700bad8c"
392
392
  }