v1.1.6 (August 10, 2024)
Minor Bugs and Fixes
What's New
-
Modular Architecture:
- Refactored the project structure to a monorepo, isolating
glin-profanity
as a separate package within thepackages
directory. - Leveraged Lerna and npm workspaces for efficient dependency management and streamlined development.
- Refactored the project structure to a monorepo, isolating
-
Enhanced Build and Publish Workflow:
- Implemented a GitHub Actions workflow to automate the build and publish process.
- Ensured only the
glin-profanity
package is published to npm, keeping the package lightweight and free from unnecessary repository dependencies.
-
New Features:
- Added support for custom word lists with JSON file uploads.
- Introduced options for case sensitivity, word boundaries, and custom actions on profanity detection.
- Enabled logging of detected profane words for better monitoring and analytics.
-
Improved Configuration:
- Enhanced TypeScript configuration with
resolveJsonModule
andesModuleInterop
for better module handling. - Updated
tsconfig.json
to ensure compatibility and efficient compilation.
- Enhanced TypeScript configuration with
-
Documentation:
- Updated README with detailed usage examples, API documentation, and contribution guidelines.
- Added a comprehensive
CONTRIBUTING.md
to guide new contributors.
Bug Fixes
- Resolved issues with JSON imports in TypeScript.
- Fixed iteration issues by enabling
downlevelIteration
in TypeScript configuration.
Dependency Management
- Updated dependencies to the latest versions to ensure security and performance.
- Cleaned up unnecessary dependencies and ensured proper peer dependencies.
Future Plans
- Further enhancements to custom word list management.
- Additional language support and improved multilingual handling.
- Continuous integration and delivery improvements for faster release cycles.
What's Changed
- Package Fix by @gagandua078 in #20
Full Changelog: v1.1.5...v1.1.6