Releases: thorgate/django-esteid
Version 4.0
Welcome web-eid
The authentication and signing mechanisms for ID-card now use the modern web-eid platform. This release adds support for signing from the previous 3.4 beta release that allowed for authentication using web-eid and ID-Card.
Changes (from 3.3):
-
esteid-helper bundled under
esteid-new
andesteid-test
static folders has been removed. Please use the newesteid-helper
directory instead (or install esteid-helper via npm).- The files to include are now:
- <static_dir>/esteid-helper/web-eid.js
- <static_dir>/esteid-helper/Esteid.main.web.js
- <static_dir>/esteid-helper/Esteid.main.min.js
- Note: When interfacing with the legacy actions api use
LegacyIdentificationManager
instead ofIdentificationManager
- The files to include are now:
-
Changed:
IdentificationManager.getError
now expects the entire error object as its argument instead of only the error message value. See changes inesteid/templates/esteid/test-new.html
andesteid/templates/esteid/test.html
for an example on how to update your code. -
Changed: Django imports now work in a backwards compatible manner to allow usage with old django (on your own risk).
-
Changed: Update sign buttons with new esteid branding
-
Changed: Due to the changes in the underlying infrastrucuture the certificate and signature values sent to server during id-card signing are now base64 encoded instead of hex encoded. This should not affect the users of the library unless you are interfacing with the values directly in your own code.
Removed:
- Proxy based id card authentication helpers have been removed from the codebase (iframe stuff, nginx test setup, middlewares etc)
Version 3.4 beta 1
This is the first testing release using the new web-eid platform. The release currently supports signing documents using the new web-eid extension. Changes to the codebase have been implemented in both the modern signers pattern and also in the legacy actions pattern of using django-esteid.
Note: The support for authentication with idcard shall be implemented in a separate release soon.
Changes:
-
esteid-helper bundled under
esteid-new
andesteid-test
static folders has been removed. Please use the newesteid-helper
directory instead (or install esteid-helper via npm).- The files to include are now:
- <static_dir>/esteid-helper/web-eid.js
- <static_dir>/esteid-helper/Esteid.main.web.js
- <static_dir>/esteid-helper/Esteid.main.min.js
- Note: When interfacing with the legacy actions api use
LegacyIdentificationManager
instead ofIdentificationManager
- The files to include are now:
-
Changed:
IdentificationManager.getError
now expects the entire error object as its argument instead of only the error message value. See changes inesteid/templates/esteid/test-new.html
andesteid/templates/esteid/test.html
for an example on how to update your code. -
Changed: Django imports now work in a backwards compatible manner to allow usage with old django (on your own risk).
-
Changed: Due to the changes in the underlying infrastrucuture the certificate and signature values sent to server during id-card signing are now base64 encoded instead of hex encoded. This should not affect the users of the library unless you are interfacing with the values directly in your own code.
Version 3.3
-
Add
issuer_country
andsubject_country
toCertificate
class -
Use
re_path
for urls -
Replace all
ugettext_lazy
calls withgettext_lazy
-
Use
force_str
instead of theforce_text
which was removed in django 4.0 -
Update test matrix:
- Remove python 3.6 and 3.7
- Use latest poetry in CI
- Add python 3.9 and 3.11
- Add django 4.0 and 4.1
- Remove django 2.0
Version 3.2rc1
With this release we now allow action.get_bdoc_container_file
to return a file-like object too. This is mostly a compatibility fix for users of legacy implementations as it is part of the deprecated api. As a result it is easier to use the actions api with remote filesystem backends like S3.
Also:
- Use Github actions instead of travis for CI
- Update smartid test identity codes in unit tests
- Add tests for
open_container
method - Use poetry for packaging and dependency management
Note: As the packaging tooling was updated we will create some release candidates before publishing the final release in PyPI.
Version 3.2
With this release we now allow action.get_bdoc_container_file
to return a file-like object too. This is mostly a compatibility fix for users of legacy implementations as it is part of the deprecated api. As a result it is easier to use the actions api with remote filesystem backends like S3.
Also:
- Use Github actions instead of travis for CI
- Update smartid test identity codes in unit tests
- Add tests for open_container method
- Use poetry for packaging and dependency management
Authentication with ID card, Smart ID & Mobile ID
(Note: this tag doesn't change anything but version, compared to 3.1, so copying the 3.1 description here)
Added Authentication with ID card, Smart ID & Mobile ID.
Also:
- Added pylint.
- Fixed a problem with errors not being handled properly in the SessionViewMixin.
- Changed some EsteidError classes to inherit from InvalidParameters.
- Added deprecation warnings and pragma: no cover to old deprecated modules.
Authentication with ID card, Smart ID & Mobile ID
Added Authentication with ID card, Smart ID & Mobile ID.
Also:
- Added pylint.
- Fixed a problem with errors not being handled properly in the SessionViewMixin.
- Changed some EsteidError classes to inherit from InvalidParameters.
- Added deprecation warnings and pragma: no cover to old deprecated modules.
Version 3.0
Due to shutdown of the DigidocService:
- Switched to the MobileID REST API;
- Using locally generated signatures for ID card;
- Removed digidoc service support;
- Introduced new signing API;
- Moved ASiC-E container support and certificates into separate libraries.
Version 2.3.0
Implemented DDS-free ID card signing. Dropped support for Python < 3.6 and Django < 1.11. Updated libraries.
Version 2.1.1
- Fix compatibility with
attrs>=19.2.0