Upgrade to Pro — share decks privately, control downloads, hide ads and more …

でぶちゃんねる vol.30 Drupal 9.3 の新機能サマリ

でぶちゃんねる vol.30 Drupal 9.3 の新機能サマリ

More Decks by アクイアジャパン Acquia Japan

Other Decks in Programming

Transcript

  1. Drupal 9 ͷϦϦʔε • Drupal 9.0 • Drupal 9.1 •

    Drupal 9.2 • Drupal 9.3 • Drupal 9.4 → 2020೥6݄ެ։ → 2020೥12݄ެ։ → 2021೥6݄ެ։ → 2021೥12݄ެ։ → 2022೥6݄ެ։༧ఆ
  2. • ηΩϡϦςΟͱϓϥΠόγʔͷվળ • OliveroςʔϚʹର͢Δ਺ेͷվળ • UmamiσϞͷʮΤσΟλʯʹݖݶ௥ՃɺϨΠΞ΢τϏϧμʔͷద ༻ൣғ֦ॆ • Drupal 10ʹ޲͚ͨ४උ

    • ...etc ʢ͓͞Β͍ʣDrupal 9.2ͷओͳΞοϓσʔτ ৄ͘͠͸... ͰͿͪΌΜͶΔ vol.26 
 Drupal 9.2 ͷ৽ػೳαϚϦ https://www.acquia.com/jp/events/webinars/acquia- devchannel-vol26
  3. ᶃ Drupalͷ৽͍͠ϑϩϯτςʔϚʮOliveroʯ͕҆ఆ൛ʹ • Oliveroͱ͸ ◦ Drupalͷ৽͍͠σϑΥϧτςʔϚ ◦ Drupal 10 Ͱ

    ݱࡏͷσϑΥϧτςʔϚʮBartikʯ͔Βஔ ͖׵ΘΔ • Olivero͸9.1ͷ࣌఺ͰࢼݧతͳཱͪҐஔͰίΞʹ௥Ճ͞Εͨ • ίϯτϦϏϡʔλʔͷߩݙʹΑΓɺ9.3Ͱ҆ఆ൛ʹ • OliveroΛαϒςʔϚͱͯ͠ར༻͢Δ͜ͱ͸ݱࡏαϙʔτ͞Εͯ ͍ͳ͍ 
 ʢকདྷతʹਖ਼ࣜʹαϙʔτ͢Δ͔͸ݕ౼தʣ
  4. ᶄCKEditor 5͕ࢼݧతϞδϡʔϧͱͯ͠ίΞʹ௥Ճ • CKEditorͱ͸ ◦ WYSIWYG ΤσΟλͷҰͭ ◦ Drupal 9.3ͷ࣌఺Ͱ͸CKEditor

    4Λαϙʔτ • CKEditor 5 ΁ͷΞοϓσʔτ͸ɺʮDrupal 10 ReadinessʯΠχγΞνϒͷ Ұͭ • CKEditor 5͸ɺࢹ֮తʹ΋ΞʔΩςΫνϟతʹ΋վળ͞Εͨ৽͍͠ΤσΟ λ • CKSourceࣾͱͷڞಉ࡞ۀʹΑΓɺGHS(General HTML Support)΍CKEditor ϓϥάΠϯͷಈతϩʔυͱݴͬͨDrupalαΠτʹ͔ܽͤͳ͍ػೳ͕࣮૷͞ Εɺ΢Σϒ্ͰͷηοτΞοϓ͕Ҿ͖ଓ͖ར༻Մೳ • CKEditor 4͔ΒͷΞοϓάϨʔυ΋εϜʔζʹߦ͑ΔΑ͏ʹ഑ྀ͞Ε͍ͯ Δ • CKEditor 4ͱ౷߹͍ͯ͠ΔDrupalͷ֦ுػೳ͸CKEditor 5༻ʹΞοϓσʔτ ͕ඞཁ ◦ Drupal 10Ͱ͸CKEditor 4ͷαϙʔτ͸ഇࢭ͞ΕΔ༧ఆ ◦ ͳͷͰඇຊ൪؀ڥͰ৽͍͠ϞδϡʔϧΛࢼ͢͜ͱΛਪ঑
  5. ᶆ։ൃऀͷͨΊͷ༷ʑͳվળ • ΤϯςΟςΟόϯυϧ͸ɺඞཁͳϏδωεϩδοΫΛΧϓηϧԽͨ͠ಠࣗͷΫϥεΛએݴՄೳʹ ◦ όϯυϧΫϥε͸ \Drupal\node\Entity\Node ͷΑ͏ʹϕʔεͱͳΔΤϯςΟςΟͷΫϥεͷ αϒΫϥεͰ͋Δඞཁ͕͋Δ ◦ ֤όϯυϧʹඞཁͳશͯͷϩδοΫΛαϒΫϥεʹΧϓηϧԽ͢Δ͜ͱͰɺ໌֬Ͱγϯϓ

    ϧͰɺอकੑͱςετੑʹ༏ΕͨίʔυΛ࡞੒Ͱ͖ΔՄೳੑ͕޿͕Δ • ֤Ϣʔβʔϩʔϧ͸ɺϩʔϧͷݖݶΛఏڙ͢ΔϞδϡʔϧʹґଘ͢ΔΑ͏ʹͳͬͨ ◦ ϞδϡʔϧΛΞϯΠϯετʔϧ͢Δࡍʹɺݖݶ͕ࣗಈతʹΫϦʔϯΞοϓ͞ΕΔ • Drupal 9.3.0 Ͱ PHP 8.1 Λ׬શʹαϙʔτ ◦ Drupal 9.3.0 ΛΠϯετʔϧ͢Δࡍʹਪ঑͞ΕΔPHP͸PHP 8.0Ҏ߱ Ͱ͕͢ɺPHP 7.3Ҏ্ͷαϙʔτ͸ҡ࣋͞ΕΔ 
 ʢDrupal 10Ͱ͸PHP8.0͕ඞਢʹͳΔ༧ఆʣ
  6. ֤ϝδϟʔόʔδϣϯͷλΠϜϥΠϯ • Drupal 7 ◦ 2022೥11݄ʹEOL༧ఆʢ໿1೥ޙʣ • Drupal 8 ◦

    2021೥11݄ʹEOL • Drupal 9 ◦ 2023೥11݄ʹEOL༧ఆʢ໿2೥ޙʣ • Drupal 10 ◦ 2022೥6-11݄ͷؒʹϦϦʔε༧ఆ
  7. Project Browser αΠτϏϧμʔ͕ΑΓ؆୯ʹϞδϡʔϧΛ୳͠ ͯΠϯετʔϧͰ͖ΔΑ͏ʹ͢Δ Decoupled Menus JavaScriptϑϩϯτΤϯυ͕ɺDrupalͰ؅ཧ͢ Δߏ੒ՄೳͳϝχϡʔΛ࢖༻Ͱ͖ΔΑ͏ʹ͢Δ Easy OOTB

    ϝσΟΞػೳ, Claro(؅ཧςʔϚ), Layout Builder ΛDrupalͷඪ४ʹ͢Δ Automated Updates DrupalαΠτΛࣗಈతʹߋ৽Ͱ͖ΔΑ͏ʹ͢Δ Drupal 10 Readiness Drupal 10ͷϦϦʔεʹඞཁͳґଘؔ܎ͷΞοϓ σʔτ New Front End Theme DrupalͷϞμϯͳ৽͍͠σϑΥϧτςʔϚ ʮOliveroʯΛ࡞੒͢Δ ݱࡏऔΓ૊·Ε͍ͯΔΠχγΞνϒͷਐḿঢ়گ
  8. DrupalʹؔΘΔOSSϓϩδΣΫτͷEOLαΠΫϧ 7 6 8 9 10 12 11 1 2

    3 5 4 5 6 8 7 9 10 11 2021 Drupal 9.1.x https://www.drupal.org/about/core/policies/core-release-cycles/schedule 12 1 2 3 4 5 6 8 7 9 10 11 Drupal 9.2.x Drupal 9.3.x Drupal 9.4.x (estimate) 12 1 2 3 NOW PHP 7.4 Drupal 7.x PHP 8.0 Drupal 10.x (estimate) 2024 2023 Drupal 9.x PHP 7.3 Node.js 12 Node.js 14 Symfony 4.4 CKEditor 4 2022
  9. • Aggregator ◦ ϑΟʔυϦʔμʔɻΠϯλʔωοτ্ͷ֎෦ͷχϡʔεαΠτ΍ϒϩά͔ΒχϡʔεɺςΩετɺը૾ɺͦͷଞͷίϯςϯπΛऩ ूɺಡΈऔΓɺද͕ࣔͰ͖Δ ◦ 2016೥Ҏ߱ɺMAINTAINERS.txtʹΤϯτϦແ͠ ◦ 20217೥ͷௐࠪʹΑΔͱɺ࠷΋࢖༻͞Ε͍ͯͳ͍ίΞϞδϡʔϧͷ1ͭ •

    HAL ◦ HAL(Hypertext Application Language)Λ࢖༻ͯ͠ΤϯςΟςΟΛγϦΞϥΠζ͢Δ ◦ ຊ൪؀ڥͰHALΛ࢖༻͢ΔαΠτ͸΄ͲΜͲͳ͍ ◦ ϝϯςφ͕͍ͳ͍ • Forum ◦ εϨουԽͨ͠σΟεΧογϣϯܝࣔ൘Λ࡞੒ ◦ #3158669 ʹΑΔͱɺ࢖༻཰͸5%ະຬ • Quick Edit ◦ ϑΟʔϧυͷίϯςϯπΛɺผϖʔδʹҠಈ͢Δ͜ͱແ͘ฤू͢Δ͜ͱ͕Մೳ ◦ Quick Edit ʹ͸ϢʔβϏϦςΟʹؔ͢Δ໰୊ɺίΞͷଞͷ෦෼ͱͷ౷߹Λࠔ೉ʹ͢Δ͍͔ͭ͘ͷ໰୊ͱɺ୔ࢁͷະղܾͷόά͕͋Δ • ʢ࢑ఆʣRDF ◦ λΠτϧɺஶऀɺϖʔδͷߋ৽೔ͳͲͷΑ͏ͳϝλσʔλΛɺΞϓϦέʔγϣϯؒͰͦͷؔ܎ੑ΍ଐੑΛଞͷΞϓϦέʔγϣϯ (ྫ: ݕࡧΤϯδϯ΍Aggregator౳) ͕ཧղ͠΍͍͢Α͏ʹ͢Δ ◦ RDF͸ɺϖʔδ্ͷΦϒδΣΫτͱΠϯϥΠϯͰϚʔΫΞοϓΛຒΊࠐΉ͜ͱʹґଘ͍ͯ͠Δ ◦ ͜Ε͸࣮૷͢Δͷ͕ඇৗʹࠔ೉Ͱ͋Γɺߩݙ͕े෼ʹΧόʔ͞Ε͍ͯͳ͍ Drupal 10ͰίΞ͔Β֎ΕΔϞδϡʔϧ ίΞϞδϡʔϧ͔Β ίϯτϦϏϡʔτϞδϡʔϧʹ Ҡߦ༧ఆ ϝϯςφϯε͞Ε͍ͯͳ͍ × ࢖༻཰͕௿͍ίΞϞδϡʔϧ͕ର৅ʹ https://www.drupal.org/project/drupal/issues/3118154
  10. ࢀߟࢿྉ • Drupal 9.3.0 ϦϦʔεϊʔτ - Drupal.org ◦ https://www.drupal.org/project/drupal/releases/9.3.0 •

    Drupal 9.3.0 is available - Drupal.org ◦ https://www.drupal.org/blog/drupal-9-3-0 • State of Drupal presentation (October 2021) - dri.es ◦ https://dri.es/state-of-drupal-presentation-october-2021 • PHP requirement - Drupal.org ◦ https://www.drupal.org/docs/system-requirements/php-requirements
  11. ͓஌ΒͤᶃDrupal 9ͷ঎ۀॻ੶͕ొ৔ ฤऀɹɹɹɿDrupal Meetup ๛ాࢧ෦ Ϩʔϕϧɹɿٕज़ͷઘγϦʔζʢNextPublishingʣ Ձ֨ɹɹɹɿిࢠॻ੶ 1,760ԁʢ੫ࠐʣ ɹɹɹɹɹɹϖʔύʔόοΫ 2,420ԁʢ੫ࠐʣ

    ൃച೔ɹɹɿ2021೥12݄17೔ʢۚʣ ɾGitLab.comͰखܰʹ࢝ΊΔCI؀ڥߏங ɾWebformͰ؆୯ϑΥʔϜ࡞੒ ͷষΛ৽ͨʹ௥Ճ͍ͯ͠·͢ɻ ʰDrupal 9 ͓͍͍͠Ϩγϐूʱ DrupalΞϓϦͷCI/CDɺ֎෦αʔϏε࿈ܞɺϔουϨεCMSɾɾɾ 
 ࠓ͙͢࢖͑Δ࣮ફతͳςΫχοΫΛ঺հʂ ߪೖ͸Amazon͔Β ٕज़ॻయͰ൦෍ͨ͠ ಉਓࢽ͕঎ۀࢽʹʂ