Skip to content

Releases: asyncapi/generator

@asyncapi/[email protected]

23 Jan 08:22
02bb852
Compare
Choose a tag to compare

Minor Changes

  • fd5dfd7:

    • Deprecation of ag CLI: The ag CLI is deprecated in favour of the AsyncAPI CLI that is a single entry point for all the AsyncAPI tools. No new features will be added to ag and it will be completely removed. The official documentation of AsyncAPI Generator has not mentioned ag for over a year, instead only using AsyncAPI CLI and asyncapi generate fromTemplate commands. Refer to the migration guide that will help you understand how to migrate your ag commands to the new AsyncAPI CLI command.

    • Deprecation of Nunjucks render engine: The Nunjucks render engine is deprecated and will be removed in October 2025. It is recommended to switch to the React render engine instead. If you are using Nunjucks in production, read the migration guide that will help you understand how to migrate to the new engine. The removal of the Nunjucks render engine results also in removal of Nunjucks-filters library.

    Removal of both deprecated parts of the generator is planned for October 2025, which gives you 9 months to migrate.

@asyncapi/[email protected]

30 Oct 09:05
294479d
Compare
Choose a tag to compare

Minor Changes

  • 2d16234: - Package @asyncapi/generator-hooks is now part of generator repo and won't be released separately. Theource code is stored under apps/hooks but the package/library name stays as it was originally for backward compatibility,
    • By default, the @asyncapi/generator-hooks package, known as package contains many different hooks used in templates and is available in the generator. You no longer have to configure it in your package.json in dependencies. The package, @asyncapi/generator-hooks will no longer be published to NPM separately and is deprecated. You can still have your own hooks, store them in a separate package, and configure them with your template.
    • Remember that the fact that the hooks package is now included by default, doesn't mean all hooks from it are enabled by default. You still have to enable a given hook in the configuration file explicitly because some hooks can execute automatically without passing a specific parameter. Also, a hook's supported parameters need to be defined in your template's config.

@asyncapi/[email protected]

28 Aug 12:55
91f157e
Compare
Choose a tag to compare

Patch Changes

  • 3a372c4: Removed the source-map-support package from the AsyncAPI Generator, as it is no longer required for version 2, which now supports Node.js version 18.12.0 and above.

@asyncapi/[email protected]

26 Aug 15:27
8ade3c1
Compare
Choose a tag to compare

Minor Changes

  • 46114d8: Add compile option to enable rerun of transpilation of templates build with react engine. It is set to true by default. In future major releases it will be set to false and we will explain how to publish template to include transpilation files by default. Transpiled files are already included in html-template. It means that you can run generator for html-template (it's latest version) with compile=false and this will improve the speed of HTML generation for you.

@asyncapi/[email protected]

31 Jul 18:59
c1bbcda
Compare
Choose a tag to compare

Minor Changes

  • 44fcc33: ts-node is registered only when it's actually needed

@asyncapi/[email protected]

31 Jul 13:52
8501f8d
Compare
Choose a tag to compare

Minor Changes

  • 81dfd0c: Enable noOverwriteGlobs option for templates based on react rendering engine.

@asyncapi/[email protected]

31 Jul 13:13
ef865ad
Compare
Choose a tag to compare

Patch Changes

  • 93fb8e8: Updated the method for importing the Nunjucks filter dependency

@asyncapi/[email protected]

30 Jul 16:20
828b03f
Compare
Choose a tag to compare

Patch Changes

  • a3e93ef: update the git context for the docker versioning.

@asyncapi/[email protected]

29 Jul 15:23
2d51aa3
Compare
Choose a tag to compare

Patch Changes

  • 36ee8a8: Fix docker image publishing. Removed package name from version tag for Docker tagging.

@asyncapi/[email protected]

29 Jul 12:00
97348b1
Compare
Choose a tag to compare

Minor Changes

  • 99a14a8:
    • New release pipeline supporting monorepo,
    • Package @asyncapi/generator-filters is now part of generator repo and won't be released separately. New name of the library is nunjuckis-filters,
    • By default @asyncapi/generator-filters package, known as package with a lot of different nunjucks filters, is registered and added to generator and you no longer have to configure it in your package.json. Package @asyncapi/generator-filters will no longer be published to NPM separately and is deprecated.