Releases: xsduan/conniebot
Releases · xsduan/conniebot
Maintenance updates
Fix oopsies
Wow, how did I not test for this
- commands with undefined return values will no longer log as "undefined"
- all command return values will be stringified
- cp works differently on linux and mac. idek. taking the easy way around.
Proper build process & QoL improvements
This release creates an actual build process instead of cobbling something together with the npm run-scripts. And while we're at it, we should simplify a few other things as well.
features or whatever
- removed dependencies on nodemon and forever, delegate that to npx.
- switched from forever to pm2 because HA forever has been dead for 2 years did you even know that.
- created build script. you can choose to run this manually or rely on the old npm run-scripts. both work.
- x2i keys are now in x2i-data instead of alongside x2i module.
- x2i keys also now are fully configurable in the yaml files, not just the keys.
- force log colors to be on at all times
- allow choice of verbosity (see npmlog docs)
Log messaging improvements
This release adds better log output.
features
- Logs now have timestamps. (#21)
- Logs have colors. ooh pretty!
- A few log formatting changes.
Really Dumb Bug Fix
Yes I consider this important enough to make a release over.
bgug.
- Forgot to escape backslash in regex, caused matching of
[^SW_acehipt{}]
instead of white space at the end of matches.
Bug fixes and Even More Improvements™
this year i resolve to keep better track of my changes
bugggggs
z/_//
will be correctly parsed now.- stacktrace and message were swapped, oops
- ordering & global fall/rise for zsampa (#19)
- fix nareal fricatives (#22)
code improvements
- refactor to not use globals anymore for the bot itself (create class
Conniebot
) - allow for extension commands (
Conniebot.registerCommands
) - package restructuring - everything now under
src/
other stuff
- more comments for better docs
- travis ci!
Internal fixes
Just a few internal improvements that I didn't get around to.
- ping now has a roundtrip argument (
x/ping roundtrip
) - uses sqlite instead of sqlite3
- reorder z2i keys, add default implosive (ʼ↓)
Rewrite
Now that I actually know what I'm doing, I've decided to rewrite some of the lamer parts of the code. This is mostly internal improvements.
- z-sampa improvements (raw regex + a few missing characters)
- migrate to typescript
- migrate to sqlite
- modularize the code more
- use more modern features (async etc)
Semi-rewrite
- minor translit fixes
- fixes crash with logging on unknown guild
- uses xregexp (nested contexts)
- uses yaml instead of json for key configuration
- internal goodlifying
Small updates
Internal fixes:
- better z-sampa
- more helpful logging (should be around 90% fewer messages lol)
- various qol improvements for triggering bot