Upgrade to release 1.3.0:
- add c++ benchmarks and run them on CIs
- modernize the c++ code by using more c++11 features
- introduce move semantic in some c++ constructors to improve
performances
- add support for Python 3.9
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.14.1:
- bugfix where setting _ok_code to not include 0, but 0 was the
exit code
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.3:
- Unify all block-level tags
- Fix issue where some empty elements would have text rendered
as None when using md_in_html
- Avoid catastrophic backtracking in hr regex
- Fix hr HTML handling
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.2:
- SECURITY ISSUE: Attempted to make RSA PKCS#1v1.5 decryption more
constant time, to protect against Bleichenbacher vulnerabilities.
Due to limitations imposed by our API, we cannot completely
mitigate this vulnerability and a future release will contain a
new API which is designed to be resilient to these for contexts
where it is required. Credit to Hubert Kario for reporting the
issue. CVE-2020-25659
- Support for OpenSSL 1.0.2 has been removed. Users on older
version of OpenSSL will need to upgrade.
- Added basic support for PKCS7 signing (including SMIME) via
:class:`~cryptography.hazmat.primitives.serialization.pkcs7.PKCS7SignatureBuilder`.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.7.0:
- Drop support for Python 3.5, only 3.6 or newer is supported now
- Add support for SSD1351 128x96 display
- Pin luma.core to 1.x.y line only, in anticipation of performance
improvements in upcoming major release
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.7.1:
- Fixed a type error caused by the conditional import of Protocol
- Server doesn't send Content-Length for 1xx or 204
- Fix run_app typing
- Always require typing_extensions library
- Fix a variable-shadowing bug causing ThreadedResolver.resolve
to return the resolved IP as the hostname in each record, which
prevented validation of HTTPS connections
- Added annotations to all public attributes
- Fix flaky test_when_timeout_smaller_second
- Ensure sending a zero byte file does not throw an exception
- Fix a bug in web.run_app() about Python version checking on
Windows
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.4.0:
- Path.joinpath now takes arbitrary positional arguments and no
longer accepts add as a keyword argument.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.17.3:
- Drop support for Python 3.5, only 3.6 or newer is supported now
- Add missing cmdline interfaces: "noop" & "gpio_cs_spi"
- Legacy proportional font wrapper raises user-friendly error
message when character is not in the font table
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.7.1:
- Add Ext type value validation to Ext class and
ext_serializable() decorator
- Change string formatting from % to .format() throughout codebase
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.7.3:
- [FreeBSD] add support for Process.rlimit().
- [BSD] add support for Process.environ()
- [UNIX] net_if_stats()'s isup also checks whether the NIC is
running (meaning Wi-Fi or ethernet cable is connected)
- [Linux] improved battery detection and charge "secsleft"
calculation
- [Linux] physical cpu_count() result is incorrect on systems with
more than one CPU socket
- [macOS] Process.exe() may raise FileNotFoundError if process is
still alive but the exe file which launched it got deleted
- [macOS] fix missing include for getpagesize()
- [Windows] Process.open_files() may cause a segfault due to a
NULL pointer
- [Linux] sensors_battery(): if percent can be determined but not
the remaining values, still return a result instead of None.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.2:
- SECURITY ISSUE: Attempted to make RSA PKCS#1v1.5 decryption more
constant time, to protect against Bleichenbacher vulnerabilities.
Due to limitations imposed by our API, we cannot completely
mitigate this vulnerability and a future release will contain a
new API which is designed to be resilient to these for contexts
where it is required. Credit to Hubert Kario for reporting the
issue. CVE-2020-25659
- Support for OpenSSL 1.0.2 has been removed. Users on older
version of OpenSSL will need to upgrade.
- Added basic support for PKCS7 signing (including SMIME) via
:class:`~cryptography.hazmat.primitives.serialization.pkcs7.PKCS7SignatureBuilder`.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.6.1:
- lxml.html.InputGetter supports __len__() to count the number of
input fields.
- lxml.html.InputGetter has a new .items() method to ease
processing all input fields.
- lxml.html.InputGetter.keys() now returns the field names in
document order.
- GH-309: The API documentation is now generated using
sphinx-apidoc.
- C14N 2.0 serialisation failed for unprefixed attributes when a
default namespace was defined.
- TreeBuilder.close() raised AssertionError in some error cases
where it should have raised XMLSyntaxError. It now raises a
combined exception to keep up backwards compatibility, while
switching to XMLSyntaxError as an interface.
- A vulnerability was discovered in the HTML Cleaner by Yaniv
Nizry, which allowed JavaScript to pass through. The cleaner
now removes more sneaky "style" content.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.0.5:
- Support deprecated literals for sets, tuples on the command-line:
nbconvert --TagRemovePreprocessor.remove_cell_tags='{"tag"}'
- Fix from_string_list for Tuples in general
- Fix support for List(default_value=None, allow_none=True) and
other Container traits
- Fix help output for nested aliases and tuple traits
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.10.0:
- Added support for Python 3.9
- Added support for nested Literal
- Added support for TypedDict inheritance (with some caveats; see
the user guide on that for details)
- An appropriate TypeError is now raised when encountering an
illegal Literal value
- Fixed checking NoReturn on Python < 3.8 when typing_extensions
was not installed
- Fixed import hook matching unwanted modules
- Install the pytest plugin earlier in the test run to support
more use cases
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.4.133:
- [attribute type] telfhash added.
- [add_gitlab_user] new gitlab user fetch script to MISP object.
- Bump object templates.
- Bump changelog.
- Bump version.
- Bump test cases.
- [type] updated.
- Bump file obj version in tests.
- [data] misp-objects updated.
- Bump build system to poetry 1.1.
- [type] new type added.
- [add_github_user] add ssh keys of the user in the MISP object.
- [add_github_user] more fields added from the GitHub API.
- Bump deps, objects.
- Add test for delete=True in get_event.
- [add_github_user] add following to the MISP object.
- Bump dependencies.
- Pass a list to add_attributes.
- Use MISPObject instead of GenericObjectGenerator.
- [doc] add a reference to the license.
- Add docstrings and extend conf.py for RTD.
- Remove PyMISPExpanded from the docs.
- Add comments to ELF, PE, and MachO object generators.
- Improve error message, add comments, rename whitelist to
allowedlist.
- Remove SG search for search() func as this doesn't support SG
searching, but the index does.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.2:
- Properly parse inline HTML in md_in_html
- Account for Etree Elements in HTML Stash
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.6.0:
- add `decodetree` object, for speeding up consecutive calls
to `.decode()` and `.iterdecode()`, in particular when dealing
with large prefix codes, see #103
- add optional parameter to `.tolist()` which changes the items in
the returned list to integers (0 or 1), as opposed to Booleans
- remove deprecated `bitdiff()`, which has been deprecated since
version 1.2.0, use `bitarray.util.count_xor()` instead
- drop Python 2.6 support
License-Update: Update license file, license remains the same.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.25.11:
- Fix retry backoff time parsed from Retry-After header when given
in the HTTP date format. The HTTP date was parsed as the local
timezone rather than accounting for the timezone in the HTTP
date (typically UTC)
- Fix issue where an error would be raised when the SSLKEYLOGFILE
environment variable was set to the empty string. Now
SSLContext.keylog_file is not set in this situation
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.6.0:
- Add get_current() to return the current active element in a with
context
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.1.0:
- Declare support for Python 3.9
- testing/docs: Include doctests in testing
- Allow custom "now" in naturaldelta and naturaltime
- Represent with a zero if the delta is too small
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.1.4:
- use str.casefold() on python3
- make normalization function a parameter of build_dict, so that
user-defined normalization functions can be passed
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.13.0:
- Document how to create subclass from VersionInfo
- Ensure equal versions have equal hashes. Version equality means
for semver, that major, minor, patch, and prerelease parts are
equal in both versions you compare. The build part is ignored.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.4.4:
- Re-org of README, to put the most insteresting parts near
the top.
- Added Linux makefile targets and Windows powershell scripts to
automate bootstrapping a development environment, and automate
the process of testing wheels before they are uploaded to PyPI.
- Use stdlib unittest.mock where available
- Travis CI now also builds on arm64
- Demo06 demonstrates existing cursor positioning feature
- Fix OSC regex & handling to prevent hang or crash
- Document enterprise support by Tidelift
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.0:
- Add support for profiling gevent applications
- A new API has been defined: `set_context_backend` which accepts
`greenlet` as a backend.
- Fix various issues
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrde to release 0.14.2:
- Adapt graphviz.version() to support the Graphviz Release version
entry format introduced with 2.44.2 (version() is needed to run
the tests).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.7:
- Fixed issue where custom chart data labels didn't inherit the
position of the data labels in the series.
- Added text alignment for textboxes. The existing options allowed
the text area to be aligned but didn't offer control over the
text within that area.
- Added Python 3.9 to the test matrix.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.1:
- Correctly parse raw script and style tags
- Ensure consistent class handling by fenced_code and codehilite
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.19.0:
- Removed _experiments.auto_enabling_integrations in favor of just
auto_enabling_integrations which is now enabled by default.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.20:
orm:
- An ArgumentError with more detail is now raised if the target
parameter for Query.join() is set to an unmapped object. Prior
to this change a less detailed AttributeError was raised.
- Fixed issue where using a loader option against a string
attribute name that is not actually a mapped attribute, such
as a plain Python descriptor, would raise an uninformative
AttributeError; a descriptive error is now raised.
engine:
- Fixed issue where a non-string object sent to SQLAlchemyError or
a subclass, as occurs with some third party dialects, would fail
to stringify correctly.
- Repaired a function-level import that was not using SQLAlchemy’s
standard late-import system within the sqlalchemy.exc module.
sql:
- Fixed issue where the pickle.dumps() operation against Over
construct would produce a recursion overflow.
- Fixed bug where an error was not raised in the case where a
column() were added to more than one table() at a time. This
raised correctly for the Column and Table objects. An
ArgumentError is now raised when this occurs.
postgresql:
- The psycopg2 dialect now support PostgreSQL multiple host
connections, by passing host/port combinations to the query
string.
- Adjusted the Comparator.any() and Comparator.all() methods to
implement a straight “NOT” operation for negation, rather than
negating the comparison operator.
- Fixed issue where the ENUM type would not consult the schema
translate map when emitting a CREATE TYPE or DROP TYPE during the
test to see if the type exists or not. Additionally, repaired an
issue where if the same enum were encountered multiple times in a
single DDL sequence, the “check” query would run repeatedly rather
than relying upon a cached value.
mysql:
- Adjusted the MySQL dialect to correctly parenthesize functional
index expressions as accepted by MySQL 8.
- The “skip_locked” keyword used with with_for_update() will emit a
warning when used on MariaDB backends, and will then be ignored.
This is a deprecated behavior that will raise in SQLAlchemy 1.4,
as an application that requests “skip locked” is looking for a
non-blocking operation which is not available on those backends.
- Fixed bug where an UPDATE statement against a JOIN using MySQL
multi-table format would fail to include the table prefix for the
target table if the statement had no WHERE clause, as only the
WHERE clause were scanned to detect a “multi table update” at
that particular point. The target is now also scanned if it’s a
JOIN to get the leftmost table as the primary table and the
additional entries as additional FROM entries.
- Add new MySQL reserved words: cube, lateral added in MySQL 8.0.1
and 8.0.14, respectively; this indicates that these terms will
be quoted if used as table or column identifier names.
mssql:
- Fixed issue where a SQLAlchemy connection URI for Azure DW with
authentication=ActiveDirectoryIntegrated (and no username+password)
was not constructing the ODBC connection string in a way that was
acceptable to the Azure DW instance.
misc:
- Fixed issue where the following pool parameters were not being
propagated to the new pool created when Engine.dispose() were
called: pre_ping, use_lifo. Additionally the recycle and
reset_on_return parameter is now propagated for the AssertionPool
class.
- An informative error is now raised when attempting to use an
association proxy element as a plain column expression to be
SELECTed from or used in a SQL function; this use case is not
currently supported.
- Fixed incompatibilities in the test suite when running against
Pytest 6.x.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.4.1:
- Just removed a debug print statement
- Remove support for end-of-life Python 2.7 and 3.4. Python 3.5+
is now required.
- Remaining strings that only consist of whitespaces are not
treated as statements anymore. Code that ignored the last
element from sqlparse.split() should be updated accordingly
since that function now doesn't return an empty string as the
last element in some cases.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.6.2:
- Provide generated .c files in TarBall distribution.
- Provide wheels for aarch64, i686, ppc64le, s390x architectures
on Linux as well as x86_64.
- Provide wheels for Python 3.9.
- human_repr() now always produces valid representation equivalent
to the original URL (if the original URL is valid).
- Fixed requoting a single percent followed by a percent-encoded
character in the Cython implementation.
- Fix ValueError when decoding % which is not followed by two
hexadecimal digits.
- Fix decoding % followed by a space and hexadecimal digit.
- Fix annotation of with_query()/update_query() methods for
key=[val1, val2] case.
- Drop Python 3.5 support; Python 3.6 is the minimal supported
Python version.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.8:
- Added `validator` parameter to `input_dialog`.
- Cope with stdout not having a working `fileno`.
- Handle situation when /dev/null is piped into stdin, or when
stdin is closed somehow.
- Fix for telnet/ssh server: `isatty` method was not implemented.
- Display correct error when a tuple is passed into
`to_formatted_text`.
- Pass along WORD parameter in `Document._is_word_before_cursor_complete`.
Fixes some key bindings.
- Expose `ProgressBarCounter` in shortcuts module.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.6.4:
- Fix: Empty line added between imports that should be skipped.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.3.35:
- Handle L in ranges.
- Add a new initializaton paramter max_years_between_matches to
support finding the next/previous date beyond the default 1 year
window, if so desired. Updated README to include additional
notes and example of this usage.
- The croniter_range() function was updated to automatically
determines the appropriate max_years_between_matches value, this
preventing handling of the CroniterBadDateError exception.
- Updated exception handling classes: CroniterBadDateError now
only applies during date finding operations (next/prev), and all
parsing errors can now be caught using CroniterBadCronError. The
CroniterNotAlphaError exception is now a subclass of
CroniterBadCronError. A breif description of each exception
class was added as an inline docstring.
- Updated iterable interfaces to replace the CroniterBadDateError
with StopIteration if (and only if) the max_years_between_matches
argument is provided. The rationale here is that if the user has
specified the max tollernace between matches, then there's no need
to further inform them of no additional matches. Just stop the
iteration. This also keeps backwards compatibility.
- Minor docs update.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.7.4:
- passlib.ext.django – updated tests to pass for Django 1.8-3.1;
along with some internal refactoring of the test classes.
- CryptContext will now throw UnknownHashError when it can't
identify a hash provided to methods such as CryptContext.verify().
Previously it would throw a generic ValueError.
License-Update: Updated URLs, styling fixes, bumped copyright year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.0.1:
- Fix UnicodeDecodeError on arm64/aarch64
- Add support for Python 3.9
- Build wheels for Python 3.9
- Drop support for EOL Python 3.5
- Fix indent and add test case
- Update code samples in README
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.6.3:
- Pin yarl to <1.6.0 to avoid buggy behavior that will be fixed
by the next aiohttp release.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>