AdamW is an optimizer that decouples the operation that pulls weights toward 0 (weight decay) from the Adam update. Loshchilov and Hutter posted it on arXiv in 2017, and it was accepted at ICLR 2019. The W in the name stands for the decoupled Weight Decay.
Until then, many libraries implemented Adam's "weight decay" as L2 regularization that adds to the gradient. In plain SGD, L2 regularization and weight decay yield the same update. Adam, however, divides the gradient by a per-parameter scale, so the added is divided as well, and weights that had larger gradients shrink less. The paper identifies this as a major reason why Adam's generalization performance (accuracy on unseen data) tends to lose to SGD with momentum.
AdamW moves the weight-shrinking term out of Adam's computation and shrinks every weight by the same fraction. That is the only change, yet in the paper's image classification experiments the test error dropped by about 15% relative to Adam, and the learning rate and the weight decay strength became easier to tune separately. After the paper appeared, it spread through uses such as Radford et al. (2018) training a Transformer, and it is now standard for training large models. The difference between L2 regularization and weight decay itself is explained in detail in the Weight Decay article.

