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

Rails Upgrade Casual Talks

Rails Upgrade Casual Talks

Rails Upgrade Casual Talks の基調講演「10年戦えるフレームワークのバージョンアップ戦略」の発表スライド https://cw-meetup.doorkeeper.jp/events/40728

Akira Matsuda

March 28, 2016
Tweet

More Decks by Akira Matsuda

Other Decks in Programming

Transcript

  1. ఆظతͳόʔδϣϯΞοϓ ⤴ ެ։: 2004೥ ⤴ 1.0: 2005೥ ⤴ 2.0: 2007೥

    ⤴ 3.0: 2010೥ ⤴ 4.0: 2013೥ ⤴ 5.0: 2016೥
  2. ϝδϟʔόʔδϣϯ͝ͱͷ
 ৽͍͠ύϥμΠϜ (= ೩ྉ) ⤴ 1.x: CoC, DRY , TDD,

    generator, … ⤴ 2.x: REST ⤴ 3.x: Modularity, Asset Pipeline ⤴ 4.x: Strong Parameters ⤴ 5.x: ?
  3. Rails͕αϙʔτ͢Δ
 Rubyͷόʔδϣϯͷมભ ⤴ 1.0: ʙ1.8.6 ⤴ 2.0: 1.8.6, 1.8.7 ⤴

    3.0: 1.8.7 , 1.9 ⤴ 4.0: 1.9, 2.0, 2.1 ⤴ 5.0: 2.2, 2.3
  4. มߋʹڧ͍࡞Γ ⤴ ϓϥάΠϯγεςϜ(࠷ॳ͔Β) ⤴ RailsϓϥάΠϯΛRubyGemsʹ (2.x) ⤴ Bundlerͷൃ໌ (3.0) ⤴

    agnosticͳߏ଄ (3.0) ⤴ AMCͷൃ໌ (1.2) ⤴ Module#prependͷఏҊ (wycats)
  5. Community ⤴ community = core team + committers + contributors

    ⤴ΦϨΦϨ (since 2008) ⤴࣮͸3൪Ίʹݹגʂʁ
  6. ݱࡏͷRailsϓϩδΣΫτͷ
 όʔδϣϯΞοϓϙϦγʔ ⤴ SemVer? ⤴ ϒϥϯνϙϦγʔ ⤴ αϙʔτ͢ΔRubyͷόʔδϣϯΛ্͛Δͱ͖͸ϝδϟʔ όʔδϣϯΛ্͛Δ ⤴

    େ͖ͳAPIมߋ͸ϚΠφʔόʔδϣϯΛ্͍͛ͨ ⤴ ηΩϡϦςΟύον͸ಠཱͰ ⤴ ϝιου͕ͳ͘ͳͬͨΓ͢Δ৔߹͸deprecation warning Λग़͢
  7. end