You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Start supporting new template data and syntax, as described in #370. Not added to the documentation yet, as it is still in beta testing phase.
feat: Add setting legacy-templates to enable/disable the old template data and syntax. By default, it is enabled for backward compatibility. Not added to the documentation yet, as the new template data and syntax is still in beta testing phase.
feat(#371): Publish eslint-plugin both to @boundaries/eslint-plugin and eslint-plugin-boundaries package names.
feat: Add cache setting to enable/disable the new cache mechanism used to boost performance. By default, it is enabled. We recommend to keep it enabled unless you experience issues. In such case, please, open an issue describing the problem.
Changed
feat: Improve performance in approximately 30% in large codebases by optimizing cache usage and reducing redundant computations when resolving elements and matching rules.
refactor(#371): Extract element descriptors and matching logic to a separate module to improve code organization, readability and reusability.
refactor: Overall performance improvements and code optimizations.
feat: Add empty schema to rules without options to validate them correctly.
Fixed
fix: Assign internalPaths correctly when in elements setting the mode is 'file' but the pattern matches folders, not files. Now it returns the correct internalPaths instead of the matched folder name.
fix: Assign relationships correctly in dependencies. Now ancestor and nephew relationships are assigned correctly. Previously, all ancestors with a common parent were considered uncles.
elements v1.1.0
Added
feat: Implement cache for micromatch results, regex and captures to improve performance.
feat: Add cache option to allow disabling the cache.
Changed
refactor: Overall performance improvements and code optimizations.
Fixed
fix: Fix cache performance issues by implementing custom string generation for well-known objects, and removing caching for keys based on complex objects to avoid performance degradation.
fix: Legacy selectors being an array with only one element now correctly treated as a single string selector.