Where can I find Meteor 1.2 documentation [duplicate] - meteor

This question already has answers here:
Archived Meteor Documentation
(4 answers)
Closed 6 years ago.
The announcement of Meteor 1.3 sounds great, but we're in the middle of a development push and need to make the move to 1.3 on our schedule, not Meteor's. So I want to reference the Meteor 1.2 documentation to match the Meteor infrastructure that we are currently using.
Meteor.com is now showing the 1.3 documentation, so my question is: where can I find the older documentation. Moving our infrastructure is already destabling. Having to work with new documentation and an old runtime is even worse.

I had the same question, and got this answer in the meteor forum (https://forums.meteor.com/t/where-is-meteor-1-2-documentation/20698):
Just to add - if you're referring to the 1.2 docs that were hosted at http://docs.meteor.com, for now you have to grab them from a meteor source checkout.
git clone https://github.com/meteor/meteor.git
cd meteor; git checkout release/METEOR#1.2.1
cd docs
meteor
Access 1.2.1 docs at the usual http://localhost:3000

Related

Where is the source code for Airflow backport providers?

I'm looking to edit some code for https://pypi.org/project/apache-airflow-backport-providers-google/2021.3.3/ as I need to use Google Ads Python SDK >= 15 and theres a requirement on the backport provider of google-ads<8.0 during my migration from 1.10.15 to 2.0.
The source code linked goes directly to the apache/airflow/providers which seems to be the same for https://pypi.org/project/apache-airflow-providers-google/.
So I'm a bit confused as to what code each package is installing or if it's now the same.
You can find specific tag in the source code :
Specifically for the release you are asking:
https://github.com/apache/airflow/tree/backport-providers-2021.3.3
I assume your question is about are referring to PR Upgrade to support Google Ads v10 This PR will be released with apache-airflow-providers-google in version 7.0.0
It will not be released for backport providers.
Note that backport providers are for Airflow 1.10 series. Since Airflow 1.10 reached end of life there are no more new releases for it - thus there are also no more backport provider releases.

Downgrade Meteor version [duplicate]

This question already has answers here:
how do I install a previous version of meteor JS?
(5 answers)
Closed 4 years ago.
I recently updated my Meteor version from 1.6 to 1.7, which seems to have unexpected bugs. In an attempt to fix them I reinstalled Meteor, which probably deleted old installations, which means I can't go back to 1.6. If I change the version in the .meteor/release file from 1.7 to 1.6.1.2, it says that I need to update the release to 1.7, which means I can't use the old version anymore. Is there any way I can install 1.6 version?
I'm using Windows 10 PC.
Are you tracking your project in version control?
The usual advice here is that you should make sure your app is committed to some VCS before starting the update so you can roll back. This works because Meteor uses the versions in .meteor/release and .meteor/versions to keep track of what to use to run your app.
Rolling back
In the unlikely event that the update leaves your application in a bad state, and you don’t feel like debugging it right away, please make sure your application’s .meteor directory is committed to your version control system (e.g. Git, Mercurial, etc.) before the update, so that it’s easy to revert the changes if you encounter problems.
If you don't have any version control, then my recommendation would be to update .meteor/release as you have tried, and also delete .meteor/versions and allow Meteor to pick versions again that are compatible with 1.6.1.2
Alternatively you could try creating a new project with Meteor 1.6.1.2, add the same package dependencies and copy over the release and versions files for the same set of packages.
$ meteor create 1612 --release=1.6.1.2
$ meteor add <packages from your app>
After you've copied them over, meteor should use version 1.6.1.2 and compatible dependency versions

Using Meteor 1.4 Beta

I'm trying to use the meteor 1.4 beta and wanted advice on the best way to get set-up - I've never used a software beta before and am a bit unsure.
Do I just download the latest file from github? In this case https://github.com/meteor/meteor/releases/tag/release%2FMETEOR%401.4-beta.7
How do I configure the file on my system such that I can use the meteor command in my terminal as normal?
Are there any other things I need to set up or be aware of to use this version?
Create a new project using the recommended (current) Meteor version :
meteor create test
Then upgrade the newly created project to the latest beta available :
cd test
meteor update --release 1.4-beta.7
There you go, the test project is on the latest beta and outside of it you can still use your system-wide Meteor install.
Regarding 1.4 specifically :
The latest dev bundle comes with MongoDB 3.2, if you're upgrading an existing project it will warn you about the need to migrate your database, the easiest way to do so in dev is simply to run meteor reset.
Also, meteor node still points to v0.10.45 but your app will run with v4.4.7 (just console.log(process.version)).

How to use ECMA6 features in Meteor 1.2 in apps written in older Meteor versions

I just upgraded to Meteor 1.2 and everything works fine except that I am trying to use the new features in 1.2 especially the ECMA6 specs in a Meteor project written in Meteor 1.1 but I am getting error messages like Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode when I try to create a class or use other ES6 features.
I quickly tried to create a new app in Meteor 1.2 with ES6 features and that worked fine.
Do I need to change something in the old project to turn on ES6?
According to the official Meteor 1.2 announcement :
Want to use ES2015 in an existing app? Just add the new ecmascript package.
So a meteor add ecmascript should do the trick. api.use it for packages.
You can check this by running meteor list on new applications created with meteor create.
Since this is a direct extraction from the official website, I do not want any reputation out of it, hence the community wiki.

Archived Meteor Documentation

Does anyone know where to find MeteorJS documentation for past versions? There does not seem to be an option on the website to switch to an older version like there is on other documentation sites.
You can download the tag for the version you want and run the app in the /docs directory.
The docs directory is a meteor app. All you need to do is meteor inside of it.
E.g for version 0.7.2:
git clone git#github.com:meteor/meteor.git
cd meteor
git checkout release/0.7.2
cd docs
meteor
open localhost:3000
One way is to dig in through the GitHub repo history for MeteorJS https://github.com/meteor/meteor/commits/devel/docs
Sorry to revive this thread a year in. But for users of the current Meteor 1.3 release it might be reassuring to know that you can get at least access to the Meteor 1.2 guide directly on guide.meteor.com via the small drop-down menu on top. Just switch it from "1.3" to "1.2".
For getting the full API docs or even older versions of the guide the currently accepted answer still applies, of course.
You can read it in plain text (with no sourcecode examples) at:
src meteor docs 0.6.5
src meteor docs 0.7.2

Resources