Skip to content

Releases: oslokommune/okdata-cli

v4.2.0

18 Jun 12:08
Compare
Choose a tag to compare
  • New commands okdata -e and okdata -v for printing the current environment and the current version of okdata-cli, respectively.
  • The default choice for dataset visibility is now non-public (red). Also warn when a dataset is about to be registered as public (green).

v4.1.0

22 Apr 10:01
Compare
Choose a tag to compare
  • The minimum required version of okdata-sdk is now 3.1.1. This ensures compatibility with a much newer version of python-keycloak, eliminating reliance on certain vulnerable dependencies.
  • Added support for creating JSON->Delta dataset pipelines.
  • The dataset creation wizard has been simplified (it no longer asks about geodata details, standards conformity and contact phone number).

v4.0.0

11 Mar 13:40
Compare
Choose a tag to compare
  • The okdata pubreg family of commands has been renamed to okdata pubs (for "public services") to reflect that they now don't only handle Maskinporten clients, but also ID-porten clients.
  • Added support for creating CSV->Delta dataset pipelines.
  • Added a shorthand for granting a user all permissions on a resource by not specifying the scope parameter to the permissions add command, similar to the way permissions rm works.
  • Fixed extraneous newline printing in table output.
  • Improved error messages in the datasets ls and datasets cp commands when a given dataset doesn't exist.

v3.2.0

15 Jan 08:19
Compare
Choose a tag to compare
  • The okdata status command can now be set to watch the status of a dataset upload with the --watch option.

  • The datasets ls command now accepts a single optional URI argument that can denote either a dataset, version, or edition:

    • okdata datasets ls {dataset_id}
    • okdata datasets ls {dataset_id}/{version}
    • okdata datasets ls {dataset_id}/{version}/{edition}
  • Automatically created editions now get timestamped correctly. Previously it was assumed that the user always operated in UTC+2.

v3.1.0

17 Nov 06:08
Compare
Choose a tag to compare
  • Added support for Python 3.12.
  • Fix a bug in the version requirement for urllib3 by requiring okdata-sdk version 3 or higher.

v3.0.0

01 Sep 12:02
Compare
Choose a tag to compare
  • Dropped support for Python 3.7 which has reached end of life. Python 3.8+ is now required.
  • Improved output on data upload when trace ID is missing.

v2.0.1

24 May 07:25
Compare
Choose a tag to compare
  • Improved output from the datasets cp command.

v2.0.0

24 Apr 11:24
Compare
Choose a tag to compare
  • All okdata pipelines commands have been removed. Pipelines can still be configured for datasets when using the the dataset creation wizard (okdata datasets create).
  • Improved error message handling in the pubreg and teams families of commands.
  • The correct maintainer team is named in error messages.

v1.6.0

21 Mar 09:55
Compare
Choose a tag to compare
  • The pubreg list-keys command now supports listing all client keys simultaneously across different clients.
  • Updated the action URL for the pubreg delete-client command. Updating to this version is required for the command to continue working in the future.
  • Dataset title errors are caught earlier in the registration form.
  • Exiting a prompt by typing Ctrl+D no longer results in a stack trace.
  • Pygments is no longer a dependency.
  • The datasets boilerplate command has been removed as it has been largely subsumed by the datasets create wizard.

v1.5.2

27 Feb 12:33
Compare
Choose a tag to compare
  • Attempting to upload a non-existent file to a dataset no longer produces a stack trace, but rather displays a nicer error message instead.
  • Datasets without a latest version is handled better.