v3.0.0
What's Changed
- Add endpoint to get a list of system types #542 by @joelvdavies in #557
- Add system types to systems #537 by @joelvdavies in #558
- Calculate number of spares using system types #417 by @joelvdavies in #572
- Implement spares definition update logic #573 by @joelvdavies in #574
- Add rules list endpoint #544 by @joelvdavies in #579
- Implement moving rules #541 by @joelvdavies in #583
- Add sysadmin CLI with command to set spares definition #595 by @joelvdavies in #597
- Combine
ims-migrateinto adminimscli #599 by @joelvdavies in #600 - Configure system types #601 by @joelvdavies in #603
- Configure rules #604 by @joelvdavies in #611
- Add
clear_existing_datafunction indev_clito match os-api #605 by @joelvdavies in #615 - Add endpoint for viewing spares definition #549 by @lottieo in #617
- Implement item creation rules logic by @VKTB in #614
- Add endpoint for viewing a system type #543 by @lottieo in #621
- Implement item deletion rules logic by @VKTB in #624
- Make
HTTPExceptionmessage consistent everywhere when it returns500by @VKTB in #640 - Implement authorisation logic for usage statuses #550 by @MatteoGuarnaccia5 in #602
- Implement authorisation logic for item rules #551 by @MatteoGuarnaccia5 in #607
- Implement authorisation for units #609 by @MatteoGuarnaccia5 in #610
- Drop support for Python 3.12 and add support for Python 3.13 by @VKTB in #596
Breaking changes
- New mandatory environment variable has been introduced, see the new
.env.examplefile and README for details. type_idfield has been added to theSystemPostSchemaandSystemPostSchemaschema models.
Internal Changes
- Add a system_types collection #536 by @joelvdavies in #555
- Exclude migration script and router modules from test coverage measurement by @VKTB in #561
- Some minor changes from error handling refactor #74 by @joelvdavies in #562
- Add rules collection #538 by @joelvdavies in #566
- Add settings collection for spares definition #546 by @joelvdavies in #571
- Fix codecov yml #560 by @joelvdavies in #570
- Update
dev_cliscript to use Typer #605 by @joelvdavies in #608 - Replace JSONResponse with Response to fix runtime error #628 by @joelvdavies in #629
- Add description field to system types #563 by @lottieo in #631
- Unify error messages mentioning IDs #564 by @lottieo in #634
- unify logger messages #636 by @lottieo in #639
- Ignore preceding and trailing whitespace when checking for duplicate allowed values by @VKTB in #641
- Use MongoDB indexing to prevent duplicate names by @VKTB in #646
- Fix inconsistent unit error message by @joelvdavies in #653
- Add description field to system type migration script #656 by @joelvdavies in #657
- Prevent creation of rule when same src & dst system type #654 by @MatteoGuarnaccia5 in #660
- Prevent same rule creation regardless of usage status #661 by @MatteoGuarnaccia5 in #662
- Fix write conflict errors during move & creation of items #670 by @joelvdavies in #671
Package Updates
- Bump the pip group across 1 directory by @dependabot[bot] in #575 to #633 & #673
- Bump the github-actions group across 1 directory by @dependabot[bot] in #593 to #663 & #578
- Bump python from 3.13.7-alpine3.22 to 3.13.10-alpine3.23 by @dependabot[bot] in #632 & #666
New Contributors
Full Changelog: v2.0.0...v3.0.0