Releases: CheeseCake87/flask-traffic
0.8.2
0.8.1
Closely followed by 0.8.1 from 0.8.0
Turns out I was editing in the wrong project folder when I added the BigInt variants. They are in now. See version v0.8.0 for more details on what changed.
0.8.0
Scoped each store into their own modules to fix import errors if you didn't have the library needed for each store. This was being cause by the stores package __init__.py
I've bumped to 0.8.0 as this will cause a breaking change.
In a previous version I configured the ORM mixin to work with BigInts, but I was unaware that BigInts on sqlite do not auto increment so I've added a type variant to adjust the type based on the database being used. PostgreSQL, MySQL and SQLite are the only types defined at the moment.
Some smaller changes include the max_request_path_length being added to the IGNORE_LOCALS global to fix a key error.
There are no tests written for this! 😩 -- it seems it has been sitting broken for a while now, I'm pretty busy with other things at the moment. Hopefully I find the time to get some sort of testing done for this.
0.7.0
- Change SQLStore and SQLORMStore traffic table's primary key from Int to BigInt to prevent overflow, issue #2
- Add limiter to request_path length to prevent really long paths being stored, issue #2
Limiting of request paths can now be done in the LogPolicy
log_policy = LogPolicy(
...
max_request_path_length=100,
)0.6.1
- RedisStore.read now returns list in reverse (newest to the top)
0.6.0
- new store: RedisStore
- removed sqlalchemy dependency
- add exceptions for required packages not installed
- add optional installation extras
0.5.0
- add
host_urlto logging - add
endpointto logging
0.4.1
- update TOC and minimal example on readme.
0.4.0
- add
readmethod to all stores. - update example app to include
readmethod.
0.3.0
- bug fix to LogPolicy.
- bug fix to datetime conversion in SQLStore.
- LogPolicy now has 'on_endpoints', 'skip_endpoints', 'on_status_codes',
'skip_status_codes' attrs to skip or scope. log_only_on_exceptionandskip_log_on_exceptionrenamed to
only_on_exceptionandskip_on_exception.