Question: Who wrote the libretto in the work Stravinsky composed before The Cantata?
Context: Pastorale (Russian: Пастораль ) is a song without words written by Igor Stravinsky in 1907.  Stravinsky composed the piece at his family's estate in Ustilug, Ukraine, while under the supervision of Nikolai Rimsky-Korsakov, and dedicated it to Rimsky-Korsakov's daughter Nadia. The Cantata by Igor Stravinsky is a work for soprano, tenor, female choir, and instrumental ensemble (of two flutes, oboe, cor anglais (doubling second oboe), and cello), and was composed from April 1951 to August 1952.  The premiere performance on 11 November 1952 was by the Los Angeles (Chamber) Symphony Society (to whom the work is dedicated), conducted by Stravinsky himself.  After completing the opera "The Rake's Progress", Stravinsky felt the urge to compose another work setting English words, but in a non-dramatic form . Petrushka (French: "Pétrouchka" ; Russian: "Петрушка" ) is a ballet burlesque in four scenes.  It was composed in 1910–11 and revised in 1947.  Igor Stravinsky composed the music, and, with Alexandre Benois, fashioned the libretto.  Michel Fokine choreographed the ballet; Benois designed the sets and costumes.  "Petrushka" was first performed by Sergei Diaghilev's Ballets Russes at the Théâtre du Châtelet in Paris on 13 June 1911.  Vaslav Nijinsky portrayed Petrushka with Tamara Karsavina as the Ballerina.  Alexander Orlov portrayed the Moor, and Enrico Cecchetti the Charlatan. Johann Sebastian Bach composed the church cantata Herz und Mund und Tat und Leben (Heart and mouth and deed and life), BWV 147 , in 1723 during his first year as "Thomaskantor", the director of church music in Leipzig.  His cantata is part of his first cantata cycle there and was written for the Marian feast of the Visitation on 2 July, which commemorates Mary's visit to Elizabeth as narrated in the Gospel of Luke in the prescribed reading for the feast day.  Bach based the music on his earlier cantata BWV 147a, written originally in Weimar in 1716 for Advent.  He expanded the Advent cantata in six movements to ten movements in two parts in the new work.  While the text of the Advent cantata was written by the Weimar court poet Salomo Franck, the librettist of the adapted version who added several recitatives is anonymous. Jeu de cartes (En. , "Card Game") is a ballet in three "deals" by Igor Stravinsky composed in 1936–37, with libretto by the composer in collaboration with M. Malaieff (a friend of Stravinsky's eldest son ) and choreography by George Balanchine.  The ballet was premiered by the American Ballet at the Metropolitan Opera House, New York City on 27 April 1937, with the composer conducting.  The European premier was on 13 October 1937 at the Dresden Staatsoper.  The New York City Ballet premiere took place on 15 February 1951 under the title "The Card Game" at City Center of Music and Drama, New York. Concerto in E-flat, subtitled Dumbarton Oaks 8-v-1938 (1937–38) is a chamber concerto by Igor Stravinsky, named for the Dumbarton Oaks estate of Robert Woods Bliss and Mildred Barnes Bliss in Washington, DC, who commissioned it for their thirtieth wedding anniversary.  Composed in Stravinsky's neo-classical period, the piece is one of Stravinsky's two chamber concertos (the other being the Concerto in D, for strings, 1946) and is scored for a chamber orchestra of flute, B♭ clarinet, bassoon, two horns, three violins, three violas, two cellos, and two double basses.  The three movements, Tempo giusto, Allegretto, and Con moto, performed without a break, total roughly twelve minutes.  The concerto was heavily inspired by Bach's set of Brandenburg Concertos, and was the last work Stravinsky completed in Europe, started in spring 1937 at the Château de Montoux near Annemasse, near Geneva, Switzerland, and finished in Paris on March 29, 1938 . There are 52 chorale cantatas by Johann Sebastian Bach surviving in at least one complete version.  Around 40 of these were composed during his second year as Thomaskantor in Leipzig, which started after Trinity Sunday 4 June 1724, and form the backbone of his chorale cantata cycle.  The eldest known cantata by Bach, an early version of "Christ lag in Todes Banden", BWV 4, presumably written in 1707, was a chorale cantata.  The last chorale cantata he wrote in his second year in Leipzig was "Wie schön leuchtet der Morgenstern", BWV 1, first performed on Palm Sunday, 25 March 1725.  In the ten years after that he wrote at least a dozen further chorale cantatas and other cantatas that were added to his chorale cantata cycle. Johann Sebastian Bach composed the church cantata Jauchzet Gott in allen Landen ("Exult in God in every land" or "Shout for joy to God in all lands") BWV 51 , in Leipzig.  The work is Bach's only church cantata scored for a solo soprano and trumpet.  He composed it for general use ("ogni tempo)", in other words not for a particular date in the church calendar, although he used it for the 15th Sunday after Trinity: the first known performance was on 17 September 1730 in Leipzig.  The work may have been composed earlier, possibly for an occasion at the court of Christian, Duke of Saxe-Weissenfels, for whom Bach had composed the "Hunting Cantata" and the "Shepherd Cantata". Igor Stravinsky composed his Mass between 1944 and 1948.  This 19-minute setting of the Roman Catholic Mass exhibits the austere, Neoclassic, anti-Romantic aesthetic that characterizes his work from about 1923 to 1951.  The Mass also represents one of only a handful of extant pieces by Stravinsky that was not commissioned.  As such, part of the motivation behind its composition has been cited by Robert Craft and others as the product of a spiritual necessity. The Rake's Progress is an opera in three acts and an epilogue by Igor Stravinsky.  The libretto, written by W. H. Auden and Chester Kallman, is based loosely on the eight paintings and engravings "A Rake's Progress" (1733–1735) of William Hogarth, which Stravinsky had seen on 2 May 1947, in a Chicago exhibition.
Answer: W. H. Auden and Chester Kallman