Ceiling junction box for splice
If you have attic access you can use a standard construction box and nail it th a ceiling joist and put a cover on it when done
If you do not have ceiling access a standard single gang old work box is the rectangle device you are looking for. Yes the cover has to be accessible but if you like rectangles better that is the way to go.