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#
Serialixobject 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.langsmodule was deprecated. All implementation moved toserialix.formatsmodule.serialix.langswill stay in project, inheriting theserialix.formatsfeatures, until3.0.0version 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=Falsenow will work properly.
2.3.0 : 2022.04.30#
Added#
New feature to pass the language parser class to
Serialixfile_formatargument. By default it should be inherited fromserialix.core.BaseLangclass, this check can be ignored by passing theignore_inheritance_check=Falseargument toSerialixclass. This feature allows to use custom written parsers forserialix.Usage example:
from serialix import Serialix, JSON_Format cfg = Serialix(JSON_Format, "test.json")
Deprecated#
CLItoolset marked as deprecated and will be removed from package in version3.0.0release. Deprecation notification will be displayed on eachclicall..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.BaseLangwill be reflected on all inherited from it classes (``JSON_Format``, ``YAML_Format``, …).
Fixed#
.core.BaseLangLoading file withauto_file_creation=Falseif local file doesn’t exist now will be proper. Before the fix, object’s dictionary will be empty ifauto_file_creation=Falseargument 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.Serialixclass and all the parents
Changed#
All variables in
serialix.metanow 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.metanow deprecated and will be removed in3.0.0release. 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,dictionaryproperties are now secured from wrong data type assignment
2.1.0 : 2022.02.03#
Added#
New class
Serialixcan be imported straight from package root and now will be a preferred way of creating instance ofserialixfor any supported language instead of using*_Languageclasses directly.NotImplementedErrorexception will now be raised when trying to execute any R/W-related action in class, inherited fromserialix.core.BaseLangwithout defined_core__read_file_to_dictand_core__write_dict_to_filemethods.New ‘get version’ feature in built-in CLI toolset. Can be accessed with
--versionor-Vargument 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.20Updated the ``ujson` <https://pypi.org/project/ujson/>`_ support up to the latest
5.1.0version
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_creationto all*_Formatclasses which will allow to disable the automatic local file creation on*_Formatobject initialization
Changed#
In
*_Formatclasses, 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#
.valuesmethod in all*_Formatclasses 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*_Formatclasses
1.1.0 : 2020.11.23#
Added#
Support for
TOMLlanguageFeature to pass custom arguments to parser on read and write actions with
parser_write_kwargsandparser_read_kwargs
Fixed#
Fixed new key creation from main object issue
Changed#
Method of handling import requests in init script
_core__write_dict_to_fileand_core__read_file_to_dictare no more static methods in.core.BaseLangand inherited classesEnhanced documentation
Removed#
Advanced
JSON_Formatparser 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.Serialixclass and all the parents
Changed#
All variables in
serialix.metanow 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,dictionaryproperties 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
--versionor-Vargument 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
Serialixcan be imported straight from package root and now will be a preferred way of creating instance ofserialixfor any supported language instead of using*_Languageclasses directlyNotImplementedErrorexception will now be raised when trying to execute any R/W-related action in class, inherited fromserialix.core.BaseLangwithout defined_core__read_file_to_dictand_core__write_dict_to_filemethods
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
*_Formatclasses, 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_creationto all*_Formatclasses which will allow to disable the automatic local file creation on*_Formatobject initialization
Changed#
\ `.create_file()`` method in all*_Formatclasses 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_kwargsandparser_read_kwargs
Changed#
_core__write_dict_to_fileand_core__read_file_to_dictare no more static methods in.core.BaseLangand inherited classesEnhanced documentation
1.1.0a1 : 2020.11.22#
Added#
Support for
TOMLlanguage
Fixed#
Fixed new key creation from main object issue
Changed#
Method of handling import requests in init script