Spinta

Latest version: v0.1.62

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

Scan your dependencies

Page 1 of 10

0.1.63

===================

0.1.62

===================

New features:

- Add possibility to update manifest via HTTP API, without restarting server
(`479`__).

__ https://github.com/atviriduomenys/spinta/issues/479

Bug fixes:

- Fixed error with index names exceeding 63 character limit on PostgreSQL
(`566`__).

__ https://github.com/atviriduomenys/spinta/issues/566

- Set WGS84 SRID for geometry tupe if SRID is not given as specified in
documentation (`562`__).

__ https://github.com/atviriduomenys/spinta/issues/562

0.1.61

===================

Backwards incompatible changes:

- Check geometry boundaries (`454`__). Previously you could publish spatial
data, with geometries out of CRS bounds, now if your geometry is out of CRS
bound, you will get error. To fix that, you need to check if you specify
correct SRID and if you pass geometries according to specified SRID
specifikation.

__ https://github.com/atviriduomenys/spinta/issues/454


New features:

- New type of manifest read from database, this enables live schema updates
(`113`__).

__ https://github.com/atviriduomenys/spinta/issues/113

- Automatic migrations with `spinta migrate` command, this command compares
manifest and database schema and migrates database schema, to match given
manifest table (`372`__).

__ https://github.com/atviriduomenys/spinta/issues/372

- HTTP API for inspect (`477`__). Now it is possible to inspect data source
not only from CLI, but also via HTTP API.

__ https://github.com/atviriduomenys/spinta/issues/477


Improvements:

- Generate next page only for last object (`529`__).

__ https://github.com/atviriduomenys/spinta/issues/529


Bug fixes:

- Fixing denormalized properties (`379`__, `380`__).

__ https://github.com/atviriduomenys/spinta/issues/379
__ https://github.com/atviriduomenys/spinta/issues/380

- Fix join with base model (`437`__).

__ https://github.com/atviriduomenys/spinta/issues/437

- Fix WIPE timeout with large amounts of related data (`432`__). This is fixed
by adding indexes on related columns.

__ https://github.com/atviriduomenys/spinta/issues/432

- Fix changed dictionaly size error (`554`__).

__ https://github.com/atviriduomenys/spinta/issues/554

- Fix pagination infinite loop error (`542`__).

__ https://github.com/atviriduomenys/spinta/issues/542

0.1.60

===================

New features:

- Add new `text` type (`204`__).

__ https://github.com/atviriduomenys/spinta/issues/204

Bug fixes:

- Fix client files migration issue (`544`__).

__ https://github.com/atviriduomenys/spinta/issues/544

- Fix pagination infinite loop error (`542`__).

__ https://github.com/atviriduomenys/spinta/issues/542

- Do not sync keymap on models not required for push operation (`541`__).

__ https://github.com/atviriduomenys/spinta/issues/541

- Fix `/:all` on RDF format (`543`__).

__ https://github.com/atviriduomenys/spinta/issues/543

0.1.59

===================

Backwards incompatible changes:

- With addition of new API for client management, structure how client files
are stored, was changed.

Previously clients were stored in `SPINTA_CONFIG_PATH` like this::

clients/
└── myclient.yml

Where `myclient` was usually a client name if given, if not given it was
an UUID.

Client file content looked like this:

.. code-block:: yaml

client_id: myclient
client_secret: secret
client_secret_hash: pbkdf2$sha256$346842$yLpG_ganZxGDuwzIsED4_Q$PBAqfikg6rvXzg2_s74zIPlGGilA5MZpyCyTjlEuzfI
scopes:
- spinta_getall
- spinta_getone

Now `clients/` folder structure looks like this::

├── helpers/
│   └── keymap.yml
└── id/
   └── 7e/
      └── 1c/
      └── 0625-fd42-4215-bd86-f0ddff04fda1.yml

In the new structure, all clients are stored under `id/` folder and client
files are named after client_id uuid form.

In the example above `7e1c0625-fd42-4215-bd86-f0ddff04fda1` is a `client_id`.

`client_id` now a clear meaning ant now it is just a client id in UUID form.
Client name is stored in `client_name`. If client name is not given, then
`client_name` is the same as `client_id`.

There is another file called `helpers/keymap.yml`, that looks like this:

.. code-block:: yaml

myclient: 7e1c0625-fd42-4215-bd86-f0ddff04fda1

This file, stores a mapping of client names as an index to help locating
clients by name faster.

Client names can change, but id can't.

Structure of client file mostly stays the same, except `client_id` is not
only id in UUID form and a new option `client_name` was added to store
client name. For example content of
`id/7e/1c/0625-fd42-4215-bd86-f0ddff04fda1.yml` now looks like this:

.. code-block:: yaml

client_id: 7e1c0625-fd42-4215-bd86-f0ddff04fda1
client_name: myclient
client_secret: secret
client_secret_hash: pbkdf2$sha256$346842$yLpG_ganZxGDuwzIsED4_Q$PBAqfikg6rvXzg2_s74zIPlGGilA5MZpyCyTjlEuzfI
scopes:
- spinta_getall
- spinta_getone


New features:

- Add possibility to manage clients via API (`122`__).

__ https://github.com/atviriduomenys/spinta/issues/122


Improvements:

- Add better support for denormalized properties (`397`__).

__ https://github.com/atviriduomenys/spinta/issues/397


Bug fixes:

- Fix error on object counting when running `spinta push` (`535`__).

__ https://github.com/atviriduomenys/spinta/issues/535

- Restore recognition of views in `spinta inspect` (`476`__).

__ https://github.com/atviriduomenys/spinta/issues/476

- Fix single object change list rendering in HTML format (`459`__).

__ https://github.com/atviriduomenys/spinta/issues/459

0.1.58

===================

Bug fixes:

- Fix error in CSV containing NULL data (`528`__).

__ https://github.com/atviriduomenys/spinta/issues/528

- Fix `swap()` containing quotes (`508`__).

__ https://github.com/atviriduomenys/spinta/issues/508

- Fix `UnauthorizedKeymapSync` error on `spinta push` command (`532`__).

__ https://github.com/atviriduomenys/spinta/issues/532

Page 1 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.