My electrician is an older guy, so when he said the code changed "recently" it could be 10 or 20 years. The pool is in Austin, Texas, and they are extremely strict about code enforcement here. My pool pump was not bonded, but I have no way of knowing when it was installed, but it had been operated that way for years. That being said, the previous owners also had the main electric panel for the house next to the pool (you could put your foot in the pool and easily touch the electric panel and get fried), and the pool was WAY out of code. It was insane that they had the electric box next to the pool. We had to get everything to code. Even though the electrician felt bonding was not a huge deal, I still had him bond the pump and the SWG. It was not a big project, took him less than an hour, and money well spent. Better to be as safe as possible, and bring everything up to code.