
Ash 3.0 Teasers unveil a range of improvements, emphasizing domain modeling, security, and developer experience. Key features include centralized action definitions, domain-specific policies, increased action safety through explicitness, and comprehensive documentation enhancements.
Main Points
Centralized action definitions through code interfaces
Ash 3.0 introduces code interfaces on domain modules, centralizing action definitions and emphasizing domains in application structuring.
Simplified security with domain-specific policies
Domain-specific policies in Ash 3.0 enable broad application of authorization logic, simplifying security management.
Enhanced action safety and explicitness
The new version prioritizes safety and explicitness in actions, making it necessary to explicitly declare attributes that an action accepts.
Improved developer experience and documentation
Developer experience improvements include enhanced autocomplete support and comprehensive documentation, particularly around code interfaces.
Insights
Ash 3.0 emphasizes on modeling the domain comprehensively.
Ash 3.0 brings a shift towards domain-centric modeling, encouraging developers to structure applications around the domain. This includes aspects like code interfaces on domains and domain-specific policies.
Introduction of safer and more explicit action handling in Ash 3.0.
Actions in Ash 3.0 reject all attributes by default, requiring explicit declaration of accepted attributes. This approach aims to prevent unintended data exposure and enhance security.
Improvements in developer experience and documentation.
Ash 3.0 focuses on improving the developer experience with features like custom autocomplete extensions for Ash.Resource, and better documentation, especially for code interfaces.