Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Leaflet v1.8.0 #7810

Closed
mourner opened this issue Nov 25, 2021 · 34 comments
Closed

Release Leaflet v1.8.0 #7810

mourner opened this issue Nov 25, 2021 · 34 comments
Labels
workflow Anything related to Leaflet development process and tools
Milestone

Comments

@mourner
Copy link
Member

mourner commented Nov 25, 2021

We long overdue for a v1.8.0 release, and I've cleaned up the process so that it's much easier now. The remaining question is — which of the outstanding PRs we should definitely land for the release? @johnd0e @Falke-Design — I created a v1.8 milestone, feel free to add must-have PRs to that it would be easier for me to review.

@mourner mourner added the workflow Anything related to Leaflet development process and tools label Nov 25, 2021
@Falke-Design

This comment has been minimized.

@johnd0e
Copy link
Collaborator

johnd0e commented Nov 26, 2021

which of the outstanding PRs we should definitely land

Added also a couple of important but unresolved issues,

@mourner
Copy link
Member Author

mourner commented Dec 17, 2021

Can we cleanup everything non-essential from the milestone? It feels like it grew too much and we'll be stuck without a release for a few more months if we keep adding stuff to it... We could always do v1.8.1 shortly after. Let's make the criteria "if landing v1.8.0 without this PR will make things worse vs v1.7.1".

@Falke-Design
Copy link
Member

Is ok for me but can you please create a milestone where we can move the issues / pRs for 1.8.1? To keep them on track, what we should check after 1.8.0

@mourner
Copy link
Member Author

mourner commented Dec 17, 2021

@Falke-Design good point, created a 1.8.1 milestone.

@Falke-Design
Copy link
Member

@mourner can we keep merging the 1.8.0 milestone?
Ready to check would be: #7782, #7855

@johnd0e can you please go through the milestone and mark the PRs as "Ready for review" (not draft) and remove not necessary PRs.

@Falke-Design
Copy link
Member

Falke-Design commented Feb 5, 2022

@mourner it would be nice if we can release 1.8 with march, what do you think? I remove as much as possible from the 1.8.0 milstone.

Fast and easy to check:

Needs a decission:

Needs more time:

@IvanSanchez, @jonkoops, @johnd0e, @Malvoz help and approving PRs would be nice. Are you interesseted to make an appointment / meeting to get rid of it?

@Malvoz
Copy link
Member

Malvoz commented Feb 5, 2022

help and approving PRs would be nice

I'm mostly comfortable reviewing a11y-related PRs.

@mourner
Copy link
Member Author

mourner commented Feb 6, 2022

it would be nice if we can release 1.8 with march, what do you think?

Yes! Maybe we could even release in the nearest weeks. Unless my home is invaded by Russia, but I truly hope not.

@mourner
Copy link
Member Author

mourner commented Feb 7, 2022

Moved to v1.8.1, this doesn't seem critical to fix — there are easy workarounds.

Resolved the conflicts there, @Falke-Design can you take another look at it to see if we can merge?

@Falke-Design

This comment was marked as resolved.

@nofx77
Copy link

nofx77 commented Feb 7, 2022

Any idea of release date for 1.8? Thank you!

@Falke-Design
Copy link
Member

Only performance tests are open

Dragging, Moving map:

Moving & zooming map (pinch zoom):

@mourner @IvanSanchez any experience / suggestions how to make performance tests?

@mourner
Copy link
Member Author

mourner commented Feb 9, 2022

any experience / suggestions how to make performance tests?

There are no easy ways to benchmark those, we'll have to profile and analyze manually.

@Falke-Design
Copy link
Member

@mourner the last three open PRs are ready for review and merge.

@Falke-Design
Copy link
Member

@mourner the Release 1.8 is near. Do we need to prepare something like blog entry or the changelog?

@mourner
Copy link
Member Author

mourner commented Feb 22, 2022

@Falke-Design we definitely need to prepare a changelog, and it might be a pretty massive undertaking — going through all PRs that landed in 1.5 years, sorting, categorizing and rewording them to reflect impact for users.

@mourner
Copy link
Member Author

mourner commented Mar 8, 2022

@jonkoops @Falke-Design the automated NPM publish works! 🎉 Just published v1.8.0-alpha.0 by creating a version commit + tag with npm version preminor --preid=alpha and then pushing, that's it. npm info leaflet shows properly tagged releases (alpha: 1.8.0-alpha.0, latest: 1.7.1), and the alpha is available through unpkg.

The next step is to finish #8021, update CHANGELOG.md, tag the beta release, potentially add a link to the beta on the website, and make a call for public testing on Twitter.

@Falke-Design
Copy link
Member

@mourner your are currently very active in the project so maybe you a time to go over the following things too:

@Malvoz

This comment was marked as outdated.

@mourner
Copy link
Member Author

mourner commented Mar 9, 2022

The beta version is released: https://github.com/Leaflet/Leaflet/releases/tag/v1.8.0-beta.0
We need to follow with cosmetic updates such as updating the website download page with a new row for the beta, and announce the release on Twitter. Then we'll watch for regression reports, and if there aren't any, release the final.

@Falke-Design
Copy link
Member

@mourner I think we shoud add a thank you for @johnd0e to the Release notes. He refactored the touch events and DivOverlay without much help. Maybe I'm wrong but in my eyes kept @johnd0e Leaflet alive until we get a fresh wind in November.

@mourner
Copy link
Member Author

mourner commented Mar 9, 2022

@Falke-Design good point, added.

@mourner
Copy link
Member Author

mourner commented Mar 9, 2022

Added a few more names, so many of you deserve praise on this!

@Eschon
Copy link
Contributor

Eschon commented Mar 9, 2022

Thanks for all your work!
Would it be possible to release the beta to npm to make it easier for people to test it?

@mourner
Copy link
Member Author

mourner commented Mar 9, 2022

Would it be possible to release the beta to npm to make it easier for people to test it?

@Eschon it is on NPM. npm install leaflet@beta.

@patrickarlt
Copy link
Member

I'll work on testing the Esri Leaflet plugin this week. It might take a bit of time but I'll try to write up any issues I find by Friday.

In case it is helpful to anyone else testing you can also get the beta on a CDN via unpkg:

<link rel="stylesheet" href="https://unpkg.com/leaflet@beta/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@beta/dist/leaflet.js"></script>

@patrickarlt
Copy link
Member

It looks like 1.8.0 does cause an issue with Leaflet.Editable. I've got a basic recreation in this CodePen. Editing still seems to work but after clicking to complete a new shape the map you get this error:

Uncaught TypeError: can't access property "x", t is undefined
    _subtract Point.js:67
    subtract Point.js:63
    _panOnFocus Marker.js:397
    o DomEvent.js:108
    ki DomEvent.js:135
    S DomEvent.js:34
    _initIcon Marker.js:249
    onAdd Marker.js:120
    onAdd Leaflet.Editable.js:483
    _layerAdd Layer.js:114
    whenReady Map.js:1475
    addLayer Layer.js:172
    addLayer LayerGroup.js:47
    initialize Leaflet.Editable.js:478
    i Class.js:24
    addVertexMarker Leaflet.Editable.js:1051
    addLatLng Leaflet.Editable.js:1260
    newPointForward Leaflet.Editable.js:1266
    newPointForward Leaflet.Editable.js:1519
    processDrawingClick Leaflet.Editable.js:1305
    onDrawingClick Leaflet.Editable.js:932
    onMouseup Leaflet.Editable.js:268
    fire Events.js:203
    _fireDOMEvent Map.js:1450
    _handleDOMEvent Map.js:1399
    o DomEvent.js:108
    ki DomEvent.js:135
    S DomEvent.js:34
    _initEvents Map.js:1319
    initialize Map.js:142
    i Class.js:24
    map Map.js:1751
    <anonymous> index.html:63
Point.js:67:2

This error does not throw in this recreation in 1.7.1

It looks like Leaflet.Editable is no longer maintained but I thought I should mention it here in case anyone wanted to track it down and resolve it since people are probably still using Leaflet.Editable in the wild.

I'm going to switch our demos on Esri Leaflet to Leaflet Geoman to avoid this for now since it looks like @Falke-Design did a really nice job on it.

@Malvoz
Copy link
Member

Malvoz commented Mar 23, 2022

@patrickarlt There's a discussion for the v1.8.0-beta.0 here: #8044. I think it'd be best to report any issues there - one comment for each issue, to which others can reply - discussions are much more easy to follow along that way. 👍🏼

@Falke-Design
Copy link
Member

@mourner I think we should release 1.8 with the end of this week. What do you think?
There is no fast solution for #3575, which is in the 1.8 milestone

@mourner
Copy link
Member Author

mourner commented Apr 18, 2022

Releasing now. Checklist:

Releasing a new version of Leaflet

  • Ensure all blocker Critical issue or PR that must be resolved before the next release issues and pull requests are resolved.
  • Update the changelog since last release and commit.
  • Run npm version <patch | minor | major> (this will bump the version in package.json and create a new tag).
  • Run git push --follow-tags to push the commit created by NPM to Github (together with the tag).
  • Wait for the CI to complete and follow the logs to make sure it runs successfully.
  • Verify that the release was correctly published to NPM by checking:
  • Make a new release on Leaflet's GitHub release page with the most important parts of the changelog

Updating docs after the release

  • Make a new branch for the update
  • Write a blog post about the new release and put it in /docs/_posts
  • If necessary to preserve previous version's docs, rename dist/reference.html to dist/reference-X.Y.Z.html and add it to the list in docs/reference-versions.html
  • Run npm run docs to generate the new docs/reference.html
  • Run npm run integrity and make sure docs/_config.yml is updated with new hashes
  • Update link to latest release in docs/download.md
  • Update the announcement section in docs/index.html
  • Commit all the changes and submit a PR for someone to review

@Malvoz
Copy link
Member

Malvoz commented Apr 18, 2022

@mourner We should make the flag in the attribution resizable with font-size. I'm about to send a PR, if it's worth waiting for it.

@mourner
Copy link
Member Author

mourner commented Apr 18, 2022

@Malvoz oops, too late :( Let's move to v1.8.1

@Malvoz
Copy link
Member

Malvoz commented Apr 18, 2022

That's alright, I'll open an issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
workflow Anything related to Leaflet development process and tools
Projects
None yet
Development

No branches or pull requests

7 participants