Fedora

Latest version: v0

Safety actively analyzes 689550 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 14

0.3

---
* New fedora.client.bodhi API
* Lots of bugfixes
* New fedora.client.ProxyClient class that can be used for writing proxies and
lower level clients that talk to Fedora Services.
- BaseClient rewritten to run on top of ProxyClient.
* Rearranging of many modules. The old names should still work but issue a
DeprecationWarning and the new location to import the module from.
* Documentation on how to build a Fedora Service that will work well with
BaseClient and documentation on building apps with BaseClient.
- Note that present Fedora Services (Bodhi, PackageDB, MirrorManager, FAS2)
will need to be updated to conform to this spec. Until that happens, not
everything (notably, error handling) will work 100% correctly.

Incompatibilities
=================
* Removal of camelCase. Rename keyword arguments and public instance variables:
* client.BaseClient
*Note* that changes to this class propogate out to the same variable in
derived classes like fas2.AccountSystem and the BaseClient used in
JsonFasIdentity.
* __init__(): baseURL => base_url
* _sessionCookie => _session_cookie: this is a private variable but some
users use this anyway. For users needing to access this, there's now
a more appropriate class for doing so (ProxyClient).
* accounts.fas2.AccountSystem
* group_by_id(): groupId => group_id
* person_by_id(): personId => person_id
* tg.widgets
* All widgets had widgetId => widget_id
* Also means accessing the variable is done via self.widget_id
* tg.json.SABase
* self.jsonProps => self.json_props
*Note*: jsonProps will still work but is Deprecated. Please update your
code as we will be removing jsonProps in 0.4.x.
* The input keyword argument to BaseClient.send_request has been
deprecated in favor of req_params.
*Note*: Using input will still work in 0.3. Please update your code as we
will be removing input in 0.4.x.
* Restructuring of Exceptions in BaseClient
* New base exception is FedoraServiceError if you want to catch that.
* Movement of fedora.tg.client to fedora.client
* Movement of fedora.accounts.fas2 to fedora.client.fas2
* Rename fedora.client.fas2.AccountSystem.authenticate() to verify_password()

-----------

0.2.99.11.1

-----------
Brown paper bag the previous release. Fix a crasher bug.

---------

0.2.99.11

---------
Hopefully the last in this line of API.

* Fix handling of tg_format=json asa query param when the server uses
tg.util.request_format()
* Add a default jsonify method for SA ResultProxys
* Don't traceback if there's a corrupted session file
* Set permissions on the session file so only the user can read it.
* Add a default BaseURL for fas2.AccountSystem

---------

0.2.99.10

---------
* Minor update that:

1) Adds bugzilla email to the return from people_by_id().

2) Adds several more users whose bugzilla address don't match their fas email.

--------

0.2.99.9

--------
* This is what 0.2.99.9 was supposed to be. The last release compatible with
0.2.99.7 and less. Unfortunately, some incompatibilities snuck in.
Reverting those changes here.

--------

0.2.99.8

--------
* Fix a bug involving bugzilla_email addresses.
* Fix a bug where an expired session cookie will cause send_request to complete
successfully but report failure.

--------

Page 12 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.