Releases: ral-facilities/inventory-management-system-api
Releases · ral-facilities/inventory-management-system-api
v3.1.0
What's Changed
- Allow admins to edit catalogue category property unit #620 by @MatteoGuarnaccia5 in #659
- Add in use definition setting #691 by @joelvdavies in #692
- Merge
mainintodevelopafterv3.0.1release by @VKTB in #685 - Merge
mainintodevelopafterv3.0.2release by @joelvdavies in #697 - Release v3.1.0 by @joelvdavies in #718
Semi-breaking change
- Response codes for an invalid or expired access token while authentication is enabled has changed from a 403 to a 401 in #713
Internal changes
- Add db-dump and db-restore commands to dev_cli #688 by @joelvdavies in #689
- Update Rules in
setup.mongodbscript by @VKTB in #694
Package updates
- Bump the github-actions group across 1 directory with 5 updates by @dependabot[bot] in #711
- Bump python from 3.13.10-alpine3.23 to 3.13.12-alpine3.23 by @dependabot[bot] in #707
- Bump the pip group across 1 directory with 33 updates by @dependabot[bot] in #713
- Allow admin to delete catalogue properties #669 by @MatteoGuarnaccia5 in #693
- Bump the pip group with 2 updates by @dependabot[bot] in #717
- Bump python from
f820997tobb1f2fdby @dependabot[bot] in #716
Full Changelog: v3.0.2...v3.1.0
v3.0.2
What's Changed
- Add migration script to fix incorrect property ID fields (This would have prevented property updates for some old categories) #695 by @joelvdavies in #696
Full Changelog: v3.0.1...v3.0.2
v3.0.1
What's Changed
- Fix bug with
ims create rulescript not addingdst_usage_status_idto the database. By @MatteoGuarnaccia5 in #680
Full Changelog: v3.0.0...v3.0.1
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
v2.0.0
What's Changed
- Add
ims-migratescript #339 by @joelvdavies in #374 & #430 & @VKTB in #487 - Add
expected_lifetime_daysfield to catalogue items by @asuresh-code in #393, #400 & #410 - Add
number_of_sparesfield to catalogue items #416 by @joelvdavies in #426 - Handle property migration write conflicts #412 by @joelvdavies in #433
- Delete related attachment & images when an entity is deleted by @VKTB in #460
- Add note on readPreference #520 by @joelvdavies in #521
- Prevent deletion of catalogue items that are replacements for others #525 by @joelvdavies in #526
Breaking changes
- The
.envandlogging.inifiles have moved to the root of the project, so the files need to be moved for local installations, and for docker the volume mounts will need updating. See the new README for details.
Internal Changes
- Configure Dependabot to do Docker image and GitHub Action updates on multiple branches by @VKTB in #327
- Added codecov workflows #306 by @MatteoGuarnaccia5 in #363
- Refactor Manufacturer tests by @VKTB in #313
- Refactor CatalogueCategoryRepo unit tests #305 by @joelvdavies in #307
- Refactor CatalogueCategoryService unit tests #308 by @joelvdavies in #309
- Refactor Catalogue Category e2e tests #314 by @joelvdavies in #315
- Refactor CatalogueItemService unit tests #341 by @joelvdavies in #343
- Refactor CatalogueItemRepo unit tests #340 by @joelvdavies in #350
- Refactor Catalogue item e2e tests #342 by @joelvdavies in #352
- Refactor ItemRepo unit tests #345 by @joelvdavies in #354
- Refactor ItemService unit tests #346 by @joelvdavies in #358
- Refactor Item e2e tests #347 by @joelvdavies in #359
- Refactor Unit repo, service and e2e tests by @MatteoGuarnaccia5 in #348
- Refactor Usage Status tests #335 by @MatteoGuarnaccia5 in #357
- Refactor CatalogueCategoryPropertyService unit tests #376 by @joelvdavies in #379
- Changes from object-storage-api repo setup by @joelvdavies in #382 & #383
- Changes from attachment post by @joelvdavies in #385
- Reduce size of mock generated data #392 by @joelvdavies in #397
- Changes from adding authentication to object-storage-api by @joelvdavies in #408
- Usage Status Service Test Fix by @asuresh-code in #409
- Update catalogue category property e2e tests #377 by @joelvdavies in #415
- Improve exception message when editing certain fields of a catalogue item with children by @rowan04 in #418
- Fix missing optional types on ClientSessions #441 by @joelvdavies in #446
- Only push docker images when manually requested #443 by @joelvdavies in #492
- Simplify replica set setup in docker compose #495 by @joelvdavies in #496
- Remove .keep in mongodb/keys #495 by @joelvdavies in #511
- Use a single multistage Dockerfile by @VKTB in #519
Package Updates
- Bump the pip group across 1 directory by @dependabot in #375 to #505 & #533 & #545
- Bump the github-actions group with by @dependabot in #332 to #516
- Bump python from 3.12.10-alpine3.21 to 3.12.11-alpine3.22 by @dependabot in #489 to #523
New Contributors
- @asuresh-code made their first contribution in #393
- @rowan04 made their first contribution in #418
Full Changelog: v1.0.2...v2.0.0