changelog#
This project uses a semantic versioning scheme as the base for naming all the releases
Stable Releases#
2.4.1 - 2022.07.05#
Fixed#
Serialix
object dictionary will now refresh even if local file does not exist at the moment of call
2.4.0 - 2022.06.12#
Changed#
Enhanced project documentation
LICENSE
(c) information extended. No critical changes.
Deprecated#
serialix.langs
module was deprecated. All implementation moved toserialix.formats
module.serialix.langs
will stay in project, inheriting theserialix.formats
features, until3.0.0
version release.
2.3.3 : 2022.05.14#
Changed#
Improved docstrings and type-hinting
2.3.2 : 2022.05.03#
Fixed#
Deprecation notice in docstrings now will be displayed properly
2.3.1 : 2022.05.03#
Fixed#
.core.BaseLang.__init__
logics of handling the local file refactored. Loading file withauto_file_creation=False
now will work properly.
2.3.0 : 2022.04.30#
Added#
New feature to pass the language parser class to
Serialix
file_format
argument. By default it should be inherited fromserialix.core.BaseLang
class, this check can be ignored by passing theignore_inheritance_check=False
argument toSerialix
class. This feature allows to use custom written parsers forserialix
.Usage example:
from serialix import Serialix, JSON_Format cfg = Serialix(JSON_Format, "test.json")
Deprecated#
CLI
toolset marked as deprecated and will be removed from package in version3.0.0
release. Deprecation notification will be displayed on eachcli
call..core.BaseLang.is_file_exist()
marked as deprecated and replaced with.file_exists()
method. Will be removed in version3.0.0
. ..Note that changes to
.core.BaseLang
will be reflected on all inherited from it classes (``JSON_Format``, ``YAML_Format``, …).
Fixed#
.core.BaseLang
Loading file withauto_file_creation=False
if local file doesn’t exist now will be proper. Before the fix, object’s dictionary will be empty ifauto_file_creation=False
argument passed and local file does not exist at the time of initialization.
Removed#
Version lock for package dependencies removed. User now has complete freedom in configuration but also is responsible for matching the versions of the dependency packages himself.
2.2.0 : 2022.03.25#
Fixed#
Docstrings for
serialix.serialix.Serialix
class and all the parents
Changed#
All variables in
serialix.meta
now public. Changes will not affect theserialix.__init__
, I.e. - project version and author can still be accessed likeserialix.__version__
andserialix.__author__
respectivelyEnhanced docstrings for the entire project
Deps versions range now locked to the last available versions (``<=x.y.z``) instead of full MAJOR releases range (``<=x``)
Deprecated#
__version__
and__author__
variables inserialix.meta
now deprecated and will be removed in3.0.0
release. Mentioned variables was replaced with public variants (Read ``#Changed`` for this version for more information)
2.1.2 : 2022.02.28#
Changed#
Enhanced package description text
Fixed#
Solved not critical security issues with setup script
2.1.1 : 2022.02.24#
Changed#
serialix.core.BaseLang
:parser_write_kwargs
,parser_read_kwargs
,dictionary
properties are now secured from wrong data type assignment
2.1.0 : 2022.02.03#
Added#
New class
Serialix
can be imported straight from package root and now will be a preferred way of creating instance ofserialix
for any supported language instead of using*_Language
classes directly.NotImplementedError
exception will now be raised when trying to execute any R/W-related action in class, inherited fromserialix.core.BaseLang
without defined_core__read_file_to_dict
and_core__write_dict_to_file
methods.New ‘get version’ feature in built-in CLI toolset. Can be accessed with
--version
or-V
argument passed to cli.
Changed#
Extended the range of dependencies versions lock.
Removed#
serialix.core.parse_dict_values()
function were cut due to uselessness and security reasons.
2.0.1 : 2022.01.15#
This QOL (Quality Of Life) update is focused on updating the external packages version locks and enhancing the overall package quality with documentation, unit-testing and other features updated.
Changed#
Updated the YAML language parser (``ruamel.yaml` <https://pypi.org/project/ruamel.yaml/>`_) support to the latest version
0.17.20
Updated the ``ujson` <https://pypi.org/project/ujson/>`_ support up to the latest
5.1.0
version
2.0.0 : 2020.11.28#
Changed#
Project renamed to
serialix
1.3.2 : 2020.11.29#
Notification#
⚠ interform
will be renamed to serialix
from version 2.0.0
1.3.1 : 2020.11.28#
Fixed#
Docstrings for
serialix.core.BaseLang
1.3.0 : 2020.11.28#
Added#
Command Line Interface (CLI) toolset with documentation
Format converter tool
1.2.0 : 2020.11.26#
Added#
Keyword argument
auto_file_creation
to all*_Format
classes which will allow to disable the automatic local file creation on*_Format
object initialization
Changed#
In
*_Format
classes, instead of only.create_file()
method, all directories generation now placed inwrite_dict_to_file()
method. This change will affect all ‘write to file’ actions and prevent all path related issues.
1.1.2 : 2020.11.25#
Fixed#
.values
method in all*_Format
classes will now return expected value. Before the fix, this method returned the values of bound to object default dictionary.
1.1.1 : 2020.11.24#
Fixed#
.reload()
method return now works properly in all*_Format
classes
1.1.0 : 2020.11.23#
Added#
Support for
TOML
languageFeature to pass custom arguments to parser on read and write actions with
parser_write_kwargs
andparser_read_kwargs
Fixed#
Fixed new key creation from main object issue
Changed#
Method of handling import requests in init script
_core__write_dict_to_file
and_core__read_file_to_dict
are no more static methods in.core.BaseLang
and inherited classesEnhanced documentation
Removed#
Advanced
JSON_Format
parser arguments removed
1.0.0 : 2020.11.18#
First public release of this package
Development Releases#
2.2.0a1 : 2022.03.16#
Fixed#
Docstrings for
serialix.serialix.Serialix
class and all the parents
Changed#
All variables in
serialix.meta
now public. Changes will not affect theserialix.__init__
, I.e. - project version and author can still be accessed likeserialix.__version__
andserialix.__author__
respectivelyEnhanced docstrings for the entire project
2.1.1a1 : 2022.02.13#
Changed#
serialix.core.BaseLang
:parser_write_kwargs
,parser_read_kwargs
,dictionary
properties are now secured from wrong data type assignment
2.1.0a2 : 2022.02.02#
Added#
New ‘get version’ feature in built-in CLI toolset. Can be accessed with
--version
or-V
argument passed to cli.
Removed#
serialix.core.parse_dict_values()
function were cut due to uselessness and security reasons
2.1.0a1 : 2022.02.01#
Added#
New class
Serialix
can be imported straight from package root and now will be a preferred way of creating instance ofserialix
for any supported language instead of using*_Language
classes directlyNotImplementedError
exception will now be raised when trying to execute any R/W-related action in class, inherited fromserialix.core.BaseLang
without defined_core__read_file_to_dict
and_core__write_dict_to_file
methods
Changed#
Extended the range of dependencies versions lock
2.0.1a1 : 2022.01.14#
Changed#
Updated the YAML language parser (``ruamel.yaml` <https://pypi.org/project/ruamel.yaml/>`_) support to the latest version (0.17.20)
Updated the ``ujson` <https://pypi.org/project/ujson/>`_ supported version up to the latest
5.1.0
1.3.0a1 : 2020.11.27#
Added#
Command Line Interface (CLI) toolset with documentation
Format converter tool
1.2.0a2 : 2020.11.25#
Changed#
In
*_Format
classes, instead of only.create_file()
method, all directories generation now placed inwrite_dict_to_file()
method. This change will affect all ‘write to file’ actions and prevent all path related issues.
1.2.0a1 : 2020.11.25#
Added#
Keyword argument
auto_file_creation
to all*_Format
classes which will allow to disable the automatic local file creation on*_Format
object initialization
Changed#
\ `.create_file()`` method in all*_Format
classes will now automatically create all detected dirs in path to local file</del>`
1.1.0a2 : unreleased#
Added#
Feature to pass custom arguments to parser on read and write actions with
parser_write_kwargs
andparser_read_kwargs
Changed#
_core__write_dict_to_file
and_core__read_file_to_dict
are no more static methods in.core.BaseLang
and inherited classesEnhanced documentation
1.1.0a1 : 2020.11.22#
Added#
Support for
TOML
language
Fixed#
Fixed new key creation from main object issue
Changed#
Method of handling import requests in init script