No such crimes exist (with the possible exception of some pre-1950 military offenses punishable by death then, that ceased to be military offenses).
There are really two ways such offenses could exist.
Old Decriminalized Offenses
One is for offenses punishable by death between 1867 and 1892 that were repealed in their entirety and were no longer offenses. Outside of military offenses, it appears that no such offenses exist.
One plausible possibility would be the crime of actually being a witch and conducting witchcraft, as opposed to pretending to be one, which did exist in what is now Canada in the colonial era.
As of 2018 shortly before it was decriminalized, Section 365 of Canada’s criminal code said that
"anyone who pretends to exercise witchcraft, sorcery, enchantment,
conjuration or fortune telling, or claims to have the ability to find
lost or stolen objects, has committed a crime. Punishment can be up to
six months in prison, a $2,000 fine or both."
The witchcraft law was in place in Canada since the late 1800s and
largely remained unchanged. It originated from a 1735 British law
under which those who pretended to practice witchcraft would be
subjected to a minor punishment. Previously, the British law
classified witchcraft as a felony.
This implies that prior to the late 1800s (specifically in 1892 when there were many revisions of Canada's criminal laws), that Canadian witchcraft law was substantially similar to British law on the subject, which made being a witch a felony, at a time when most felonies (including witchcraft for most of the time that being a witch was a crime under British law) were capital offenses.
Apparently, however, the death penalty for witchcraft in Canada ended long before it had dominion status in 1867, and it isn't clear that it was ever applied in Canada.
There were some accusations and trials of people on charges of
witchcraft in New France. In about 1661, a man named Daniel Vuil was
arrested and charged, among other things, with practising sorcery
against a servant girl who had spurned his romantic advances. He also
was accused of selling alcohol to the natives (a serious offence at
that time) and, what would be seen as worst of all at that time,
having been a Protestant, converted to Catholicism and then relapsed
to Protestantism again. He was executed on October 7, 1661, but it was
probably the religious offences that led to his death sentence rather
than the witchcraft charges, the usual punishment for which in New
France would have been banishment, rather than death.
This also suggests that there might have been offenses related to blasphemy, slavery, or dealings with First Peoples that could have also been death penalty offenses in the 1867-1892 time period. But, slavery was abolished in the British Empire, including Canada, in 1834, and in many cases, earlier:
On March 25, 1807, the slave trade was abolished throughout the
British Empire – of which British North America was a part – making it
illegal to buy or sell human beings and ending much of the
transatlantic trade. Slavery itself was abolished everywhere in the
British Empire in 1834. Some Canadian jurisdictions had already taken
measures to restrict or end slavery by that time. In 1793 Upper Canada
(now Ontario) passed an Act intended to gradually end the practice of
slavery. The law made it illegal to bring enslaved people into Upper
Canada and declared that children born to enslaved people would be
freed once they reached 25 years of age, but explicitly did not free
any enslaved people directly. On Prince Edward Island, the complete
abolition of slavery was pronounced by the legislature on 1825, nine
years before the Imperial abolition of 1834.
But that door is closed because this source states:
In pre-Confederation Canada, hundreds of criminal offences were
punishable by death. By 1865, only murder, treason and rape were still
considered capital offences. In 1962, Ronald Turpin and Arthur Lucas
were the last of 710 prisoners to be executed in Canada since 1859.
After 1976, the death penalty was permitted only for members of the
Armed Forces found guilty of cowardice, desertion, unlawful surrender,
or spying for the enemy. The federal government completely abolished
state executions in 1998. . .
One of the earliest recorded executions in Canada was in 1749 in
newly-founded Halifax. A sailor named Peter Cartcel was charged with
killing a man. He was tried before a general court of Halifax’s
governor and six councillors. He was quickly found guilty and hanged
two days later.
Before 1859, Canada (then British North America) operated under
British law. Some 230 offences, including stealing turnips and being
found disguised in a forest, were punishable by death. By 1865, only
murder, treason and rape were still considered capital offences.
So, there was no time from July 1, 1867 to 2022 in which any other crimes (except military justice crimes) were punishable by death in an independent Canada. And, no one alive today was alive in one hundred and fifty-seven years ago, in 1865, which is the earliest date when we know for certain that Canada had just four or fewer civilian capital offenses.
Another source notes that most remaining capital offenses present in 1867 ceased to be punishable by death even before 1976:
1865 Crimes of murder, treason, and rape carried the death penalty in
Upper and Lower Canada.
1961 The murder was classified into capital and non-capital offenses.
Capital murder offenses in Canada were premeditated murder and murder
of a police officer, guard or warden in the course of duty. A capital
offense had a mandatory sentence of hanging.
1962 The last executions took place in Canada. Arthur Lucas, convicted
of the premeditated murder of an informer and witness in racket
discipline, and Robert Turpin, convicted of the unpremeditated murder
of a policeman to avoid arrest, were hanged at the Don Jail in
Toronto, Ontario.
1966 Capital punishment in Canada was limited to the killing of
on-duty police officers and prison guards.
Capital punishment for rape was ended in Canada with the criminal code of 1954-1955. The same source notes that the number of military offenses punishable by death was greatly narrowed in the National Defense Act of 1950.
But rape was still a crime when the death penalty for it was abolished in 1955, non-premeditated murder was still a serious crime when the death penalty for it was abolished in 1961, and pre-meditated murder was still a serious crime when the death penalty for it was abolished in 1966, and killing an on duty prison guard or police officer was still a crime when the death penalty for it was abolished in 1976.
Likewise treason and piracy continued to be serious crimes when the death penalty for those offenses was abolished and continue to be serious crimes to this day.
So, there were really no civilian crimes post-July 1, 1867 that were decriminalized entirely as opposed to being narrowed or modified as discussed below. The most of the narrowing of the death penalty had already taken place by 1865, two years before Canada was independent.
There was many fewer military offenses punishable by death following the narrowing of the military death penalty in 1950, but one would have to research the National Defense Act of 1950 further to know if any of the military offenses punishable by death in 1950 ceased to be military offenses at all under that legislation, which apparently amended and restated the National Defense Act of 1922. I suspect that the answer is no, but haven't yet pinned that down.
Certainly, all of the military offenses punishable by death from 1950 to 1999 remain military offenses to this day, even though they are no longer punishable by death.
Narrowed Modern Offenses
The other category is for conduct constituting offenses punishable by death for treason, rape, murder and piracy, in which the definitions of those offenses was narrowed in a way that made, for example, conduct previously punishable as capital murder, now, not a crime.
The example that comes to mind is killing a husband in justifiable self-defense from marital rape, something that is not currently a crime in Canada and which would have been capital murder until the death penalty was abolished for ordinary murder in Canada (basically, prior to 1961).
If marital rape was criminalized before the death penalty for murder was abolished in Canada, this would fit the criteria. But, the death penalty was abolished first.
As noted in the previous related post:
The penalty for murder, treason, and piracy was lowered to life
imprisonment effective 1976-07-26, and the penalty for various
military offences was lowered to life imprisonment effective
1999-09-01. Anyone convicted of these offences today would suffer life
imprisonment instead of death, so these offences are no longer
punishable by death, even if they were committed before 1976. In
Criminal Law Amendment Act (No. 2), 1976, they also explicitly commute
all death sentences for three particular offences
The marital exemption from the crime of rape in Canada, however, was passed in 1983, when murder was no longer a death penalty offense in Canada outside of military offenses, which are not implicated by the self-defense option for marital rape.
I can't think of other examples where the narrowing of one of the four criminal offenses punishable by death after 1892 would have this effect, so, I think that the second set of possibilities is probably null.
Pre-1950 Military Offenses Are Moot Or Spent
In light of this narrow exception and the prior related question it is also worth noting that military offenses pre-1950 are almost entirely moot or spent.
To commit a military offense prior to 1950, you would have to be generously born prior to 1933 (assuming you enlisted, perhaps illegally, at age 16), making you 89 years of age or older in 2022, and in the lion's share of cases, already dead.
Fewer than 50,000 men in Canada are that old, and fewer than 2,750 men are older than age 100. The oldest man alive in Canada as of June 15, 2022, was born in 1909 and couldn't have committed a Canadian military offense prior to 1925.
Also, the question of whether someone can be tried for military offenses by courts-martial for crimes committed while serving in the military after that person is discharged from military service was apparently an unsettled one as of the year 2000 in Canada. (See also here outlining Canada's military justice system and not squarely addressing this question). It would appear not, since, "The CSD applies to Regular Force members at all times and to Reserve Force members in specified circumstances, such as when on duty, in uniform, in a CAF vehicle, etc. The CSD can also apply to civilians in limited circumstances, such as while accompanying a CAF unit that is on service or active service."
No one currently in military service in Canada was in military service in Canada prior to 1950. The mandatory retirement age in the Canadian military is 60 year of age, implying people who enlisted not earlier than 1979 (assuming a minimum age of enlistment of 17 years at that time). Anyone who committed a military offense in 1949 has been retired from the military for at least 20 years now.
Also, the Canadian Armed Forces "have no jurisdiction to try any person charged with having committed within Canada the offences of murder, manslaughter, or any offence under the sections of the Criminal Code relating to the abduction of children."
Capital Punishment Under British Law Which Applied In Canada Until 1859
Prior to 1859, Canada was governed by British law, so its capital punishment history is relevant too, and recounted by Wikipedia as follows in the pertinent parts:
Capital punishment was historically used to punish inherently innocent
things such as unemployment. In 16th-century England, no distinction
was made between vagrants and the jobless; both were simply
categorized as "sturdy beggars", who were to be punished and moved on.
In 1547, a bill was passed that subjected vagrants to death for the
second offense. During the reign of Henry VIII, as many as 72,000
people are estimated to have been executed.
Sir Samuel Romilly, speaking to the House of Commons on capital
punishment in 1810, declared that "[there is] no country on the face
of the earth in which there [have] been so many different offences
according to law to be punished with death as in England". Known as
the "Bloody Code", at its height the criminal law included some 220
crimes punishable by death, including "being in the company of Gypsies
for one month", "strong evidence of malice in a child aged 7–14 years
of age" and "blacking the face or using a disguise whilst committing a
crime". Many of these offences had been introduced by the Whig
Oligarchy to protect the property of the wealthy classes that emerged
during the first half of the 18th century, a notable example being the
Black Act of 1723, which created 50 capital offences for various acts
of theft and poaching. Crimes eligible for the death penalty included
shoplifting and stealing sheep, cattle, and horses, and before
abolition of the death penalty for theft in 1832, "English law was
notorious for prescribing the death penalty for a vast range of
offences as slight as the theft of goods valued at twelve pence."
Whilst executions for murder, burglary and robbery were common, the
death sentences for minor offenders were often not carried out. A
sentence of death could be commuted or respited (permanently
postponed) for reasons such as benefit of clergy, official pardons,
pregnancy of the offender or performance of military or naval duty.
Between 1770 and 1830, an estimated 35,000 death sentences were handed
down in England and Wales, of which 7,000 executions were carried out.
In 1808, Romilly had the death penalty removed for pickpockets and
lesser offenders, starting a process of reform that continued over the
next 50 years. The death penalty was mandatory (although it was
frequently commuted by the government) until the Judgement of Death
Act 1823 gave judges the official power to commute the death penalty
except for treason and murder. The Punishment of Death, etc. Act 1832
reduced the number of capital crimes by two-thirds. In 1832, the death
penalty was abolished for theft, counterfeiting, and forgery except
for the forgery of wills and certain powers of attorney.
Gibbeting was abolished in 1832 and hanging in chains was abolished in
1834. In 1837, the death penalty for forging wills and powers of attorney was abolished. The death penalty for rape and some other
offences was abolished by the Substitution of Punishments of Death Act
in 1841. In 1861, several acts of Parliament (24 & 25 Vict; c. 94 to
c. 100) further reduced the number of civilian capital crimes to five:
murder, treason, espionage, arson in royal dockyards, and piracy with
violence; there were other offences under military law. The death
penalty remained mandatory for treason and murder unless commuted by
the monarch.
The Royal Commission on Capital Punishment 1864–66 concluded (with
dissenting Commissioners) that there was not a case for abolition but
recommended an end to public executions. This proposal was included in
the Capital Punishment Amendment Act 1868. From that date executions
in Great Britain were carried out only in prisons. The punishment of
beheading and quartering those executed for treason was abolished in
1870. The last application of that punishment had been in 1820 and the last sentence to the punishment had been in 1839.
Notably, capital punishment for rape was apparently abolished in Canada from 1841-1859 and possibly also from 1859-1865, only to be reinstated not later than 1865 when Canada began to be subject to its own laws rather than British law until 1955 when it abolished the death penalty for this crime following example that the British set in 1841.
On the other hand, Canada appears to have never had civilian capital punishment under its own laws for espionage or arson.