Release notes 2022
November 2022
New:
- Running the job in the web interface now by default doesn't show your token anymore. We added a hide/show option for the token.
- Running the job: new examples with how to run using the AskAnna Python SDK & CLI
- CLI: get more info about your runs in the command line using the new commands
askanna run status
andaskanna run log
- Python SDK:
- Run SDK: it's now also possible to get the run result, artifact, payload and log
- Run SDK & Job SDK: added delete and change a run or job
- Workspace SDK & Project SDK: added create and delete workspaces or projects = Result SDK: download a result to a provided path
- Added relation type data classes and updated existing data classes to use these relation type data classes
Changed:
- The duplicate
uuid
andshort_uuid
that identify an object in the API response are now replaced bysuuid
- Cleanup AskAnna OpenAPI docs
- In the AskAnna Backend we split the JobRun app into a Job and Run app. With this change we also renamed some API endpoints:
- Starting a new job run is moved to
POST /v1/job/{suuid}/run/request/batch/
/v1/runinfo/
endpoints are moved to/v1/run/
- Run info related endpoints
/v1/artifact
,/v1/log
,/v1/result
and/v1/status
are now part of/v1/run
- Starting a new job run is moved to
- In the API responses we now always show relation type object when a reference to another object is part of the response
- Refactor Python SDK: align setup of gateway methods & CLI commands
- Scroll on the run metric table view now uses more page height
Fixed:
- Copy the log now also works for active runs and will copy the last available log
- Sorting & filtering on run metrics and variables tables
October 2022
New:
- Support for GitPod
- A redirect to the original requested page in case someone needs to sign in
- In case created by or people name info is missing from the API response, we display a fallback for the name
Changed:
- Refactor app to use Vite
Fixed:
- Downloading code archives
September 2022
Changed:
- Removed unused API endpoints for project templates
- Updated API documentation to OpenAPI Specifictation v3.1.0
- Added support to authorize requests with a token in the API documentation
- Aligned run status labels to always display the same value format
- Refactoring of frontend to use Pinia, change folder structure and remove unused components
Fixed:
- CLI:
askanna push
now also works when you are signed in to another URL thenhttps://beta.askanna.eu
- CLI:
askanna create --push
now really pushes the initial version of the code after creating a new local project
August 2022
New:
- Compare runs: an initial version of a page where you can compare the last 15 runs directly in AskAnna
Changed:
- In the API the JSON response you get from the runinfo-endpoint is changed. Now the response contains more metadata. The metadata is used, among other things, for the new compare runs page.
July 2022
Changed:
- In the API the authentication URLs were not versioned. In this release, we changed this. The AskAnna Frontend and Python SDK/CLI are also updated to support this change.
- CLI: when you are already logged in and try to log in again, you will get the question if you want to log in with another account. It's not necessary anymore to first log out.
Fixed:
- Deduplicate of run metrics and variables did not work anymore after a recent update of Django. This release fixes the function to deduplicate run metrics and variables, including a fix for historical runs.
- The examples of running a job in the AskAnna Frontend show your token again.
- Rendering Markdown files
- Autoloading of "many" records for run metrics table and run variables table
June 2022
New:
- Visualize metrics: it's now possible to make a graph from your metrics
- If a metric or variable is of type
list
, we try to detect the type of data in the list and set a more specific type of data to the metric record. See also the metrics documentation. - Python variables of type Numpy array can now be stored as a metric/variable.
Changed:
- In the run JSON response besides the unique metrics & variables names, we also added the type of data.
Fixed:
- Calculation of table height for run metrics & variables, so that also the last row is fully visible.
- Duration of runs less than 1 second resulted in a misrepresentation of duration. If a run lasted less than 1 second, you now get the value 0 seconds.
- "Hamburger"-menu works again
Removed:
- The API endpoint to get the metrics and tracked_variables
meta
is removed. This information was also available in theruninfo
andruns
endpoints. Themeta
endpoint was not used and with the changes in this release, we decided to remove the endpoint.
May 2022
New:
- Create workspaces: it was only possible to create a workspace when you created a new account. Now, you can also create a new workspace when you are signed in.
- Search, sort and filter your workspace projects.
- On list pages there is a new filter icon. The icon is filled when a filter or search is active on the presented list.
Changed:
- Search, sort and filter options are no longer visible when you open the explore workspace and project pages. Click on to get the search, sort and filter options. If a filter, is active the icon is filled .
- On the workspace list the options on the workspace card now also contain edit & remove workspace. You only see these options when you have permission to perform them.
- Response of workspace API endpoints changed. The response now also contains the user who created the workspace, the permissions of the authenticated user on the workspace, and the URL of the workspace.
April 2022
New:
- Switch to Backup Helper for making database and file backups
- CSV and TSV files now also have a pretty view. When you open this type of files we will try to show you a table with the file's content.
- Excel files now have a pretty view. When you open this type of files we will try to show you the Excel sheets and per sheet a section with a table with the content.
Changes:
- Only register a run as succeeded if the last line of the log contains the success message.
- When a run fails, add a message
Run failed
to the log. - Deleted background from code sections.
Fixes:
- When switching projects, always load data for the latest opened project.
- On the code version, open the specific historic version of the file.
- The job name on the job page is back.
March 2022
New:
- Markdown views now open by default marked up, or as we call it in a pretty view. You can also switch to the raw version of the file.
- If your code directory has a
README.md
file, we show the marked-up README below the list of files and directories.
Changes:
- On files that contain a pretty view option, you can now switch between pretty and raw views via a button in the file bar instead of a drop-down field.
February 2022
New:
- Added view menu to HTML files to make it possible to see the raw HTML file.
- CLI: Added an argument 'url' to
askanna login
, making it possible to log in on different AskAnna environments using the web URL
Changes:
- Refactor for file handling. Code, input, result and artifact files are now handled the same way.
- Improve last run status calculation. It's now based on the latest status time i.s.o. the creation time of the run.
- Python SDK/CLI: make the requirements less strict, so it's easier to integrate AskAnna in your existing Python environment.
Fixes:
- On the run log, the loading dots will now disappear after loading the entire log.
- When opening AskAnna for the first time, we will not show the message that a new version is available. We have already loaded the latest version for you.
- Fixed opening Jupyter Notebook files
- Make new projects directly available in the project menu after creation.
- Update breadcrumbs after changing project or job name.
- CLI: after successful login, you now get a success message i.s.o. a fail message
January 2022
New:
- Upgrade of editor with:
- support for links
- fullscreen mode
- description fields now have more space
- improvements to get out of a code block and continue with normal text
- a fix where empty lines got removed
- another fix where we added a new line after leaving a code block using the ESC key
- Copy buttons for run result and environment image name
- Added support for copy image on code and artifact view
- Added decoder for breadcrumbs title, so we don't show spaces as
%20
- Backend now returns a JSON with detail about invalid token
- Added
invite.remove
permission
Changes:
- Code highlight of run results instead of showing plain text
- The description editor got a sticky header so you always see the markup icons
- The run metrics table now has a dynamic height
- Status colors are aligned between notifications emails & frontend
- When a run status is queued or pending, we don't show a duration of 0 anymore, but we inform you that the run is
Not started
. - Look-and-feel for code package instructions is aligned
- Instead of calculating the duration in the frontend, we always use the duration provided by the backend
- Changed text for non-existing file or directory on code view
Fixes:
- Fixed the title in the edit form for job description
- Fixed loading run logs that are longer than 200 lines