Releases: sleep-written/bleed-believer
Releases · sleep-written/bleed-believer
@bleed-believer/[email protected]
- Added the command "watch" in the cli.
- Fixed the path resolution when the code to execute is transpiled js without resolved paths.
@bleed-believer/[email protected]
- Optimized custom hooks.
- Fixed the flags usage in
start
cli command.
@bleed-believer/[email protected]
Changelog
- Fixed a bug with the outDir attached in the glob patterns.
- Changed the usage of
isSourceCode
function. - Changed the parameters of
pathResolve
function.
@bleed-believer/[email protected]
Changelog:
- Now this version works with swc instead of ts-node.
- Has a documented CLI.
- Transpiles your project using swc only with your "tsconfig.json".
- Flag
--import
available to use with tools like unit testing. RESOLVE_SRC
environment variable isn't needed.
Disclaimer
This is a release with breaking changes in comparison to "v1.1.3", so test your code before to deploy if do you want to update.
@bleed-believer/[email protected]
Changes:
- Refactorized code for the latest ts-node and typescript changes.
- Removed the usage of
RESOLVE_SRC
because it's no longer require.
@bleed-believer/[email protected]
Changed compatibility with @progress v16 packages.
@bleed-believer/[email protected]
Changelog
- Added main alias in sort column when
OData.getmany()
is called.
@bleed-believer/[email protected]
Changelog
- Added where arrays support.
- Optimized the data capture method.
@bleed-believer/[email protected]
Migrate data from a source database to a target database using models defined with TypeORM.
@bleed-believer/[email protected]
Patch
Improved SIGINT Handling with PM2
- A modification was made to enhance the library's stability when stopping processes via SIGINT, particularly in environments using PM2.
- The refactoring ensures that tasks are now gracefully aborted, and the scheduler is stopped without crashing.
- Changes include:
- Refactored handling of stdout: Improved how messages are displayed when stopping all pending tasks, by considering whether
process.stdout.cursorTo
is available. This ensures compatibility across different environments and more reliable logging of the shutdown process. - Execution mode enhancements: The method
executeNow
was slightly adjusted to better filter and execute tasks based on provided names or execution mode (serial
orparallel
). This change provides clearer, more straightforward task execution logic. - Error handling: Enhanced the error handling mechanism during task execution to ensure errors are logged more consistently and clearly, aiding in debugging and operational monitoring.
- Code cleanup: Minor code cleanup was performed to improve readability and maintainability of the codebase, without altering the external behavior of the library.
- Refactored handling of stdout: Improved how messages are displayed when stopping all pending tasks, by considering whether
These changes collectively address a previously identified issue where the library would crash when attempting to stop the scheduler using SIGINT signals from PM2. The update ensures a more robust and fail-safe operation, particularly in production environments where PM2 is commonly used for process management.