Skip to content

Commit

Permalink
v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Apr 30, 2021
1 parent 4e6f12d commit 975a20e
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 17 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,30 @@ _Breaking changes, which may affect downstream projects, are marked with a_ :war
[#xxx]: https://github.com/osmlab/osm-community-index/issues/xxx
-->

# 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])
* 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`
* `resolveStrings` function can be used resolve all the strings and also generate linkified strings<br/>This function is exported in ES6/CJS formats for downstream projects to use
* `completeFeatureCollection.json` now contains `resolved` Object with all the resolved strings
* Many updates to project documentation
* Added `npm run local` command to test the index locally ([#433])
* <https://openstreetmap.community> now has option to generate a permalink ([#393], [#440])

[#456]: https://github.com/osmlab/osm-community-index/issues/456
[#454]: https://github.com/osmlab/osm-community-index/issues/454
[#445]: https://github.com/osmlab/osm-community-index/issues/445
[#440]: https://github.com/osmlab/osm-community-index/issues/440
[#433]: https://github.com/osmlab/osm-community-index/issues/433
[#423]: https://github.com/osmlab/osm-community-index/issues/423
[#393]: https://github.com/osmlab/osm-community-index/issues/393
[#30]: https://github.com/osmlab/osm-community-index/issues/30


# 3.1.2
##### 2021-Mar-30
* Added:
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": "3.1.2",
"generated": "2021-04-30T17:43:23.876Z",
"version": "4.0.0",
"generated": "2021-04-30T19:23:31.015Z",
"url": "https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/completeFeatureCollection.json",
"hash": "b92502ef92a463d404d5932f6e9b7707"
"hash": "23f7fbca1389e6549b0baae9ca5e05af"
},
"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": "3.1.2",
"generated": "2021-04-29T19:12:39.165Z",
"version": "4.0.0",
"generated": "2021-04-30T19:23:30.810Z",
"url": "https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/defaults.json",
"hash": "0d722b48ffa8f2dc0b5266a82001fd93"
"hash": "1f188be9d228bfae71c36c3d7c2a72e7"
},
"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":"3.1.2","generated":"2021-04-29T19:12:39.165Z","url":"https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/defaults.json","hash":"0d722b48ffa8f2dc0b5266a82001fd93"},"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":"4.0.0","generated":"2021-04-30T19:23:30.810Z","url":"https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/defaults.json","hash":"1f188be9d228bfae71c36c3d7c2a72e7"},"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": "3.1.2",
"generated": "2021-04-30T17:43:18.478Z",
"version": "4.0.0",
"generated": "2021-04-30T19:23:30.808Z",
"url": "https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/featureCollection.json",
"hash": "7b4a65c7cda3bd84d3f87cdcafde9fa5"
"hash": "08b908c7e96129d4ed17703662b04f1d"
},
"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": "3.1.2",
"generated": "2021-04-30T17:43:19.391Z",
"version": "4.0.0",
"generated": "2021-04-30T19:23:30.767Z",
"url": "https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/resources.json",
"hash": "49dce66f8503bf90079197a57d9caf95"
"hash": "5141db2990c4fb8105b96a1eab0d025d"
},
"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": "3.1.2",
"version": "4.0.0",
"license": "ISC",
"description": "An index of community resources for OpenStreetMap",
"homepage": "https://openstreetmap.community",
Expand Down

0 comments on commit 975a20e

Please sign in to comment.