Actionhero is a realtime multi-transport nodejs API Server with integrated cluster capabilities and delayed tasks
APACHE-2.0 License
Bot releases are hidden (Show)
Published by evantahler almost 3 years ago
Full Changelog: https://github.com/actionhero/actionhero/compare/v27.3.0...v28.0.0-alpha.0
Published by evantahler almost 3 years ago
Published by evantahler almost 3 years ago
Published by evantahler about 3 years ago
Published by evantahler about 3 years ago
Published by evantahler about 3 years ago
Published by evantahler about 3 years ago
Published by evantahler about 3 years ago
ioredis-mock
to devDependency (#1950)Published by evantahler about 3 years ago
Published by evantahler about 3 years ago
Published by evantahler about 3 years ago
Published by evantahler about 3 years ago
task.delByFunction()
#1924preEnqueue
method #1921Published by evantahler about 3 years ago
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
/locales/*
files you have, and move that text content into your Actions and Tasksconnection.localize()
in your code - this method is removedConfiguration
src/config/api.ts
:
config.general.welcomeMessage = 'Welcome to the Actionhero API!'
or similar messageconfig.general.paths.locale
src/config/errors.ts
:
data.connection.localize
and use regular JS stringsMinified Websocket Client Library Removed
ActionheroWebsocketClient.min.js
will no longer be generated in your Actionhero projects. Most users include /public/javascript/ActionheroWebsocketClient.js
in their build and it is compiled into their react or angular project... or cached and minified by their CDN. Minifiying this client-side javascript is now outside of the scope of Actionhero.
Published by evantahler about 3 years ago
Update dependencies, including support for ws@v8
Published by evantahler about 3 years ago
Published by evantahler over 3 years ago
Update Dependencies
Published by evantahler over 3 years ago
Published by evantahler over 3 years ago
Published by evantahler over 3 years ago
error.stack
, use the error message (#1854)Published by evantahler over 3 years ago