Skip to content

Releases: sleep-written/bleed-believer

@bleed-believer/[email protected]

13 Nov 16:00
Compare
Choose a tag to compare
  • 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]

13 Nov 11:50
Compare
Choose a tag to compare
  • Optimized custom hooks.
  • Fixed the flags usage in start cli command.

@bleed-believer/[email protected]

16 Oct 14:14
Compare
Choose a tag to compare

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]

10 Oct 18:18
Compare
Choose a tag to compare

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]

02 Oct 18:45
Compare
Choose a tag to compare

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]

23 May 21:44
Compare
Choose a tag to compare

Changed compatibility with @progress v16 packages.

@bleed-believer/[email protected]

17 May 17:09
Compare
Choose a tag to compare

Changelog

  • Added main alias in sort column when OData.getmany() is called.

@bleed-believer/[email protected]

25 Apr 16:14
Compare
Choose a tag to compare

Changelog

  • Added where arrays support.
  • Optimized the data capture method.

@bleed-believer/[email protected]

23 Apr 17:20
Compare
Choose a tag to compare

Migrate data from a source database to a target database using models defined with TypeORM.

@bleed-believer/[email protected]

02 Apr 19:48
Compare
Choose a tag to compare

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 or parallel). 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.

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.