I used to use the piece of code below (that I actually found here) to highlight in my name bold in my bibliography for CV or thesis. It worked just fine but for the last 3 weeks or so I get a bunch of errors whereas neither the code nor my .bib file were modified. I understood that some options have been simplified which impact the code. any chance to get an updated code for this function.
\documentclass[a4paper,twoside,numbered,fontsize=11pt]{scrartcl} % KOMA-article class
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[protrusion=true,expansion=true]{microtype}
\usepackage{amsmath,amsfonts,amsthm} % Math packages
\usepackage{graphicx} % Enable pdflatex
\usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
\usepackage{geometry}
%\textheight=700px % Saving trees ;-)
\usepackage{url}
\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
\usepackage{float}
\usepackage{etaremune}
\usepackage{wrapfig}
\usepackage{eurosym}
\usepackage{textcomp}
\usepackage{csquotes}
\usepackage{attachfile}
\usepackage{fancyhdr}
%sorting section
\usepackage[backend=biber,sorting=ddatent,style=phys,isbn=true]{biblatex}
%sorting by date
\DeclareSortingScheme{ddatent}{
\sort{
\field{presort}
}
\sort[final]{
\field{sortkey}
}
\sort[direction=descending]{
\field[strside=left,strwidth=4]{sortyear}
\field[strside=left,strwidth=4]{year}
\literal{9999}
}
\sort[direction=descending]{
\field[padside=left,padwidth=2,padchar=0]{month}
\literal{00}
}
\sort[direction=descending]{
\field[padside=left,padwidth=2,padchar=0]{day}
\literal{00}
}
\sort[direction=descending]{
\field[padside=left,padwidth=4,padchar=0]{volume}
\literal{9999}
}
\sort{
\name{sortname}
\name{author}
\name{editor}
\name{translator}
\field{sorttitle}
\field{title}
}
\sort{
\field{sorttitle}
\field{title}
}
}
\addbibresource{mybiblio2016.bib}
\setlength{\biblabelsep}{0pt}
%Make Bold author name
\newcommand{\makeauthorbold}[1]{%
\DeclareNameFormat{author}{%
\ifnumequal{\value{listcount}}{1}
{\ifnumequal{\value{liststop}}{1}
{\expandafter\ifstrequal{##1}{#1}{\textbf{##1\addcomma\addspace ##4\addcomma\isdot}}{##1\addcomma\addspace ##4\addcomma\isdot}}
{\expandafter\ifstrequal{##1}{#1}{\textbf{##1\addcomma\addspace ##4}}{##1\addcomma\addspace ##4}}}
{\ifnumless{\value{listcount}}{\value{liststop}}
{\expandafter\ifstrequal{##1}{#1}{\textbf{\addcomma\addspace ##1\addcomma\addspace ##4}}{\addcomma\addspace ##1\addcomma\addspace ##4}}
{\expandafter\ifstrequal{##1}{#1}{\textbf{\addcomma\addspace ##1\addcomma\addspace ##4\addcomma\isdot}}{\addcomma\addspace ##1\addcomma\addspace ##4\addcomma\isdot}}%
}%
}%
}
\makeauthorbold{Myname}
\DeclareFieldFormat{labelnumberwidth}{}
%%% Papers
\newpage
\nocite{*}
\printbibliography[type=article,title={\uppercase{Journal articles}}]
\printbibliography[type=inproceedings,title={\uppercase{Conference papers}}]
\printbibliography[type=book,title={\uppercase{Books chapters}}]
\printbibliography[type=patent,title={\uppercase{Patents}}]
\printbibliography[type=unpublished,title={\uppercase{Presentations}}]
\printbibliography[type=inreference,title={\uppercase{Invited talks}}]
\printbibliography[type=incollection,title={\uppercase{Posters}}]
\printbibliography[type=report,title={\uppercase{Technical notes}}]
\printbibliography[type=thesis,title={\uppercase{Thesis}}]
\end{document}