Cogwatch

Latest version: v3.3.1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

2.0.0

Changed

- **BREAKING**: The `cogs_path` parameter is now just `path`. This was done for simplicity and to
closer match the general naming convention.
- Updated `watchgod` dependency to latest version for performance improvements.

1.1.8

Changed

- Fixed path manipulation bug that caused issues between POSIX and Windows systems. Paths
are now handled platform-agnostic with the `os` module. Added tests for regressions. (6)

1.1.6

Changed

- Fixed a bug where nested project structures would break internal path resolution.
- A `ValueError` will now be raised if the user uses invalid input delimiters on
the `cogs_path` parameter.

Added

- Migrated to the Poetry package & dependency manager.
- New dev dependency for testing: `pytest`.
- Included several test cases on `get_dotted_cog_path` and `get_cog_name`
ensuring they are returning usable values.

Removed

- Removed setup.py, requirements.txt, build.ps1 in favor of the Poetry ecosystem.

1.1.5

Changed

- Fixed a bug where the watcher would spam errors if the specified cog directory did not exist.
- The watcher will additionally track changes to the command directory name. The watcher will
will seek for a matching directory name in the background and restart itself once found *(this includes
reloading all cogs within that directory, if not loaded)*.
- Refactored some internal code.

1.1.4

Added

- New example for the classless bot structure and manually instantiating a watcher.


Changed

- Fixed a typo in the class-based bot example and renamed it to `subclass_bot.py` to stay in convention with
the new `classless_bot.py`.

1.1.3

Added

- `cogwatch` will now log when a directory is modified within the `cogs_path` directory.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.