If you have an empty partition with a note, the note is rendered outside the partition instead rendering inside the partition:
@startuml
start
partition "Correct" {
:a;
note right
Note is inside the partition
end note
}
partition "Wrong" {
note right
Note is outside the partition
end note
}
stop
@enduml
In some earlier versions the note was inside the partition in both cases