The village, situated 14 km east of the city of
Przemyśl was first mentioned in 1515 in a royal charter under the name of Szechinie. For most of its existence the village belonged to the Land of Przemyśl, itself part of the
Ruthenian Voivodeship of the Kingdom of Poland and then (since 1772) Austrian
Galicia. From the very beginning, the village belonged to the so-called
key of estates including Medyka, Pozdziacz, Torki and Buców, centred on the manor in Medyka, all based on a local variant of
Magdeburg law, dubbed
Ruthenian law. Initially the peasants settled there were tasked with taking care of the royal stables in Medyka; with time their duty towards the owner of Medyka manor was modified to simple
serfdom, with yearly
rent paid in grain. Until 18 July 2020, Shehyni belonged to
Mostyska Raion. The raion was abolished in July 2020 as part of the administrative reform of Ukraine, which reduced the number of raions of Lviv Oblast to seven. The area of Mostyska Raion was merged into Yavoriv Raion. ==Infrastructure==