Changelog¶
Main Kolo Changelog for the kolo
package. There’s a separate changelog for the VSCode Extension
v2.34.2¶
2024-11-04
Fix a bug where due to a change in 2.34.0,
True
values were being displayed asFalse
in certain contexts.Fix a bug where using rust monitoring would fail in wasm due to incorrect accessing of thread_ids.
v2.34.1¶
2024-11-02
Build wasm wheels for Python 3.12 in order to upgrade the Kolo playground to 3.12 (https://play.kolo.app)
v2.34.0¶
2024-11-01
Lots of work on sys.monitoring in this version. This is still behind a flag, but it will eventually become the default in Python 3.12+
Support for sys.monitoring events in the web app (yield, resume, throw, unwind).
Refactor of how kolo handles threads to offer full threading support when using sys.monitoring and Python 3.12+
v2.33.9¶
2024-10-19
Remove dependency on python-magic-bin on Windows, see https://github.com/kolofordjango/kolo/issues/95
v2.33.8¶
2024-09-16
We no longer explicitly run our CI against PyPy but we still build wheels for it.
Fix a build issue where the static webapp was not included in wheels in maturin 1.7.1
v2.33.7¶
2024-09-09
Experimental new feature behind a feature flag.
Fix a bug where Kolo would crash when it
__name__
is not defined
v2.33.6¶
2024-08-05
Fix GitHub Actions build errors
v2.33.5¶
2024-08-05
Support initializing web app with Windows paths.
Add wheels for Alpine Linux.
v2.33.4¶
2024-07-29
Show
ModelCreate
step in visual test plan in web app & fix sticky header.
v2.33.3¶
2024-07-24
Fix a bug where the test plan wouldn’t render in the web app.
Add a check for standard library frames against lib64/python which is path on some linux distros including Fedora
v2.33.2¶
2024-07-22
Fix a bug where the web app would crash when selecting a frame with return locals omitted
v2.33.1¶
2024-07-22
Use experimental
sys.monitoring
tracing added in2.31.0
inkolo run
andKoloMiddleware
whenuse_monitoring = true
.
v2.33.0¶
2024-07-19
Add
omit_return_locals
config option to omit local variable information from return frames. This is useful for reducing the size of Kolo traces.
v2.32.2¶
2024-07-15
Fix handling of generator
throw
methods in experimental tracing added in2.31.0
.
v2.32.1¶
2024-07-15
Add a dependency on typing extensions to fix an
ImportError
.Update all JavaScript dependencies in the web app.
v2.32.0¶
2024-07-12
Support registering “step hooks” for customising test generation steps.
Support setting a variable name in test generation
With
step.Rename test generation step
EndClass
toEndTestClass
.Rename test generation step
EndFunction
toEndTestFunction
.Rename test generation step
EndMethod
toEndTestMethod
.Rename test generation step
Method
toTestMethod
.Rename
kolo.test_generation.register_plan_hook
toplan_hook
.Add
plan_hook
andstep_hook
decorators to top-levelkolo
module for convenience.Fix rendering of
ModelCreate
in test generation when not using the defaultget_or_create
method.Drop support for custom test generation templates.
Rework the test generation documentation to focus on customisation via step and plan hooks.
v2.31.0¶
2024-07-08
Add experimental tracing implementation using
sys.monitoring
on Python 3.12+. To enable, setuse_monitoring = true
in.kolo/config.toml
.Show outdated version notice in web app when there’s a newer version of Kolo available.
v2.30.9¶
2024-07-02
Auto-delete traces older than 30 days. This feature is only available on the web app, where it can be disabled through the newly-added settings page.
Fix opening files in PyCharm from the web app.
Allow setting a default text editor (VS Code or PyCharm) for opening source files from the web app.
Open detail view when clicking on visualization in web app.
v2.30.8¶
2024-06-25
Fix test generation crash for templates without names.
v2.30.7¶
2024-06-21
Hide default
port
values (80
forhttp
and443
forhttps
) in traced URLs when usingurllib3
.
v2.30.6¶
2024-06-21
The web app now asks for your email, in line with the VS Code extension. We also dislike filling in forms, but knowing who and how many people use our web app helps us decide where to direct our small team’s efforts.
v2.30.5¶
2024-06-20
Only store frame data in thread-specific lists when the
threading
config value is set totrue
. This was missing in the pure Python implementation used on PyPy or whenuse_rust = false
.Support accessing Kolo’s web app when using Daphne’s
runserver
.Support viewing source code from outside a project in Kolo’s web app. This is usually standard library code or third party library code.
Improve recorded traces for async Django urls.
v2.30.4¶
2024-06-18
Handle traces without any frames in the web app.
Fix deadlock in experimental threading support.
v2.30.3¶
2024-06-18
Avoid reparsing traces once they are successfully parsed in web app.
Do not require trailing slash in path to load web app (
/_kolo
now works, as well as/_kolo/
).Fix the “Generate test” button on the web app. It was incorrectly redirecting to a non-Kolo path.
v2.30.2¶
2024-06-18
Avoid web app crash when a single trace fails to parse.
Send caching HTTP headers when polling for latest traces in web app, in order to avoid unnecessary data transfer.
v2.30.1¶
2024-06-14
Implement better fix for
AttributeError
in Kolo web app api (previously worked around in2.28.0
).
v2.30.0¶
2024-06-14
Enable Kolo web by default in
KoloMiddleware
and remove theweb_experience
config option.Improve startup message in
KoloMiddleware
to include a clickable link (http://127.0.0.1:8000/_kolo/
).Add
hide_startup_message
config option to allow disabling the startup message.
v2.29.2¶
2024-06-14
Fix issue with trace deserialization stuck in an infinite loop in the extension and web app, by switching from
msgpackr
tomsgpack-es
.
v2.29.1¶
2024-06-13
Avoid expensive call to
black
inkolo trace dump --as-python
when the trace is larger than 1 million characters.Use
ruff format
to reformat Python code inkolo trace dump --as-python
andkolo generate-test
when ruff is installed.
v2.29.0¶
2024-06-13
Add a button to copy the generated test to clipboard in the web app.
Fix minor web app issues: dark mode no longer makes some buttons transparent; flickering dark shadow no longer appears in code excerpts.
Add support for self-referential models in test generation.
Add
mocket
to Kolo’s dependencies for generated tests.
v2.28.0¶
2024-06-07
Fix
AttributeError
in Kolo web app api.Show variable names in test plan in Kolo web app.
Show json view for test plan in Kolo web app.
Add basic syntax highlighting to test plan in Kolo web app.
v2.27.1¶
2024-06-05
Fix flickering scrollbars in the Kolo web app.
v2.27.0¶
2024-06-05
Added background job and log message detail views in Kolo web app.
v2.26.0¶
2024-06-04
Display test plan rendering in Kolo web app.
v2.25.1¶
2024-06-03
Stop generating uninteresting
assertTemplateUsed
lines for Django’s own template files.Omit csrf token from generated test client
post
calls.Standardise representation of booleans in tests generated from sqlite queries.
v2.25.0¶
2024-05-31
Kolo’s test generation dependencies are now installed by default, instead of requiring
pip install kolo[test_generation]
.Kolo now generates pytest-style tests by default. Use
kolo generate-test --unittest
to enable unittest style tests.Added experimental
kolo generate-test --use-plan
option to generate a test via a programmaticPlan
.Added experimental support for hooks to modify the generated
Plan
before rendering.
v2.24.1¶
2024-05-22
Fix handling of outbound http responses in test generation when response headers are
None
.
v2.24.0¶
2024-05-08
Support building Kolo with Pyodide.
v2.23.1¶
2024-05-01
Fix
kolo trace load
for msgpack traces containing non-string dictionary keys.Support tracing un-named Django templates. Fixes https://github.com/kolofordjango/kolo/issues/84.
Work around a
ValueError
that can be raised by Django’sRequestContext.flatten()
during template tracing.
v2.23.0¶
2024-04-19
Always use the current Django schema when processing queries in test generation. Add the
--use-saved-schemas
flag to support the old behaviour of using schemas saved via thekolo store-django-model-schema
command.Record trace data for
Model.objects.raw()
Django queries.Record trace data for Django templates used in
{% include %}
and{% extends %}
tags.Add missing newline to imports in generated tests.
Ensure all
Decimal
values in generated tests are normalized.Add
--as-python
flag tokolo trace dump
to support dumping the trace as python code instead of msgpack or json.Add
kolo trace list-queries
command to show all queries included in a trace.Add optional
Pygments
dependency for syntax highlighting in the cli. Runpip install kolo[cli]
to install.Add basic support for
bulk_update
queries in test generation.Record the raw parameters involved in an SQL query executed via Django.
Add new
lightweight_repr
config option. Some traced objects have__repr__
implementations that are expensive to run. If this is enabled, Kolo instead serializes these objects as"{class_name} object {id}"
.Drop support for loading or dumping legacy json traces with the Kolo cli.
Add
kolo trace json-to-msgpack
helper command to convert all legacy json traces to msgpack format.
v2.22.0¶
2024-04-04
Support generating a test from multiple traces at once.
Import
Decimal
in generated tests usingDecimalField
.Import
uuid
in generated tests usingUUIDField
.Avoid importing
datetime
unnecessarily in generated tests.Require
sqlglot>=23.6.4
to fix broken postgres interval parsing in test generation.Fix
kolo trace download
to match new api endpoint in Kolo Dashboard.
v2.21.1¶
2024-03-26
Add more debugging information to error logs.
Fix
kolo trace download
to match new gzip headers for Kolo Dashboard.Rename
SerializationError
toKoloSerializationError
.
v2.21.0¶
2024-03-20
Support automatically uploading traces to Kolo Dashboard instead of saving them locally.
v2.20.2¶
2024-03-19
Add compatibility with version 23 of
sqlglot
for test generation.Drop support for older versions of
sqlglot
.Support saving a Django schema to the Kolo database when that schema includes datetime types.
Be less strict when checking
content-type
for json responses in test generation.
v2.20.1¶
2024-03-05
Exit
kolo run
early when a different debugger is already active.Add an assert to generated tests for Django JSON responses.
Gracefully handle a missing response body for an outbound request in test generation.
Support saving a Django schema to the Kolo database when that schema includes lazy translatable strings.
Consistently use lower-case variable names in test generation.
v2.20.0¶
2024-02-22
Support defining local processor plugins in your own project.
Fix packaging of generated assets for the editor-agnostic web endpoint introduced in
2.17.0
.
v2.19.0¶
2024-02-19
Stop hiding suspend/resume frames when tracing
httpx
async code.Mark
KoloMiddleware
as a coroutine for better compatibility with Django’s async support.Fix Rust panic when using
kolo run pytest -k
.Add support for third party plugins for Kolo to add custom data to traces.
v2.18.0¶
2024-01-31
Remove support for json traces (
use_msgpack=false
) that was deprecated in2.16.0
.Serialize
tuple
as a msgpack extension type to maintain hashability after deserializing.Serialize
set
andfrozenset
as msgpack extension types.Add support for custom field parsers for test generation.
Parse isoformat
date
strings in test generation.Support parsing negative
timedelta
strings in test generation.Convert non-string SQL Literal values to python values in test generation.
Improve generated asserts for delete queries in test generation.
Improve merging of generated asserts to simplify generated tests.
Remove the
list-traces
,dump-trace
,load-trace
anddelete-old-traces
commands deprecated in2.8.0
.Stop officially supporting Django 4.1.
v2.17.0¶
2023-11-15
Add an early version of an editor agnostic Kolo experience accessible via
localhost:8000/_kolo/
Fix some invalid timestamps in Kolo’s internal trace format when tracing a test that mocks time with
time_machine
.Improve parsing of
INSERT
queries in test generation.Support generating a test from a trace including multiple request/response sections. Previously we only used the first request/response pair.
Avoid duplicate arguments to
queryset.filter
in generated assert code for delete queries.Always include a request body when mocking outbound requests in generated tests. Previously we only supported json body data.
v2.16.3¶
2023-11-01
Avoid crashing on unhashable query data in test generation.
v2.16.2¶
2023-10-30
v2.16.1¶
2023-10-26
Fix validation of a msgpack trace downloaded from the Kolo dashboard.
v2.16.0¶
2023-10-26
Add support for using msgpack as an internal format for traces with the
use_msgpack
config option. This is on by default and requires version2.15.0
of the VSCode Extension. Support for json traces (use_msgpack=false
) is deprecated and will be removed in a future version.Add support for Python 3.12.
Remove the
wal_mode
config option.Log an error when a trace is too big to save to Kolo’s sqlite database.
Use timezone-aware datetimes in test generation.
Avoid generating code leading to a
MultipleObjectsReturned
exception in test generation.
v2.15.1¶
2023-09-15
Hide
__builtins__
from module locals to save space and make raw traces more readable.Increase the default busy timeout for Kolo’s sqlite database to 60s (from 5s).
Allow setting
sqlite_busy_timeout
in.kolo/config.toml
.Add a lower bound (
3.6.0
) for the required version of asgiref.Fix handling of foreign key values in generated asserts for update queries.
Stop creating test model instances with
None
as a primary key in test generation.
v2.15.0¶
2023-09-13
Remove unnecessary blank lines between asserts in generated tests.
Remove
refresh_from_db
calls from generated tests when there are no associated asserts.Merge generated asserts from insert, update and delete database queries together.
Improve support for generic foreign keys in test generation.
Make asgiref dependency explicit so Kolo can be used with older Django versions.
v2.14.0¶
2023-09-04
Add support for generating tests using factory boy factories.
Change the behaviour of the
trace_processors
config value to append new processors instead of overriding the existing processors. This means you don’t need to copy the list of all Kolo’s default processors when adding your own custom processor.Prefer time machine over freezegun in generated tests. Freezegun will still be used if it is installed and time machine is not installed.
Add support for fields with custom column names in Kolo test generation.
Change test generation import style to a more human style.
Add extra hooks to Kolo’s default test generation templates to enable further customisation of generated tests.
Improve the quality of test asserts generated from database queries.
Handle traces including bulk creates better in test generation.
Add preliminary support for sharing traces via Kolo Dashboard.
Track Django checks to allow better filtering in VSCode.
Track Django test database creation to allow better filtering in VSCode.
Stop filtering out module creation frames from traces. This allows better visibility of import flow.
Fix file path resolution edge-case on Windows for Python 3.8 and 3.9.
Fix a deprecation warning for Content-Type header parsing.
v2.13.2¶
2023-08-17
Turn off special handling of
namedtuple
insimplejson.dumps
since this was adding unexpected entries toMagicMock.mock_calls
in traced tests.
v2.13.1¶
2023-08-09
Convert
NaN
and infinite float values tonull
when encoding json.
v2.13.0¶
2023-07-26
Add
--count
and--reverse
options tokolo trace list
to allow customising the results.Add support for configuring Kolo in
pyproject.toml
in addition to.kolo/config.toml
. Fixes https://github.com/kolofordjango/kolo/issues/46.Track Django setup logic entrypoint to allow better filtering in VSCode.
Improve stability of experimental threading support.
v2.12.4¶
2023-07-17
Really fix disabling of experimental threading support in the Rust extension.
v2.12.3¶
2023-07-14
Fix disabling of experimental threading support in the Rust extension.
v2.12.2¶
2023-07-12
Disable experimental threading support by default.
v2.12.1¶
2023-07-06
Fix the rust extension’s handling of fake frame filenames. Fixes https://github.com/kolofordjango/kolo/issues/62.
v2.12.0¶
2023-07-04
Replace a panic in the Rust extension when decoding json with a python exception for better debugging.
Add support for pypy 3.10.
Drop support for pypy 3.8 because the pypy project no longer support it.
v2.11.0¶
2023-06-23
Add support for tracing httpx outbound requests.
Add
kolo dbshell
for advanced users to inspect or run queries against the Kolo database.Support json (de-)serialization of large numbers in the Rust extension.
v2.10.0¶
2023-06-21
Update
KoloMiddleware
to handle async views as well as sync views. Fixes https://github.com/kolofordjango/kolo/issues/57.Improve sql query parsing for test generation.
Tweak the error message when test generation dependencies are missing. Fixes https://github.com/kolofordjango/kolo/issues/58.
Bump the minimum version of
sqlglot
to16.1.1
for better sqlite parsing in test generation.Drop support for Python 3.7.
v2.9.4¶
2023-05-29
Omit json data from assert queries in test generation.
Fix variables in test generation.
v2.9.3¶
2023-05-29
Improve support for json response bodies for httpretty in test generation.
Remove debug sql comments from generated tests.
v2.9.2¶
2023-05-23
Try to autodetect the correct Django settings file from
manage.py
in test generation.Disable logging during test generation to avoid log messages in the generated test.
Handle Django’s
DurationField
better in test generation.Ensure string values in
get_or_create
defaults don’t getrepr
called twice in test generation.Add context to the top of the generated test file.
v2.9.1¶
2023-05-19
Handle more edge-cases in test generation.
v2.9.0¶
2023-05-12
Add support for Django ORM asserts to the experimental test generation feature.
v2.8.1¶
2023-05-11
Turn a panic in the Rust extension into a Python exception for better debugging.
v2.8.0¶
2023-05-03
Fix
IndexError
inExceptionFilter
when the exception doesn’t come from a recorded frame.Add
kolo trace
command withlist
,dump
,load
anddelete
subcommands.Deprecate the
list-traces
,dump-trace
,load-trace
anddelete-old-traces
commands.
v2.7.0¶
2023-04-21
Store
date
anddatetime
values as timestamp strings in traces.Add the
kolo store-django-model-schema
command for use with the experimental test generation feature.
v2.6.2¶
2023-04-18
Fix an
AttributeError
inRequestsFilter
when handling a bad response (for example in a timeout/retry).
v2.6.1¶
2023-04-18
Raise a new
KoloWriteError
when Kolo fails to write to the.kolo
directory for some reason.
v2.6.0¶
2023-03-17
Track which database each SQL query is for. Enables future work in the VSCode extension.
v2.5.0¶
2023-03-15
Add the
kolo delete-old-traces
command.
v2.4.4¶
2023-03-13
Fix a
KeyError
inUrllib3Filter
where a"response"
key could be missing (for example in a timeout/retry).
v2.4.3¶
2023-03-13
Fix a
TypeError
in the Rust extension when trying to convertNone
to a string.Optimise how we process Django QuerySet objects in Python and Rust.
v2.4.2¶
2023-02-15
Further improve the performance of the Rust extension by optimising string contains in a hot loop.
v2.4.1¶
2023-01-30
Further improve the performance of the Rust extension by interning suitable strings.
v2.4.0¶
2023-01-25
Use the Rust extension by default on CPython. To disable this set
use_rust = false
at the top of your.kolo/config.toml
.Improve the performance of the Rust extension by about 10%.
v2.3.0¶
2022-12-01
Consolidate
kolo.enable
andkolo.enabled
into one combined context manager and decorator.Exclude library code from analysis properly on Windows for all supported python versions.
Exclude library code from analysis properly on PyPy 3.8 and 3.9.
Add an experimental Rust extension. To opt-in to this, set
use_rust = true
at the top of your.kolo/config.toml
.
v2.2.1¶
2022-11-14
Fix a
TypeError
when serializing dictionary keys as json.
v2.2.0¶
2022-11-01
Refactor Kolo’s internal serialization format to minimise runtime overhead. Requires version
2.2.0
of the VSCode extension.
v2.1.0¶
2022-10-27
Add a
kolo list-traces
command to make it easier to share tracesOptimise Kolo’s hot profiling loop.
v2.0.6¶
2022-10-18
Fix a
KeyError
in Kolo’s SQL query processing for empty queries.Stop json encoding errors breaking Kolo traces.
v2.0.5¶
2022-10-13
Fix a
KeyError
in Kolo’s SQL query processing.Fix a
TypeError
in Kolo’s SQL query processing.
v2.0.4¶
2022-10-10
Increase the log level of exceptions handled by Kolo from
debug
towarning
.Stop double-encoding data as json before saving it in the Kolo database. Requires version 2.1.1 or later of the VSCode extension.
v2.0.3¶
2022-09-22
Stop autocreating an empty
.kolo/config.toml
file.
v2.0.2¶
2022-09-15
v2.0.1¶
2022-09-09
Don’t lose trace data when an object has a broken
__repr__
.
v2.0.0¶
2022-09-09
Record when a background job ends when using eager mode for celery or huey.
Record data about Django template rendering.
Record the data loaded from the database by sql queries in Django.
Support tracing pytest tests with
kolo run
.Support user-defined includes and ignores when processing exceptions.
Add
--one-trace-per-test
option tokolo run
to better support analysing tests.Add
kolo load-trace
andkolo dump-trace
commands to support sharing interesting traces.Add experimental support for test generation with
kolo generate-test
.Add a timestamp to all trace items.
Ensure
.kolo/config.toml
exists so users don’t need to manually create it.Fix the
kolo.enable
decorator so it actually works as a decorator with theconfig
argument.Stop storing config data in Kolo’s database.
Remove the
kolo config
command.
v1.8.0¶
2022-07-22
Fix threadsafety bug in
KoloMiddleware
causing traces to be lost when too many requests happen close together withmanage.py runserver
.Optimise the main profiling loop by 30-40%.
Drop support for setting
use_frame_boundaries
tofalse
.
v1.7.0¶
2022-06-30
Change the default value of
use_frame_boundaries
totrue
.
v1.6.1¶
2022-06-30
Fix a bug with 404 response handling when
use_frame_boundaries = true
.
v1.6.0¶
2022-06-29
Make a new mode of collecting traces available via
use_frame_boundaries = true
in.kolo/config.toml
where each trace does not necessarily have to start with a served HTTP request and does not necessarily have to end with an HTTP responseAdd the
kolo.enable
decoratorAdd the
kolo.enabled
context managerUpgrade dependencies
Fix a bug with args serialization the logging filter
v1.5.0¶
2022-06-15
Start using SQLite WAL-mode, which allows for both writing and reading to SQLite at the same time.
Kolo will now always store its db in the
.kolo
directory. The previously deprecated storage location using the operating system’s user data directory is no longer supported. TheKOLO_STORE_IN_PROJECT
andKOLO_PROJECT_NAME
settings are no longer supported –KOLO_STORE_IN_PROJECT
is now always true.Numerous performance improvements to speed up Kolo
Add support for a logging filter, so that Kolo can capture log output for later display
v1.4.0¶
2022-04-18
Use repr as a fallback when serializing locals. Fixes https://github.com/kolofordjango/kolo/issues/15
Better support for outbound HTTP requests with binary request bodies
Make use of Django’s MiddlewareNotUsed when Kolo is disabled
Handle case where the actual charset in an HTTP response is different from the expected one. Fixes https://github.com/kolofordjango/kolo/issues/13
Drop support for Python 3.6 and Django 2.2, 3.0, 3.1 as all these versions have reached their end of life
Include qualname information in frame data
v1.3.8¶
2022-03-14
Kolo will no longer crash if
git
isn’t available while recording a trace
v1.3.7¶
2022-02-22
Fix bug where kolo would error when the request body included binary content. Thanks @abdulmuizzf for the report 🙌
v1.3.6¶
2022-02-08
A whole host of performance improvements that should make using Kolo feel a lot snappier!
v1.3.5¶
2022-02-07
Support for huey tasks (on the python side)
Re-create the kolo sqlite database if we detect it has been deleted while kolo is active
Include query template in recorded SQL data
Fix crash when kolo is processing a streaming HttpResponse
Further stability improvements
v1.3.4¶
2022-01-12
Fix a regression in 1.3.3 where Kolo was throwing an error when it was disabled
v1.3.3¶
2022-01-12
Fix a dependency incompatibility issue by moving our build process from poetry to pip + setup.cfg
Capture urls information for the request Django is processing
v1.3.2¶
2021-12-12
Support for Django 4.0
v1.3.1¶
2021-11-25
Support for standard library
urllib
Better support for when
urllib3
is used standalone (withoutrequests
)Decompress gzipped HttpRespones for display in Kolo (Fixes https://github.com/kolofordjango/kolo/issues/10)
v1.3.0¶
2021-11-10
Default to storing the Kolo database in
.kolo/db.sqlite3
. The.kolo
directory is adjacent to yourmanage.py
file by default and can otherwise be customized using theKOLO_PATH
environment variableThis change is backwards compatible. Kolo will continue to read and write data to the previous database location if it detects an existing database present
Store milliseconds for
created_at
timestamps in the Kolo database
v1.2.1¶
2021-10-26
Fix issue where Kolo would exhaust iterators as part of processing a frame: https://github.com/kolofordjango/kolo/issues/9
v1.2.0¶
2021-10-25
Capture the call site for each captured frame
Store Kolo database in
.kolo
(alongside the user’s working directory) via theKOLO_STORE_IN_PROJECT=1
environment variable. (To be the default soon)Capture information about where in the user code SQL queries originate
v1.1.3¶
2021-09-30
Collect
scheme
from the incoming HTTP request which assists the VSCode extension in reliably replaying requests
v1.1.2¶
2021-09-21
Fix bug where Kolo would cause additional SQL queries when the evaluation of a third party
__repr__
would call__repr__
on a django queryset. Specifically this was the case with Django Rest Framework (as with the previous change log item, credit to @vhtkrk for reporting this https://github.com/kolofordjango/kolo/issues/4)
v1.1.1¶
2021-09-20
Fix bug where Kolo would prematurely evaluate not-yet-evaluated Querysets (credit to @vhtkrk for reporting this bug!)
v1.1.0¶
2021-09-16
Additional configuration options via .kolo/config.toml
You can now configure Kolo to exclude certain URL paths (like
/static/
) and also explicitly include and exclude frames based on filepath
Better support for capturing those exceptions that lead to a 500 error
Several bug fixes and stability improvements!
v1.0.4¶
2021-08-19
Exclude attrs generated frames. The refactor of the 1.0.0 release resulted in these being included, but now they’re excluded again!
v1.0.3¶
2021-08-11
Add changelog link pointing at this file on PyPI page: https://pypi.org/project/kolo/
v1.0.2¶
2021-08-11
Fix classifiers from 1.0.1. Now they actually show up: https://pypi.org/project/kolo/
v1.0.1¶
2021-08-11
Add relevant PyPI classifiers: https://pypi.org/classifiers/
v1.0.0¶
2021-08-10
Support for Python 3.6
Refactored how we exclude library code. If you start seeing library code show up in Kolo, please open a new issue on this repo
Kolo now has better support for showing code that was executed as part of a custom middleware that you have in your Django project
Kolo will now disable itself if it detects another profiler present (a log message will be shown in this case)
A whole host of performance and stability improvements
Introduced more logging to show when Kolo is disabling itself
Bringing the major version number to 1, to ensure the
kolo
python package and VSCode extension always share the same major version number
v0.0.5¶
2021-06-10
Support for Python 3.7
v0.0.4¶
2021-06-04
Improve README shown on PyPI
v0.0.3¶
2021-06-04
Use INSERT OR IGNORE to prevent bug where the same invocation would be inserted twice into sqlite leading to a confusing user-visible error message
v0.0.2¶
2021-05-26
Capture timestamps as floats instead of ints, because we’re basically always operating at the sub-second level
v0.0.1¶
2021-05-23
Initial release. New to Kolo? Check out our website and the announcement video