0% found this document useful (0 votes)
70 views

Meteor: Meteor 0.6.0: Brand New Distribution System, App Packages, NPM Integration

Meteor 0.6.0 introduced a new distribution system that allows running multiple Meteor releases simultaneously on the same computer. Applications are now pinned to specific Meteor releases, and private application packages can now include NPM dependencies. The update also added direct support for NPM modules in Meteor packages.

Uploaded by

sauro13
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views

Meteor: Meteor 0.6.0: Brand New Distribution System, App Packages, NPM Integration

Meteor 0.6.0 introduced a new distribution system that allows running multiple Meteor releases simultaneously on the same computer. Applications are now pinned to specific Meteor releases, and private application packages can now include NPM dependencies. The update also added direct support for NPM modules in Meteor packages.

Uploaded by

sauro13
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Meteor PREVIEW0.7.

2Docs

Learn Gallery Blog GetInvolved

Follow

Signin

Meteor0.6.0:brandnew distributionsystem,apppackages, NPMintegration


April4,2013Permalink ByMattDeBergalis We'redelightedtoannounceMeteor0.6.0,featuringacompletelynewsystemfordistributingMeteor releasesandupdatingapplications.Meteor0.6.0alsoaddsapplicationspecificpackagesanddirect supportforNPMmodules. Beginningin0.6.0,MeteorapplicationsarepinnedtoaspecificMeteorrelease,andyoucanrun differentMeteorreleasesonthesamecomputer.Meteorusesacontrolfileinyourapplication directorytomarkwhichversionoftheMeteordistributiontheapplicationrequires.Soforeach separateapplication,youdecidewhichspecificversionofMeteoritshoulduse,controlwhento updatetoanewversion,andsynchronizethatupdatewiththerestofyourdevelopmentteamand yourproductiondeployment. Withthenewdistributionsystem,itiseasiertomanagetheupdatecycleforapplications,andto testyourapplicationsagainstnewMeteorreleasesbeforecommittingtoanupdate.We'renowable toshipreleasecandidatesinadvanceofageneralrelease,andcreatecustomreleasesthatletyou tryaproposedbugfixorfeaturestillindevelopment. Meteor0.6.0alsoincludesNPMintegration.Thisaddition,requestedbymanydevelopersinthe community,allowsMeteorpackagestodirectlydependonNPMmodules.WhenyouaddanNPM moduletoapackage,Meteorlocksdownthespecificversionsofeachofitssubdependenciesso thateachcopyofyourapprunsagainstexactlythesamecode. Finally,applicationscannowincludeprivateMeteorpackagesintheir p a c k a g e sdirectory,which canthemselvesspecifyNPMdependencies.Privatepackagesarenowtherecommendedwayto includeNPMmodulesinanapp. Run $ m e t e o ru p d a t etoswitchtothenewdistributionsystem.Ifyou'renewtoMeteor,youcan getstartedonOSXorLinuxbyrunning
$c u r lh t t p s : / / i n s t a l l . m e t e o r . c o m|/ b i n / s h

TheMeteorBlog
Meteorisanopensourceplatform forbuildingtopqualitywebappsin afractionofthetime,whether you'reanexpertdeveloperorjust gettingstarted.

1 Getonthemailinglist:

[email protected]
ThelatestMeteorupdatesand nothingelse. 2
Follow

What'sthisMeteorthingallabout? Startbywatchingthisscreencast. It'stheviralhitthat'sastonished over100,000developers.

Playit!

inyourterminalwindow. Readonformoredetailsonthechanges.FullreleasenotesareavailableinGitHub.

Newdistributionsystem
YoucannowhavemultipleMeteorreleasesinstalledsimultaneously.EachMeteorcorepackageis nowseparatelyversioned.AMeteorrelease(suchas0.6.0)isjustadistributionofparticular versionsofeachcorepackage.The m e t e o rcommandlinetoolnowmanagesacacheofcore packagesonyourcomputer.WhenanewMeteorreleaseisavailable,itwilldownloadtheupdated versionsofpackagesinthebackgroundandaddthemtothecache.Onebenefittothisapproachis thatonceinstalled,youcanusealltheavailablereleasesevenwhileoffline,switchingbackand forthbetweenthem. Meteorapplicationsaretiedtoaparticularrelease.Toupdateanapplicationtoanewrelease,run m e t e o ru p d a t einsideitsdirectory.Youcantakethelateststablereleasebydefault,orspecifya particularreleasenamewiththe r e l e a s eoption.Youcanalsousethe r e l e a s eoptiontorun yourapplicationagainstadifferentdistributionversionwithoutupdatingthecontrolfile,soit'seasy totestnewdistributions,orswitchbackandforthbetweenalternatives. Toincludeaprivateapplicationpackage,addittoyourapp's p a c k a g e sdirectory.Theformatisthe sameasacorepackage:adirectorycontaininga p a c k a g e . j sfile.

NPMintegration
Meteorpackages,includingprivateapplicationpackages,canusethenew N p m . d e p e n d sdirective intheir p a c k a g e . j sfiletodependonNPMmodules.There'snoneedtomanuallydownloador installNPMmodules.WhenyouaddanewNPMdependencyin p a c k a g e . j sorupdateaversion specifierwhiledevelopingapackage,Meteorwillautomaticallycalculatesubdependencies,fetch anynecessaryupdatesfromNPMforyou,andrestartyourserverwiththenewcode. Onceincluded,packagecodecanuse N p m . r e q u i r etopullinthemodule. IftheNPMmodulehasarchitecturespecificbinarycomponents,bundlesbuiltwith m e t e o rb u n d l e

or m e t e o rd e p l o ywillcontainthecomponentsasbuiltforthedeveloper'splatformandmaynot runonotherplatforms.

Otherchanges
Thankstothenew0.6.0distributionsystem,Meteornowsupportsanyx86(32or64bit)Linux system,notjustthosewhichuseDebianorRedHatpackagemanagement. We'veaddedfilelevelJavaScriptvariablescoping.Variablesdeclaredwith v a rattheoutermost levelofaJavaScriptsourcefilearenowprivatetothatfile.Removethe v a rtoshareavalue betweenfiles.Ifyou'reusingCoffeeScript,seetheCoffeeScriptpackagedocumentationforhowto shareavaluebetweenfiles. Meteor'sinternalpackagetests(aswellastestsyouaddtoyourapp'spackageswiththe unsupported T i n y t e s tframework)arenowrunwiththenewcommand m e t e o rt e s t p a c k a g e s.

Meteor0.5.8:securityfix,AppCache, DBtransforms,newDeps

MeteorDevshop2:Meteor101,How SparkWorks,&otherwisdom

TheMeteorblog
18.03.14Meteor0.7.2:completingourworkscalingrealtimeMongoDBqueries 14.03.14WhyMeteordoesn'tusesessioncookies 12.03.14Meteorforkids 04.03.14JoinMeteoratFluent2014 26.02.14Meteoritefeature:KrisHamoudofPaytagz 25.02.14Meteordeveloperaccounts 24.02.14Meteor0.7.1:oplogsupportforcomplexqueries,Meteordeveloperaccounts 20.02.14ThenewAtmospherebetaisout 18.02.14MeteorParisturnsone:VianneyLecroartwritesin 14.02.14PeteHunttalksFacebookReact 13.02.14DevshopLondonhasarrived 06.02.14AreactiveSVGdemo 05.02.14MeteorDevshop11:Starting2014withabang 04.02.14Devshopgoesglobal:MeteorLondon'sfirstofficialDevshop 25.01.14MeteorSingapore'sfirstmeetup:AhmedMuzammilwritesin 17.01.14Meteorcoredevsoncampus:AvitalatMITandEmilyatStanford 16.01.14NewcaptainsholdMeteoreventsinCharlotte,Singapore,andNYC 15.01.14LiveHangoutwithDiscoverMeteorandEventedMindnextweek 10.01.14Newmeetupsaroundtheworld+MeteorBoulderfeature 03.01.146mustseeMeteortalksfrom2013 27.12.13TalksfromMeteorDevshop10:Telescope,Houston,Meteorpoweredmaps,andmore 18.12.13DavidGlasseronscalingMeteorwiththeMongoDBoplog 17.12.13Meteor0.7.0:ScalabledatabasequeriesusingMongoDBoploginsteadofpollanddiff 13.12.13WhywebbeginnersshouldstartwithMeteor 09.12.13ReadDiscoverMeteorforfreeon#DiscoverMeteorDaythisSaturday 02.12.13MeteorDevshop9lightningtalks:loadtesting,logging,supercomputers,andmore 21.11.13MeteorDevshop9techtalks:ProductionreadyMeteorapps+Understandingtheeventloop,async,andfibers 20.11.13Meteoroncampus:YHack,HackPrinceton,MIT6.470 07.11.13DavidGreenspanatDevshop9:Meteor'snewrenderingmodel 31.10.13ThefirstMeteorBeijingmeetup 27.10.13Defenseindepth:securingMeteorappswithContentSecurityPolicy 15.10.13MeteorDevshop8lightningtalks:Nitrous.IOAutoparts,Vonvo,andthenewMeteorrenderingengine 11.10.13MeteoratHackMIT:OneTimeBox,Codebox,Pulse 10.10.13Meteor0.6.6:contentsecuritypolicy,upsertand$near,Node0.10 09.10.13MeteorDevshop8techtalks:InterviewandVerso 01.10.13GeoffSchmidtatDevshop8:GettingMeteorto1.0 19.09.13MeteorDevshop7lightningtalks:Bitcoins,BalancedPayments,databasehacks,andmore 16.09.13MeteorDevshop7techtalks:Funwithlivedata,Chromeextensions 13.09.13PreviewingMeteor'snewrenderingengine:reactivesortablelists 06.09.13Browserevents:bubbling,capturing,anddelegation 14.08.13Meteor0.6.5:namespacing,modularity,newbuildsystem,sourcemaps! 13.08.13AninterestingkindofJavaScriptmemoryleak 02.08.13MeteorDevshop6:DevshopLive,Security,&MeteorUI 22.07.13MeteorDevshop5:AdrianLanning,CaseyCobb,andChrisMather 09.07.13CongratulationstotheMeteorSummerHackathon2013teams 24.06.13MeteorDevshop4:testingandperformanceinadvancedapps 10.06.13Meteor0.6.4:newOAuthpackagesandrecommendedupdates 28.05.13piJSembeddedRaspberryPiapps,inJavaScript 22.05.13Win.meteor.comisback! 15.05.13Meteor0.6.3:WebSockets,MongoDB2.4,Coffee1.6.2,synthetictapevents 14.05.13DiscoverMeteor:highlightsfromthebooklaunch 07.05.13ApplyfortheMeteorSummerHackathon 06.05.13MeteorDevshop3:3collaborativeIDE's,2hackathonwinners,&apreviewofMeteorUI 25.04.13ThisweekinMeteor 16.04.13Meteor0.6.2:D3.jsv3,debuggingimprovements,experimentalservertoserverDDP 10.04.13MeteorDevshop2:Meteor101,HowSparkWorks,&otherwisdom 04.04.13Meteor0.6.0:brandnewdistributionsystem,apppackages,NPMintegration 13.03.13Meteor0.5.8:securityfix,AppCache,DBtransforms,newDeps 08.03.13MeteorDevshop1:TheShapeofThingstoCome

21.02.13Meteor0.5.7:majorscalingupdate,newDDPversion,EJSON 13.02.13Meteor0.5.5:Devshopcodeandcommunitycontributions 06.02.13MeteorDevshop0:shareknowledge,notgerms 07.01.13Meteor0.5.3:deploymentsettings,Minimongo,Spark,Accounts 21.12.12HighlightsfromtheMeteorStackOverflowathon 20.11.12Meteor0.5.1:databasescaling 19.11.12Latencycompensationimprovements,comingsooninMeteor0.5.1 17.10.12Meteor0.5.0:authentication,useraccounts,newscreencast 02.10.12Meteor0.4.2:iOS6compatibility! 24.09.12Meteor0.4.1:SendingemailandNode0.8 31.08.12IntroducingSpark:anewlivepageupdateengine 08.08.12Searchengineoptimization 25.07.12Meteor'snew$11.2milliondevelopmentbudget 13.07.12SSLsupport,Handlebarsextensions 08.06.12Buildingoutlivepageupdates 17.05.12Eventmaps,progressonWindows 27.04.12Newsmartpackagesandversionupdates 20.04.12MITlicense,HTTPrequestpackage,MadeWithMeteor 05.04.12SmartHTMLpatching 21.03.12IntroducingDDP 06.03.12FullLinuxsupport 09.02.12Hotcodepushes 30.01.12NewdatabaseAPI,templatingsystem,packagesystem,unittests 20.01.12SkybreakisnowMeteor 18.01.12IntroducingLiveRange 15.01.12Connectionmanagement,dependencytracking,appdeletion 09.12.11Productiondatabaseaccess,passwordprotection 01.12.11Firstpreview

Meteor Mission People Blog Contact

Developing LearnMeteor APIReference Concepts Packages

Examples Leaderboard Parties Todos Wordplay

Community GetInvolved GitHub StackOverflow IRC


Follow

You might also like