Skip to content
This repository was archived by the owner on May 3, 2021. It is now read-only.

Commit 5b624d6

Browse files
authored
Update CHANGELOG.md
1 parent e94a3e6 commit 5b624d6

1 file changed

Lines changed: 11 additions & 35 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,35 @@
11

2-
## Changelog
2+
# Changelog
33

4-
#### Version 1.2.7
5-
6-
* Fixes an issue introduced in 1.2.6 where the message content collection would be affected
7-
in the processing of the message, causing it to lack special characters
4+
## Version 1.2.7
85

6+
* Fixes an issue introduced in 1.2.6 where the message content collection would be affected in the processing of the message, causing it to lack special characters
97
* Fixes a documentation error where the wrong type hinting was used in the Message object
8+
* Fixes a bad design choice where the module would call sys.exit() unless requirements were met for CommandProcessor upon import
109

1110

12-
#### Version 1.2.6
13-
14-
11+
## Version 1.2.6
1512

1613
This patch contains news and improvements.
1714

1815
**Important**: Features without `Callback` as the object in `callbacks `for `CommandParser` objects will not work, and need to be upgraded to `Callback`.
19-
20-
2116
**New**
22-
23-
* `Callback`
24-
The `Callback` object has replaced the old structure with dictionaries when creating a callback binding with words to a method in Features. See `demo_feature` in `examples.py` for a demo of how to get started and upgrading your features.
17+
* Callback
18+
The `Callback` object has replaced the old structure with dictionaries when creating a callback binding with words to a method in Features. See `demo_feature` in `examples.py` for a demo of how to get started and upgrading your features.
2519
* Compliance in *FeatureBase*, *CommandParserBase* and *CommandProcessor for use with `Callback`
2620
* The **interactive_methods** tuple property for CommandParser objects is deprecated, and replacedb by the **interactive** flag for the **Callback** object.
2721

2822
**Improvements**
29-
3023
* Fixes an issue where no warning was delivered upon trying to use **int** as key in callbacks. This is still not supported but is now explained through an error.
3124
* Fixes an issue with Features receiving the lowered version of the command only. Features still match case insensitive but now receive the original message.
3225

33-
34-
35-
36-
37-
#### Version 1.2.5
26+
## Version 1.2.5
3827

3928
**New**
4029

41-
* `CommandParser ` Class, ready-to-use. See **example.py** in **/examples**
42-
43-
If you only need a default CommandParser without any overloaded methods, this class is for you!
30+
* CommandParser class, ready-to-use. See **example.py** in **/examples**
4431

32+
If you only need a default CommandParser without any overloaded methods, this class is for you.
4533
You no longer need to inherit the FeatureCommandParserBase in order to create a command parser
4634

4735
for your Feature, just use the `CommandParser` object.
@@ -57,31 +45,19 @@ This patch contains news and improvements.
5745

5846
* `import CommandIntegrator` is now the only needed import to access everything within the package. By the use of the `__init__.py` file. `import CommandIntegrator as ci` will give you access to all classes and functions in the package from the `ci.` syntax
5947

60-
6148

6249
* Language data is migrated to a new file called `language.json` which allows developers to easily increase the support for other languages
63-
6450
* Code refactoring including module details, module name scheme according to PEP8
65-
6651
* Pronoun strings removed from `PronounLookupTable` object and moved to `language.json`
67-
6852
* Create log entries manually using:
6953
`@ci.logger.log(message, level = "debug" / "info" / "error")`
7054
* Set log file location and name in `commandintegrator.settings`
7155

7256
* Choose whether or not to **append** the log file (**false** evaluates to file overwrite each start)
73-
7457
* `CommandProcessor` now accepts a single feature without being enclosed in Tuple.
75-
7658
* Reduced processing time of commands
77-
78-
* Reduced code needed to create a working assistant with command integration
79-
59+
* Reduced code needed to create a working assistant with command integration
8060
* `logger` function is rewritten as a class
81-
8261
* You can now log manual entries by calling:
83-
8462
`ci.logger.log(message = "Derp", level = "debug" # "info" # "error")`
85-
86-
8763
* The decoration to use changed from `@logger` to `@ci.logger.loggedmethod`

0 commit comments

Comments
 (0)