Skip to content

Commit

Permalink
v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Jun 18, 2021
1 parent fabdb53 commit f73ff5c
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 25 deletions.
32 changes: 24 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
**osm-community-index** is an open source project. You can submit bug reports, help out,
or learn more by visiting our project page on GitHub: :octocat: https://github.com/osmlab/osm-community-index

Please star our project on GitHub to show your support! :star:
Please star our project on GitHub to show your support! ⭐️

_Breaking changes, which may affect downstream projects, are marked with a_ :warning:
_Breaking changes, which may affect downstream projects, are marked with a_ ⚠️


<!--
Expand All @@ -19,6 +19,22 @@ _Breaking changes, which may affect downstream projects, are marked with a_ :war
[#xxx]: https://github.com/osmlab/osm-community-index/issues/xxx
-->

# 5.0.0
##### 2021-Jun-18
* Bump to location-conflation v1.0.1 / country-coder v5.0.1
* ⚠️ Replace rollup with [esbuild](https://esbuild.github.io/) for super fast build speed. Package exports are now:
* `"module": "./index.mjs"` - ESM, modern JavaScript, works with `import`
* `"main": "./dist/oci.cjs"` - CJS bundle, modern JavaScript, works with `require()`
* `"browser": "./dist/oci.iife.js"` - IIFE bundle, modern JavaScript, works in browser `<script>` tag
* No longer distributing ES5 builds
* ⚠️ osm-community-index is marked as `"type": "module"` now
* ⚠️ Dropped support for old browsers like Internet Explorer on https://openstreetmap.community
* Updated:
* Update OSM World Discord to the new vanity URL ([#464])

[#464]: https://github.com/osmlab/osm-community-index/issues/464


# 4.0.2
##### 2021-Jun-06
* Bump to location-conflation v0.9.0 / country-coder v4.1.0
Expand All @@ -40,7 +56,7 @@ Added:
# 4.0.0
##### 2021-Apr-30
* Added/updated hundreds of missing resources (mainly [#423], also [#445], [#454], [#456])
* :warning: Changed file format to support default strings and token replacements (see [#30])
* ⚠️ Changed file format to support default strings and token replacements (see [#30])
* Added `defaults.json` - now contains default translatable strings (e.g. `'description': 'The official mailing list for {community}'`)<br/>This makes much less work for our volunteer translators.
* Added `account` property as a companion to `type` (e.g. `'type': 'mailinglist', 'account': 'talk-ru'`)
* `strings` object now holds all the source strings, including `community`, `name`, `url`, `description`, `extendedDescription`
Expand Down Expand Up @@ -160,8 +176,8 @@ Added:
* Dependencies:
* Upgrade to location-conflation v0.6 / country-coder v4.0
* Breaking Changes:
* :warning: Removed unneeded `index.mjs` and `index.js` JavaScript bundles
* :warning: Renamed files for consistency and clarity:
* ⚠️ Removed unneeded `index.mjs` and `index.js` JavaScript bundles
* ⚠️ Renamed files for consistency and clarity:
* `dist/features.json` -> `dist/featureCollection.json`
* `dist/combined.geojson` -> `dist/completeFeatureCollection.json`

Expand Down Expand Up @@ -264,8 +280,8 @@ Added:
##### 2020-Jan-15

* Updated:
* :warning: Build environment now requires Node 10 or greater.
* :warning: New approach to specifying locations introduces some breaking changes but shrinks the data significantly. See [CONTRIBUTING.md](CONTRIBUTING.md) for details. ([#298], [#291])
* ⚠️ Build environment now requires Node 10 or greater.
* ⚠️ New approach to specifying locations introduces some breaking changes but shrinks the data significantly. See [CONTRIBUTING.md](CONTRIBUTING.md) for details. ([#298], [#291])
* Resource files now use a `locationSet` property to make it easier to specify where the resources are included and excluded.
* Removed: `countryCodes` properties
* Removed: `featureId` properties and most `.geojson` files (everything that was just a country or a circular point is now gone, as it can be calculated)
Expand Down Expand Up @@ -347,7 +363,7 @@ Added:

* New:
* Features now include an automatically calculated `area` property, making it easier for downstream projects to sort resources by area ([#286])
* :warning: This new property breaks backward compatibility of the `combined.geojson` files.
* ⚠️ This new property breaks backward compatibility of the `combined.geojson` files.
* Add an `osm-lc` type and `osm-lc.svg` icon for official OSM Local Chapters (see [#1])
* Resources now support an `order` property, to allow communities to control how their resources are sorted ([#114])
* Resource `contacts` property is now optional
Expand Down
6 changes: 3 additions & 3 deletions dist/completeFeatureCollection.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"_meta": {
"version": "4.0.2",
"generated": "2021-06-12T15:40:48.198Z",
"version": "5.0.0",
"generated": "2021-06-18T18:41:42.834Z",
"url": "https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/completeFeatureCollection.json",
"hash": "9a554cdb039c1b4bbd79bf22c07ca439"
"hash": "f447d5cb19dcee504317a69b10656689"
},
"type": "FeatureCollection",
"features": [
Expand Down
2 changes: 1 addition & 1 deletion dist/completeFeatureCollection.min.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/defaults.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"_meta": {
"version": "4.0.2",
"generated": "2021-06-06T09:45:08.113Z",
"version": "5.0.0",
"generated": "2021-06-18T18:41:42.303Z",
"url": "https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/defaults.json",
"hash": "468e8db29cc8384b849ef7afba02d925"
"hash": "62aa9adc0df59ca18d95d8ba1979dd16"
},
"defaults": {
"aparat": {
Expand Down
2 changes: 1 addition & 1 deletion dist/defaults.min.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"_meta":{"version":"4.0.2","generated":"2021-06-06T09:45:08.113Z","url":"https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/defaults.json","hash":"468e8db29cc8384b849ef7afba02d925"},"defaults":{"aparat":{"name":"{community} on Aparat","description":"Subscribe to our Aparat channel","url":"https://aparat.com/{account}"},"discord":{"name":"{community} Discord","description":"Get in touch with other mappers on Discord","url":"https://discord.gg/{account}"},"discourse":{"name":"{community} Discourse"},"facebook":{"name":"{community} on Facebook","description":"Join our community on Facebook","url":"https://facebook.com/{account}"},"forum":{"name":"{community} Forum","description":"The official forum for {community}","url":"https://forum.openstreetmap.org/viewforum.php?id={account}"},"github":{"name":"{community} GitHub","url":"https://github.com/{account}"},"gitlab":{"name":"{community} GitLab","url":"https://gitlab.com/{account}"},"group":{"name":"{community}"},"irc":{"name":"{community} on IRC","description":"Join #{account} on irc.oftc.net (port 6667)","url":"https://webchat.oftc.net/?channels={account}"},"mailinglist":{"name":"{account} Mailing List","description":"The official mailing list for {community}","url":"https://lists.openstreetmap.org/listinfo/{account}"},"matrix":{"name":"{community} Matrix Chat","description":"Join our community Matrix chat","url":"https://matrix.to/#/{account}:matrix.org"},"meetup":{"name":"{community} Meetup","url":"https://meetup.com/{account}"},"osm":{"name":"{community}"},"osm-lc":{"name":"{community}"},"reddit":{"name":"{community} on Reddit","url":"https://www.reddit.com/r/{account}"},"slack":{"name":"{community} Slack"},"telegram":{"name":"{community} Telegram","description":"Join our community Telegram chat","url":"https://t.me/{account}"},"twitter":{"name":"{community} on Twitter","description":"Follow us on Twitter","url":"https://twitter.com/{account}"},"wiki":{"name":"{community} WikiProject","url":"https://wiki.openstreetmap.org/wiki/{account}"},"xmpp":{"name":"{community} XMPP"},"youtube":{"name":"{community} on YouTube","description":"Subscribe to our YouTube channel","url":"https://www.youtube.com/channel/{account}"}}}
{"_meta":{"version":"5.0.0","generated":"2021-06-18T18:41:42.303Z","url":"https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/defaults.json","hash":"62aa9adc0df59ca18d95d8ba1979dd16"},"defaults":{"aparat":{"name":"{community} on Aparat","description":"Subscribe to our Aparat channel","url":"https://aparat.com/{account}"},"discord":{"name":"{community} Discord","description":"Get in touch with other mappers on Discord","url":"https://discord.gg/{account}"},"discourse":{"name":"{community} Discourse"},"facebook":{"name":"{community} on Facebook","description":"Join our community on Facebook","url":"https://facebook.com/{account}"},"forum":{"name":"{community} Forum","description":"The official forum for {community}","url":"https://forum.openstreetmap.org/viewforum.php?id={account}"},"github":{"name":"{community} GitHub","url":"https://github.com/{account}"},"gitlab":{"name":"{community} GitLab","url":"https://gitlab.com/{account}"},"group":{"name":"{community}"},"irc":{"name":"{community} on IRC","description":"Join #{account} on irc.oftc.net (port 6667)","url":"https://webchat.oftc.net/?channels={account}"},"mailinglist":{"name":"{account} Mailing List","description":"The official mailing list for {community}","url":"https://lists.openstreetmap.org/listinfo/{account}"},"matrix":{"name":"{community} Matrix Chat","description":"Join our community Matrix chat","url":"https://matrix.to/#/{account}:matrix.org"},"meetup":{"name":"{community} Meetup","url":"https://meetup.com/{account}"},"osm":{"name":"{community}"},"osm-lc":{"name":"{community}"},"reddit":{"name":"{community} on Reddit","url":"https://www.reddit.com/r/{account}"},"slack":{"name":"{community} Slack"},"telegram":{"name":"{community} Telegram","description":"Join our community Telegram chat","url":"https://t.me/{account}"},"twitter":{"name":"{community} on Twitter","description":"Follow us on Twitter","url":"https://twitter.com/{account}"},"wiki":{"name":"{community} WikiProject","url":"https://wiki.openstreetmap.org/wiki/{account}"},"xmpp":{"name":"{community} XMPP"},"youtube":{"name":"{community} on YouTube","description":"Subscribe to our YouTube channel","url":"https://www.youtube.com/channel/{account}"}}}
6 changes: 3 additions & 3 deletions dist/featureCollection.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"_meta": {
"version": "4.0.2",
"generated": "2021-06-06T09:45:08.111Z",
"version": "5.0.0",
"generated": "2021-06-18T18:41:42.055Z",
"url": "https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/featureCollection.json",
"hash": "016bc9dcdb18a187f5b8f88a740ba2d0"
"hash": "2a64ca52bd37d757c0e30bebd2fdfd91"
},
"type": "FeatureCollection",
"features": [
Expand Down
2 changes: 1 addition & 1 deletion dist/featureCollection.min.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/resources.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"_meta": {
"version": "4.0.2",
"generated": "2021-06-12T15:40:43.679Z",
"version": "5.0.0",
"generated": "2021-06-18T18:41:42.007Z",
"url": "https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/resources.json",
"hash": "c917df746288525e5f5bb7a14328896f"
"hash": "0960ccc9121332c44ac6d702694a3905"
},
"resources": {
"af-facebook": {"id": "af-facebook", "type": "facebook", "locationSet": {"include": ["af"]}, "languageCodes": ["en", "fa", "ps"], "order": 3, "strings": {"community": "OpenStreetMap Afghanistan", "url": "https://www.facebook.com/groups/321292812113316/"}, "contacts": [{"name": "Walker Kosmidou-Bradley", "email": "[email protected]"}]},
Expand Down
2 changes: 1 addition & 1 deletion dist/resources.min.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "osm-community-index",
"version": "4.0.2",
"version": "5.0.0",
"license": "ISC",
"description": "An index of community resources for OpenStreetMap",
"homepage": "https://openstreetmap.community",
Expand Down

0 comments on commit f73ff5c

Please sign in to comment.