heroku 11.4.0 → 11.4.1-beta.0

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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
6
 
7
+ ## [11.4.1-beta.0](https://github.com/heroku/cli/compare/v11.4.0...v11.4.1-beta.0) (2026-05-27)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * 'run:inside' args ordering (W-22693654) ([#3727](https://github.com/heroku/cli/issues/3727)) ([355113e](https://github.com/heroku/cli/commit/355113e8253b8547ea86be4ef540287ea263af80))
13
+ * add missing warning to 'data:pg:migrate' (W-22544849) ([#3716](https://github.com/heroku/cli/issues/3716)) ([400fc6e](https://github.com/heroku/cli/commit/400fc6e26eb7b7fdd634e0e4465fc5c19762303a))
14
+ * inherit secrets in reusable workflow ([#3711](https://github.com/heroku/cli/issues/3711)) ([5dd58af](https://github.com/heroku/cli/commit/5dd58af6c14f55ab85fe8584598718ebee03ae4b))
15
+ * pass empty string to rl.write in repl finally block (W-22295448) ([#3721](https://github.com/heroku/cli/issues/3721)) ([ebdf082](https://github.com/heroku/cli/commit/ebdf082ed317cb74a59945c60dc274615b735b81))
16
+
17
+
18
+ ### Miscellaneous Chores
19
+
20
+ * add CLAUDE.md and Copilot instructions pointing to AGENTS.md ([#3724](https://github.com/heroku/cli/issues/3724)) ([8abed2f](https://github.com/heroku/cli/commit/8abed2faad739a1897734fe414cc2e1b70ea245a))
21
+ * remove unused workflow file ([#3712](https://github.com/heroku/cli/issues/3712)) ([8860aa4](https://github.com/heroku/cli/commit/8860aa412261f05fae3df19438cfd50a5f4ae67f))
22
+
7
23
  ## [11.4.0](https://github.com/heroku/cli/compare/v11.3.0...v11.4.0) (2026-05-13)
8
24
 
9
25
 
@@ -140,6 +140,7 @@ export default class DataPgMigrate extends BaseCommand {
140
140
  let currentStep = '__select_source';
141
141
  let sourceDatabaseId;
142
142
  let targetDatabaseId;
143
+ let targetDatabaseName;
143
144
  while (currentStep !== '__exit') {
144
145
  switch (currentStep) {
145
146
  case '__confirm_migration': {
@@ -150,6 +151,7 @@ export default class DataPgMigrate extends BaseCommand {
150
151
  You'll receive an email when the preparation is complete or if there's an error.
151
152
  You have 24 hours to begin migration after the preparation is complete.
152
153
  Your source database will be unavailable during the migration.
154
+ Preparing the migration deletes all the data on the destination database ${color.datastore(targetDatabaseName)}.
153
155
 
154
156
  `));
155
157
  const { action } = await this.prompt({
@@ -242,6 +244,7 @@ export default class DataPgMigrate extends BaseCommand {
242
244
  name: 'database',
243
245
  type: 'list',
244
246
  })).database;
247
+ targetDatabaseName = this.advancedDatabases.find(db => db.id === targetDatabaseId)?.name;
245
248
  if (targetDatabaseId === '__go_back') {
246
249
  currentStep = '__select_source';
247
250
  }
@@ -249,6 +252,7 @@ export default class DataPgMigrate extends BaseCommand {
249
252
  const addon = await this.createTargetDatabase(sourceDatabaseId);
250
253
  if (addon) {
251
254
  targetDatabaseId = addon.id;
255
+ targetDatabaseName = addon.name;
252
256
  currentStep = '__confirm_migration';
253
257
  }
254
258
  else {
@@ -1,8 +1,8 @@
1
1
  import { Command } from '@heroku-cli/command';
2
2
  export default class RunInside extends Command {
3
3
  static args: {
4
- command: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
5
4
  dyno_name: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
5
+ command: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
6
6
  };
7
7
  static description: string;
8
8
  static examples: string[];
@@ -8,16 +8,18 @@ import { buildCommandWithLauncher, revertSortedArgs } from '../../lib/run/helper
8
8
  const debug = debugFactory('heroku:run:inside');
9
9
  const heredoc = tsheredoc.default;
10
10
  export default class RunInside extends Command {
11
+ /* eslint-disable perfectionist/sort-objects */
11
12
  static args = {
12
- command: Args.string({
13
- description: 'command to run (Heroku automatically prepends \'launcher\' to the command)',
14
- required: true,
15
- }),
16
13
  dyno_name: Args.string({
17
14
  description: 'name of the dyno to run command inside',
18
15
  required: true,
19
16
  }),
17
+ command: Args.string({
18
+ description: 'command to run (Heroku automatically prepends \'launcher\' to the command)',
19
+ required: true,
20
+ }),
20
21
  };
22
+ /* eslint-enable perfectionist/sort-objects */
21
23
  static description = 'run a command inside an existing dyno (for Fir-generation apps only)';
22
24
  static examples = [
23
25
  heredoc `
package/dist/lib/repl.js CHANGED
@@ -153,7 +153,7 @@ export class HerokuRepl {
153
153
  this.createInterface();
154
154
  this.start();
155
155
  // Force readline to refresh the current line
156
- this.rl.write(null, { ctrl: true, name: 'u' });
156
+ this.rl.write('', { ctrl: true, name: 'u' });
157
157
  }
158
158
  };
159
159
  /**
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "heroku",
3
- "version": "11.4.0",
3
+ "version": "11.4.1-beta.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "heroku",
9
- "version": "11.4.0",
9
+ "version": "11.4.1-beta.0",
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
12
  "@heroku-cli/command": "^12.3.3",