cheng-kang / wildfire

🔥From a little spark may burst a flame.
https://wildfire.js.org
GNU General Public License v3.0
178 stars 18 forks source link

📢`wildfire-dev` developer beta version #37

Open cheng-kang opened 6 years ago

cheng-kang commented 6 years ago

This issue is not following the template because it is an announcement. Normal issues should follow issue template.

It's been a while, but finally some major features are released in the wildfire developer beta version.

The latest version is: wildfire-dev@0.5.4.

Because we don't have a plan for public release yet, if you want the fixes of issues of previous versions or want to try the new features, please follow the instruction below to manually switch to wildfire-dev@0.5.4.

Usage

Note: the new version includes major data structure & database security rules change. To avoid damaging old data, please create a new database to run the new version. We may publish a script for migrating old data to new database in the future.

  1. Create a new Firebase / Wilddog project,copy & paste security rules。

  2. Activate email-password login method in authentication.

  3. Add following code to the right place of your website:

    <div class="wildfire_thread"></div>
    <script>
      var wildfireConfig = () => ({
        useDev: true, // Use this config to activate dev version
        version: '0.5.4', // Use this config to specify specific version
        databaseProvider: 'firebase',
        databaseConfig: {
            apiKey: "...",
            authDomain: "...",
            databaseURL: "...",
            projectId: "...",
            storageBucket: "...",
            messagingSenderId: "..."
        },
      })
    </script> 
    <script src="https://unpkg.com/wildfire-comment"></script>

    New version will be using wildfire-comment to load wildfire.

New Features

Fixes

Showcase

My personal blog is using wildfire-dev@0.5.4:https://chengkang.me/2017/12/19/introduction-to-wildfire/#License

ysicing commented 6 years ago

Each article loads all comments by default.Is a bug? For example: best-practice-for-firebase-realtime-datebase-development

cheng-kang commented 6 years ago

😅ah, good spot! This is definitely a bug. Will fix. @ysicing

cheng-kang commented 6 years ago

@ysicing issue is resolved by https://github.com/wildfirejs/wildfire-comment/commit/79ad781fd44941b5d87fce7f816532fc12938149 and https://github.com/cheng-kang/wildfire/commit/176f83ba88b61dea6ee0ba6d049087436f938eaf

New version numbers are wildfire-comment@1.2.5 and wildfire-dev@0.5.6.

Thanks again!