Skip to content

parsley v0.8.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@matzefriedrich matzefriedrich released this 29 Aug 21:02
· 35 commits to main since this release
b8d5f56

This release introduces the parsley-cli utility to extend the library's capabilities beyond what reflection alone can achieve and to outpace the limitations of the statically typed language. This version focuses on empowering developers with new tools for code generation, particularly around proxy and decorator patterns.

Changes

New CLI Tool: This version introduces parsley-cli, a powerful command-line utility designed to enhance the Parsley ecosystem. With this tool, developers can generate code that integrates seamlessly with Parsley’s dependency injection framework.

  • init Command: The init command bootstraps a new Parsley application, generating essential files such as main.go and application.go. These files provide the minimum setup required to kick-start a dependency injection-enabled application.

  • generate proxy Command: The generate proxy command allows developers to create proxy types that can be extended via MethodInterceptor objects. These generated proxies can serve as powerful tools for implementing cross-cutting concerns like logging, monitoring, or transaction management in a clean and modular way.