Skip to content

Commit

Permalink
Release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed May 29, 2022
1 parent b500c68 commit b58b775
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 41 deletions.
63 changes: 39 additions & 24 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 0.3.0 - May 28, 2022

### 🔥 Breaking changes

* Major update with some breaking changes. Some of the main features are:
* General clean-up, typing, linting, etc.
* A few changes to how outlets are resolved depending on whether the name or the port are provided.
* Some clean-up of the `DLI` and `DLIPowerSwitch` classes (new names). Nothing very major except that now if `ouo=False` in the configuration file, the port information is read directly from the API. This means that the outlet name is not `XXX.portN` anymore but whatever name is defined in the switch internal configuration. The default configuration for the LVM DLI switches does not specify the outlets anymore and instead reads them directly from the device.
* Converted the switches list in `NPSActor.parser_args` to a dictionary.
* For the `status`, `on` and `off` commands, changed the options and arguments. Now for `status` one can provide no arguments (all outlets are printed, as before), the switch name, the switch and port numbers, or the outlet to print.
* Removed the `reachable` command group since it was confusing. Instead, added `outlets` and `switches` commands that output the same as `reachable outlets` and `reachable switches`.
* Refactored the test fixtures a bit and increased test coverage to 85%-ish.
* Changed documentation theme and cleaned up documentation a bit.


## 0.2.2 - May 23, 2022

* Added IEB02 to NPS configuration.
Expand All @@ -9,43 +24,43 @@

## 0.2.1e,f - October 25, 2021

This was a Minor update of version 0.2.1 , based on the code review from @albireox
This was a Minor update of version 0.2.1 , based on the code review from @albireox:

Update for documentation
Changed parts under ~/sphinx for sphinx documentation
actor-schema documentation added
removed README.rst
* Update for documentation
* Changed parts under ~/sphinx for sphinx documentation
* actor-schema documentation added
* removed README.rst


## 0.2.1c,d - October 22, 2021

This was a Minor update of version 0.2.1 , based on the code review from @albireox
This was a Minor update of version 0.2.1 , based on the code review from @albireox:

Update for usage of json.schema
Added code for using json.schema
Changed the json.schema
* Update for usage of json.schema
* Added code for using json.schema
* Changed the json.schema

Update for commands
Changed the code for commands(on, off, status) since the schema changed.
added 'reachable' command for checking out the reachable power switches.
Changed the configuration file(.yml) under ~/etc
* Update for commands
* Changed the code for commands(on, off, status) since the schema changed.
* Added 'reachable' command for checking out the reachable power switches.
* Changed the configuration file(.yml) under ~/etc

Update for configuration
Using one configuration file, ~/lvmnps.yml
* Update for configuration
* Using one configuration file, ~/lvmnps.yml

Update for unit test
changing code for pytest
* Update for unit test
* Changing code for pytest


## 0.2.1 - October 10, 2021

This was a Major update, based on the code review from @albireox
This was a Major update, based on the code review from @albireox:

Update for Code reliability
Added docstring for functions and classes
changed functionality of codes for configuration
changed name of the dli power switch library
changed the way connecting to the powerswitch using 'get' and 'put' method from 'httpx'
* Update for Code reliability
* Added docstring for functions and classes
* Changed functionality of codes for configuration
* Changed name of the dli power switch library
* Changed the way connecting to the powerswitch using 'get' and 'put' method from 'httpx'


## 0.2.0 - August 13, 2021
Expand All @@ -62,4 +77,4 @@ Update pyproject.toml

## 0.1.3 -July 2, 2021

removed test with pytest-rabbitmq
Removed test with pytest-rabbitmq
32 changes: 16 additions & 16 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sdss-lvmnps"
version = "0.3.0-alpha.0"
version = "0.3.0"
description = "A library and actor to communicate with an SDSS-V LVM network power switch"
authors = ["Florian Briegel <[email protected]>", "José Sánchez-Gallego <[email protected]>", "Changgon Kim <[email protected]>", "Mingyeong Yang <[email protected]>"]
license = "BSD-3-Clause"
Expand Down

0 comments on commit b58b775

Please sign in to comment.