Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Release notes don't seem to update properly #3757

Closed
atom-archive/release-notes
#18

Description

@frankhale

I use Atom on two different machines and I'm seeing anomalies when looking at the release notes. On one of my machines the release notes are always blank with only a button showing to view previous release notes. On the other machine the release notes are old. Here is a current screenshot but keep in mind this isn't the only time the release notes have been outdated compared to the release I was using.

Currently using Atom 0.136 on Windows 8.1 (on two different systems).

atom-release-notes-problem

Activity

  1. added
    windows
    on Oct 10, 2014
  2. frankhale commented on Oct 11, 2014

    @frankhale
    Author

    Here is a screenshot of my other machine running Atom 0.136 on Windows 8.1 x64

    empty-release-notes

  3. frankhale commented on Oct 15, 2014

    @frankhale
    Author

    FYI, I'm still seeing old release notes in 0.137 on Windows 8.1 x64.

    atom-0 137-release-notes-window-shows-old-release-notes

  4. frankhale commented on Oct 15, 2014

    @frankhale
    Author

    I thought maybe removing my Atom config folder and starting over fresh would resolve this but that didn't help. I thought maybe some files were out of sync on my end.

  5. frankhale commented on Oct 15, 2014

    @frankhale
    Author

    Okay if I remove the following folder and let it recreate when I open Atom then the release notes disappear and the release notes page is empty except for a button to view past release notes on the web.

    So apparently the release note information is stored in that folder and it's just not updating properly when I install a new Atom release.

    C:\Users\<username>\AppData\Roaming\Atom
    
  6. frankhale commented on Oct 17, 2014

    @frankhale
    Author

    Same issue in 0.138. The release notes stopped updating after 0.135 (at least for me). Here is a note about how I upgrade. I just download the zip from Github and delete my old version and replace it with the new version.

    138-release-notes-not-updating

  7. frankhale commented on Oct 17, 2014

    @frankhale
    Author

    I'm going to dig into the code and see if I can figure out where/why this is happening

  8. kevinsawicki commented on Oct 17, 2014

    @kevinsawicki
    Contributor

    @frankhale That would be awesome, thanks!

  9. winstliu commented on Oct 17, 2014

    @winstliu
    Contributor

    I had this problem a while back where the release notes got stuck on 0.123.0. It eventually got fixed, but I don't remember when (might have been when I deleted .atom).

    Windows 7 x64.

  10. frankhale commented on Oct 17, 2014

    @frankhale
    Author

    I deleted .atom and that didn't have any affect for me. The version/release
    notes are being stored in local storage which is in the AppData folder
    under the users directory:

    C:\Users\AppData\Roaming\Atom

    In my case I always update manually via the zip files. The release-notes
    module is writing the version to the local storage under the name
    previousVersion which is being set to the current version (for me now which
    is 0.138). The 'window:update-available' event is never being called
    because I always have the latest version and the release notes are never
    written to local storage.

    My only issue with fixing this is that I am not fully understanding how to
    make code changes and have them reflect in Atom. I'm currently trying to
    learn this by reading the following documentation:

    https://atom.io/docs/v0.138.0/advanced/node-modules

    So far it hasn't worked out for me. I hope to get over this mountain this
    evening and fix this code. I'll report back if I make progress.

    On Fri, Oct 17, 2014 at 5:42 PM, Wliu [email protected] wrote:

    I had this problem a while back where the release notes got stuck on
    0.123.0. It eventually got fixed, but I don't remember when (might have
    been when I deleted .atom).

    Windows 7 x64.

    —
    Reply to this email directly or view it on GitHub
    #3757 (comment).

  11. frankhale commented on Oct 17, 2014

    @frankhale
    Author

    Its more than I mentioned, it doesn't look like the auto updater is ever
    called which is the module that would get the release notes and call the
    event I mentioned. I need to confirm this for sure. The release notes only
    get written when Atom thinks there is a new version. It probably needs to
    also check that the current local release notes are up to date and do the
    right thing accordingly.
    On Oct 17, 2014 6:23 PM, "Frank Hale" [email protected] wrote:

    I deleted .atom and that didn't have any affect for me. The
    version/release notes are being stored in local storage which is in the
    AppData folder under the users directory:

    C:\Users\<username>\AppData\Roaming\Atom
    

    In my case I always update manually via the zip files. The release-notes
    module is writing the version to the local storage under the name
    previousVersion which is being set to the current version (for me now which
    is 0.138). The 'window:update-available' event is never being called
    because I always have the latest version and the release notes are never
    written to local storage.

    My only issue with fixing this is that I am not fully understanding how to
    make code changes and have them reflect in Atom. I'm currently trying to
    learn this by reading the following documentation:

    https://atom.io/docs/v0.138.0/advanced/node-modules

    So far it hasn't worked out for me. I hope to get over this mountain this
    evening and fix this code. I'll report back if I make progress.

    On Fri, Oct 17, 2014 at 5:42 PM, Wliu [email protected] wrote:

    I had this problem a while back where the release notes got stuck on
    0.123.0. It eventually got fixed, but I don't remember when (might have
    been when I deleted .atom).

    Windows 7 x64.

    —
    Reply to this email directly or view it on GitHub
    #3757 (comment).

  12. frankhale commented on Oct 22, 2014

    @frankhale
    Author

    I guess my intention was that Atom would check to see if there was an update automatically. This didn't seem to happen as far as I can tell. While looking for something in the command palette I noticed Application: Install Update. After clicking this exited Atom, didn't actually do any updating at all but when I opened up Atom again the release notes and Atom itself finally knew there was an update available. The release notes have been updated to reflect the new 0.139 version.

  13. frankhale commented on Oct 31, 2014

    @frankhale
    Author

    As long as you allow Atom to do it's thing and figure out there is a new release then the release notes get updated. If you upgrade without allowing Atom to figure out there is an upgrade then your release notes never get updated and will always be either empty or old. I was doing this unintentionally by seeing the emails saying there was a new release and promptly manually downloading it and overwriting my old version. It would be nice if the release notes checked to see if what is stored locally is outdated and update accordingly.

    I looked at the code but I could not determine how Atom was checking to see if a new version existed. I found the code in question but when attempting to debug the code was never being called. I gave up on it. What's more is that I have not yet become comfortable with modifying Atom's core code (actually don't know how to modify it such that it's done in the correct way as you guys are doing it). Is there a document / blog on that somewhere. I basically gave up on the build process for Windows because it is very slow and it performs an install during build which I thought was a bit odd. I'd much rather run it from the build directory. If that is the way to do it then okay but is there a way to stop the build from installing?

  14. evieluvsrainbows commented on Oct 31, 2014

    @evieluvsrainbows

    The Windows release of Atom doesn't even have an auto-updater yet, so that's probably why the release notes aren't updating.

  15. 44 remaining items

  16. Stanzilla commented on Apr 21, 2015

    @Stanzilla

    So I was impatient and downloaded the Atom installer instead of waiting for the 193 update today and since then Atom thinks it has to update and restart all the time.
    2015-04-22_00-45-44

    Did it 3 times already, still happening. Looks like running the installer does not upgrade the local storage version field, I just looked and it was still set to 192, which explains the behaviour?

  17. Stanzilla commented on Apr 22, 2015

    @Stanzilla

    A combination of manually changing the version field in local storage and the update actually being available on the update servers seems to have fixed it. Still a problem someone should look into..

    a) the installer not changing the version field
    b) the updater freaking out when Atom is on a version that is newer than the one available on the update servers

  18. Stanzilla commented on Apr 22, 2015

    @Stanzilla

    @kevinsawicki @50Wliu want me to create a new issue for this or?

  19. kevinsawicki commented on Apr 22, 2015

    @kevinsawicki
    Contributor

    want me to create a new issue for this or?

    Sure, sounds good.

  20. Stanzilla commented on Apr 22, 2015

    @Stanzilla
  21. mika76 commented on Nov 17, 2015

    @mika76

    This is happening for me now between versions 1.1.0 and 1.2.0 (OSX el capitan)

  22. frankhale commented on Nov 18, 2015

    @frankhale
    Author

    Looks like a regression has popped up with release notes not updating automatically again.

    atom-release-notes-not-updating

  23. Stanzilla commented on Nov 18, 2015

    @Stanzilla

    Can confirm

  24. multi commented on Nov 18, 2015

    @multi

    same here, 1.2.1 El Capitan

  25. nickfmc commented on Nov 18, 2015

    @nickfmc

    Win 10 confirmed issue is back also.

  26. Kosyne commented on Nov 19, 2015

    @Kosyne

    Yep, this problem has returned :(

  27. shylor commented on Nov 19, 2015

    @shylor

    I also have this issue.

  28. steveoh commented on Nov 19, 2015

    @steveoh

    can someone lock this issue please.

  29. benogle commented on Nov 19, 2015

    @benogle
    Contributor

    We're really sorry about this issue. The plan is to remove the release notes package and have all the update logic in the about page similar to chrome. See #9164 for more details.

  30. locked and limited conversation to collaborators on Nov 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

atombugwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions