There are several breaking changes with v1.0.0. Most notably the requirement for defining PUBLIC vs PRIVATE when using Particle.publish() and Particle.subscribe(). See the changelog here:
You'll have to look through the changelog yourself because your question is quite vague... after all, we have no idea what your code does and how it does it. You also haven't stated what exactly your code isn't doing beside a red blink. Does it blink an SOS pattern followed by an error code?
Does your code run OK if you downgrade to v0.7.0?