Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    [CLOSED] v39.0.0

    Public beta
    7
    26
    15.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vicbV
      vicb Paraglider @marekd | Premium
      last edited by

      @marekd just back from a flying trip and swamped with works. I probably won't have time to take a look before a few days. When is the deadline.

      And no worry on my side for windy breaking the plugin. Windy is becoming better and it's great - and planned/announced are great.

      Thanks

      SutyS 1 Reply Last reply Reply Quote 2
      • SutyS
        Suty Administrator @vicb
        last edited by

        Hi @vicb, I think that this Beta will be available at least until the end of the next week.

        1 Reply Last reply Reply Quote 1
        • vicbV
          vicb Paraglider @marekd | Premium
          last edited by

          @marekd
          Would be nice if you can update https://github.com/windycom/windy-plugins when there are breaking changes.

          First it would help us know what the breaking changes are and also how to support both pre and post breaking changes which is probably the trickiest thing.

          vicbV 1 Reply Last reply Reply Quote 0
          • vicbV
            vicb Paraglider @vicb | Premium
            last edited by vicb

            you use only import { anything } from '@windy/someModule for the future compatibility

            Do you have typings?

            vicbV 1 Reply Last reply Reply Quote 0
            • vicbV
              vicb Paraglider @vicb | Premium
              last edited by

              I have done a lot of reverse engineering in the past to get my plugin to work.

              I really think one important thing for windy is to publish a clearer API. There is honestly nothing actionable from the breaking changes description above. Part of if might be that I never opt-in the hacky plugin built system.

              But yeah the bare minimum would be to have examples of plugins working with 39+.

              https://community.windy.com/topic/22448/opening-a-plugin-at-a-given-location-does-not-work-any-more/13 has been broken/undocumented for a while. Would be nice to get some update.

              marekdM 2 Replies Last reply Reply Quote 1
              • marekdM
                marekd Administrator @vicb
                last edited by

                @vicb I definitely agree, and we apologize for being so slack. But to be perfectly honest. When we launched plugins, we had an idea of how developers would use it extensively and write plugins for the masses. And in doing so, they would show us what they were missing on Windy. Along with that, we then planned to improve the plugin system, simplify it and make it more acceptable overall for both developers and users. Unfortunately, there are about 5 of you plugin developers and the users of these plugins is quite negligible in proportion with the total traffic. No doubt this is also due to our laxity. So just to explain why this is not a priority for us - for which we apologize again.

                We know that we have major shortcomings with the documentation and maintenance of the entire plugin system, but the effort we would have to devote to this is disproportionately large to what it will bring us. And we have a lot of work to do :-) I do not want to say we do not care about plugins and you developers, just that we have to trade time where it does and doesn't make sense to invest it.

                We really appreciate everything you do for Windy and we care! This was also the reason why we started working with @rittels, who took care of the whole plugin system and documentation. But as it happens, Chris has his own professional and family life and there is not much time for Windy :-)

                But back to the issue, we have whole client i TypeScript and I do not think it would be a problem to post typings if it would help. And updating the documentation on github is definitely a good idea, we will check it out.

                rittelsR 1 Reply Last reply Reply Quote 1
                • marekdM
                  marekd Administrator @vicb
                  last edited by

                  @vicb Or another possibility is that you could join @rittels and help us :-) Just let me know if you are interested.

                  vicbV 1 Reply Last reply Reply Quote 1
                  • vicbV
                    vicb Paraglider @marekd | Premium
                    last edited by

                    @marekd yes I would be interested. I don't have a lot of spare time either but definitely can find some for Windy. Thanks for giving me the opportunity to fix my complaints :)

                    1 Reply Last reply Reply Quote 0
                    • joseph murphyJ
                      joseph murphy | Premium
                      last edited by

                      Dear App management

                      Great app.
                      Will purchase year subscription.

                      Question - any consideration to including a property line database so one can determine if your on your property or your neighbor's/ public land?

                      Thank you, joseph

                      idefix37I 1 Reply Last reply Reply Quote 0
                      • idefix37I
                        idefix37 Sailor Moderator @joseph murphy
                        last edited by idefix37

                        @joseph-murphy
                        Seems possible with
                        https://community.windy.com/topic/8514/your-map-uploads?_=1684654129113
                        See many examples in this thread

                        1 Reply Last reply Reply Quote 0
                        • rittelsR
                          rittels Code contributor @marekd | Premium
                          last edited by

                          @marekd @vicb

                          I have also been busy the past week, and flying over the weekend.

                          I have been working on updating the windy-plugins repo in gh, but at the moment it is not working.

                          https://github.com/rittels/windy-plugins

                          There is still a bug with loading external plugins in the client.

                          marekdM 1 Reply Last reply Reply Quote 0
                          • marekdM
                            marekd Administrator @rittels
                            last edited by

                            @rittels @vicb I have updated examples in plugins repo meanwhile :-) It is v39 branch: https://github.com/windycom/windy-plugins/tree/v39

                            Also, build system has been changed. Now rollup is used and can be simply modified to developer needs. The crazy obsolete riot architecture with JS inside HTML has been removed as well. Hope it helps.

                            vicbV 1 Reply Last reply Reply Quote 2
                            • vicbV
                              vicb Paraglider @marekd | Premium
                              last edited by

                              @marekd Thanks that will help.

                              Also my plugin has been using rollup from day 1. I never bought into the former build system.

                              Let'c chat about how I can help windy when you have time.

                              1 Reply Last reply Reply Quote 0
                              • idefix37I idefix37 referenced this topic on
                              • rittelsR
                                rittels Code contributor | Premium
                                last edited by

                                @vicb @marekd

                                New compiler works well. Thanks Marek.

                                Small issue on windows system: https://github.com/windycom/windy-plugins/issues/30

                                The autoloading and querystring passing within the client not working yet. I am working on it.

                                1 Reply Last reply Reply Quote 1
                                • idefix37I idefix37 referenced this topic on
                                • vicbV
                                  vicb Paraglider @marekd | Premium
                                  last edited by

                                  @marekd said in v39.0.0:

                                  We removed W.define and W.require. It will work (for backward compatibility for our own plugins), but be sure you use only import { anything } from '@windy/someModule for the future compatibility

                                  Ahah you got me here!

                                  I naively thought that I should have import { anything } from '@windy/someModule; in my code.

                                  But no the code is still transformed at build time.

                                  I guess I will need some more time port my plugin.

                                  When is v39 supposed to be released?

                                  marekdM 1 Reply Last reply Reply Quote 0
                                  • marekdM
                                    marekd Administrator @vicb
                                    last edited by

                                    @vicb We found some issues, so I think we will bugfix them this week. So we would like to release the new version next week. Feel free to ask for help if there is anything I can help with.

                                    vicbV 1 Reply Last reply Reply Quote 0
                                    • vicbV
                                      vicb Paraglider @marekd | Premium
                                      last edited by

                                      @marekd Are you thinking of releasing the compiler (rollup plugins) as an npm package ? It would be easier for me to first add it to the project and then get updates.

                                      vicbV 1 Reply Last reply Reply Quote 0
                                      • vicbV
                                        vicb Paraglider @vicb | Premium
                                        last edited by

                                        @vicb

                                        Getting there

                                        fdbe3ee7-fdb8-4302-bce1-5ad64dbf5c71-image.png

                                        I have some feedback about the new compiler:

                                        Why do you have rollup add the call to W.loadPlugin(...) instead of having the plugin dev call it?

                                        Kind of the same questions for both the html and the css. They shouldn't need any special treatment now that you are using rollup. You should be able to remove both buildPluginHtml and buildPluginCss.

                                        Also why would the build system define the meta object?

                                        You can have a look at what I did on the published version of my plugin to use rollup (+existing plugins) without having to build a custom solution.

                                        The only thing that seems useful to me in the new compiler is the rewrite of the imports. But I am not sure I like it either. I preferred to use W.require(...) before than using import ... today which is not a real import.

                                        I'll work on testing/polishing my plugin for v39 now and I hope I can be ready in time.

                                        marekdM 1 Reply Last reply Reply Quote 1
                                        • marekdM
                                          marekd Administrator @vicb
                                          last edited by

                                          @vicb Thanks for the feedback! The only reason was to keep it as compatible as possible with the old version, that is all. We are making things too complicated for the developers already, so we have tried to make it so they do not have to deal with too much around the build.

                                          Feel free to make this package and take care of it, I would be more than happy if someone takes over and I do not have to worry about it.

                                          We will remove W global object and W.require as well in a favor of ESM. So do not use it. That is why the new compiler was created, so that we could prepare it for people beforehand and the codes would work properly with minimal changes.

                                          vicbV 1 Reply Last reply Reply Quote 1
                                          • marekdM
                                            marekd Administrator
                                            last edited by

                                            BTW, I have merged v39 into master: https://github.com/windycom/windy-plugins

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
                                            NodeBB & contributors, OSM & contributors, HERE maps
                                            Terms of Use     Privacy Policy