actionhero / ah-next-plugin

For booting a Next.JS React application inside of Actionhero
5 stars 4 forks source link

Bump actionhero from 26.1.2 to 27.0.3 #212

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps actionhero from 26.1.2 to 27.0.3.

Release notes

Sourced from actionhero's releases.

v27.0.3

  • Show process errors with console.error if exceptionHandlers are not yet ready #1936
  • Remove i18n files from generator #1935

v27.0.2

  • Use process.env.LOG_LEVEL to set log level by default (#1931)
  • Update Dependencies

v27.0.1

  • Support loading task as default file export #1925
  • Implement task.delByFunction() #1924
  • Clarify example and type of task middleware preEnqueue method #1921
  • Do not log resque multiWorker checks if MIN and MAX workers are equal #1920
  • Use package name in welcome message #1918
  • Update Dependenceis

v27.0.0

Spec Helper Type changes

It's now much easier to get the types of your response from specHelper.runAction<Action>() and specHelper.runTask<Task>()!

Just provide your Action or Task Class!

// In `__tests__/actions/randomNumber.ts`
import { Process, specHelper } from "actionhero";
import { RandomNumber } from "../../src/actions/randomNumber";

describe("Action: randomNumber", () => { const actionhero = new Process(); beforeAll(async () => await actionhero.start()); afterAll(async () => await actionhero.stop());

test("generates random numbers", async () => { // now "randomNumber" is typed properly as a number const { randomNumber } = await specHelper.runAction<RandomNumber>( "randomNumber" ); expect(randomNumber).toBeGreaterThan(0); expect(randomNumber).toBeLessThan(1); }); });

Version 27 also removed i18n and uglify from Actionhero

Localization Removal

  1. Remove any /locales/* files you have, and move that text content into your Actions and Tasks
  2. Remove any instances if connection.localize() in your code - this method is removed

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)