Skip to content

Commit

Permalink
Pickup new release
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Jul 18, 2022
1 parent f3987eb commit 17c2662
Showing 1 changed file with 81 additions and 39 deletions.
120 changes: 81 additions & 39 deletions _data/releases.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,46 @@
[
{
"url": "https://api.github.com/repos/hotwired/stimulus/releases/72271234",
"assets_url": "https://api.github.com/repos/hotwired/stimulus/releases/72271234/assets",
"upload_url": "https://uploads.github.com/repos/hotwired/stimulus/releases/72271234/assets{?name,label}",
"html_url": "https://github.com/hotwired/stimulus/releases/tag/v3.1.0",
"id": 72271234,
"author": {
"login": "dhh",
"id": 2741,
"node_id": "MDQ6VXNlcjI3NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2741?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dhh",
"html_url": "https://github.com/dhh",
"followers_url": "https://api.github.com/users/dhh/followers",
"following_url": "https://api.github.com/users/dhh/following{/other_user}",
"gists_url": "https://api.github.com/users/dhh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dhh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dhh/subscriptions",
"organizations_url": "https://api.github.com/users/dhh/orgs",
"repos_url": "https://api.github.com/users/dhh/repos",
"events_url": "https://api.github.com/users/dhh/events{/privacy}",
"received_events_url": "https://api.github.com/users/dhh/received_events",
"type": "User",
"site_admin": false
},
"node_id": "RE_kwDOBJJD884ETsWC",
"tag_name": "v3.1.0",
"target_commitish": "main",
"name": "v3.1.0",
"draft": false,
"prerelease": false,
"created_at": "2022-07-18T21:33:15Z",
"published_at": "2022-07-18T21:37:41Z",
"assets": [

],
"tarball_url": "https://api.github.com/repos/hotwired/stimulus/tarball/v3.1.0",
"zipball_url": "https://api.github.com/repos/hotwired/stimulus/zipball/v3.1.0",
"body": "## What's Changed\r\n\r\n* Adds new Action Options, namely `:stop` and `:prevent` by @radiantshaw in https://github.com/hotwired/stimulus/pull/535\r\n* Adds new Action Option `:self` by @radiantshaw in https://github.com/hotwired/stimulus/pull/546\r\n* Allow action params for global events by @rik in https://github.com/hotwired/stimulus/pull/495\r\n* move shouldLoad check from register to load function by @adrienpoly in https://github.com/hotwired/stimulus/pull/493\r\n* Boolean decoding is not case-sensitive by @vastray in https://github.com/hotwired/stimulus/pull/472\r\n* Fire Value Change Callbacks consistently by @seanpdoyle in https://github.com/hotwired/stimulus/pull/499\r\n* Allow refining the type of Controller elements by @rik in https://github.com/hotwired/stimulus/pull/529\r\n* Fix `stimulus` glue package for cdn use by @marcoroth in https://github.com/hotwired/stimulus/pull/468\r\n\r\n**Full Changelog**: https://github.com/hotwired/stimulus/compare/v3.0.1...v3.1.0",
"mentions_count": 6
},
{
"url": "https://api.github.com/repos/hotwired/stimulus/releases/50941726",
"assets_url": "https://api.github.com/repos/hotwired/stimulus/releases/50941726/assets",
Expand Down Expand Up @@ -41,15 +83,15 @@
"body": "## What's Changed\r\n* Default to toggle event on details HTML element by @rik in https://github.com/hotwired/stimulus/pull/464\r\n* Prevent infinite looping in target callbacks by @seanpdoyle in https://github.com/hotwired/stimulus/pull/459\r\n* Include `webpack-helpers` in `stimulus` glue/proxy package by @marcoroth in https://github.com/hotwired/stimulus/pull/453\r\n\r\n**Full Changelog**: https://github.com/hotwired/stimulus/compare/v3.0.0...v3.0.1",
"reactions": {
"url": "https://api.github.com/repos/hotwired/stimulus/releases/50941726/reactions",
"total_count": 12,
"+1": 5,
"total_count": 81,
"+1": 34,
"-1": 0,
"laugh": 0,
"hooray": 2,
"hooray": 19,
"confused": 0,
"heart": 3,
"rocket": 2,
"eyes": 0
"heart": 13,
"rocket": 14,
"eyes": 1
},
"mentions_count": 3
},
Expand Down Expand Up @@ -95,11 +137,11 @@
"body": "[Release announcement](https://world.hey.com/hotwired/stimulus-3-c438d432) 🚀🎉",
"reactions": {
"url": "https://api.github.com/repos/hotwired/stimulus/releases/50188798/reactions",
"total_count": 100,
"+1": 29,
"total_count": 106,
"+1": 33,
"-1": 0,
"laugh": 3,
"hooray": 35,
"hooray": 37,
"confused": 0,
"heart": 19,
"rocket": 13,
Expand Down Expand Up @@ -148,8 +190,8 @@
"body": "* **ADDED:** Static shouldLoad function can be used to prevent a controller from registering based on environmental circumstances [#448]\r\n* **REMOVED:** Warnings were not working in a number of common instances, so will need to wait for 3.1.\r\n* **REMOVED:** Color highlighting for debug mode had problems with dark mode and accessibility.",
"reactions": {
"url": "https://api.github.com/repos/hotwired/stimulus/releases/50153840/reactions",
"total_count": 17,
"+1": 9,
"total_count": 18,
"+1": 10,
"-1": 0,
"laugh": 0,
"hooray": 4,
Expand Down Expand Up @@ -254,8 +296,8 @@
"body": "* **NEW:** Pass action method params [[#249](https://github.com/hotwired/stimulus/pull/249#issuecomment-734982671)]\r\n* **NEW:** Fire callbacks when targets are added or removed [#367]\r\n* **NEW:** Declare custom default values [[#350](https://github.com/hotwired/stimulus/pull/350#issuecomment-860169986)]\r\n* **NEW:** Add [key]Classes method to better handle multiple CSS classes [#344]\r\n* **NEW:** Introduce a Debug mode [#354]\r\n* **NEW:** Emit warnings for undefined controllers, actions and targets [#413]\r\n* **NEW:** Add a convenience method for dispatching DOM events inside a controller [#302]\r\n\r\nStimulus is moving package location on npm from `stimulus` to [`@hotwired/stimulus`](https://www.npmjs.com/package/@hotwired/stimulus/v/3.0.0-beta.1). The new package is an all-in-one, so no more individual packages for core, multi map, mutation-observers, etc.\r\n\r\nStimulus 3 will no longer support IE11. Our compile target is now ES6+.\r\n\r\nNote: This release was built from [the branch `single-package`](https://github.com/hotwired/stimulus/pull/421), which will be merged to main as soon as a few issues regarding tests and examples are resolved. But that has no impact on the use of this beta release.\r\n\r\nRails users: [You can use this release via stimulus-rails 0.3.10 with the new importmap-rails approach](https://github.com/hotwired/stimulus-rails/commit/dd20a9506f22e661f85e46246008c56d5e2eefc1).",
"reactions": {
"url": "https://api.github.com/repos/hotwired/stimulus/releases/48682278/reactions",
"total_count": 138,
"+1": 72,
"total_count": 140,
"+1": 74,
"-1": 0,
"laugh": 0,
"hooray": 36,
Expand Down Expand Up @@ -471,11 +513,11 @@
"body": "* Fix inconsistent `this.has*Target` property names in different locales (https://github.com/stimulusjs/stimulus/pull/93)"
},
{
"url": "https://api.github.com/repos/hotwired/stimulus/releases/9445619",
"assets_url": "https://api.github.com/repos/hotwired/stimulus/releases/9445619/assets",
"upload_url": "https://uploads.github.com/repos/hotwired/stimulus/releases/9445619/assets{?name,label}",
"html_url": "https://github.com/hotwired/stimulus/releases/tag/v0.9.0",
"id": 9445619,
"url": "https://api.github.com/repos/hotwired/stimulus/releases/9436792",
"assets_url": "https://api.github.com/repos/hotwired/stimulus/releases/9436792/assets",
"upload_url": "https://uploads.github.com/repos/hotwired/stimulus/releases/9436792/assets{?name,label}",
"html_url": "https://github.com/hotwired/stimulus/releases/tag/v1.0.0",
"id": 9436792,
"author": {
"login": "javan",
"id": 5355,
Expand All @@ -496,27 +538,27 @@
"type": "User",
"site_admin": false
},
"node_id": "MDc6UmVsZWFzZTk0NDU2MTk=",
"tag_name": "v0.9.0",
"target_commitish": "main",
"node_id": "MDc6UmVsZWFzZTk0MzY3OTI=",
"tag_name": "v1.0.0",
"target_commitish": "master",
"name": "",
"draft": false,
"prerelease": false,
"created_at": "2017-12-29T23:52:40Z",
"published_at": "2018-01-30T11:17:41Z",
"created_at": "2018-01-30T20:39:11Z",
"published_at": "2018-01-30T20:40:11Z",
"assets": [

],
"tarball_url": "https://api.github.com/repos/hotwired/stimulus/tarball/v0.9.0",
"zipball_url": "https://api.github.com/repos/hotwired/stimulus/zipball/v0.9.0",
"body": "Initial public release"
"tarball_url": "https://api.github.com/repos/hotwired/stimulus/tarball/v1.0.0",
"zipball_url": "https://api.github.com/repos/hotwired/stimulus/zipball/v1.0.0",
"body": "* **NEW**: Linked target properties (https://github.com/stimulusjs/stimulus/pull/61, https://github.com/stimulusjs/stimulus/pull/68)\r\n\r\n Define a controller's target names and Stimulus automatically creates properties for accessing them:\r\n\r\n ```js\r\n export default class extends Controller {\r\n static targets = [ \"source\" ]\r\n\r\n initialize() {\r\n this.sourceTarget // Element\r\n this.sourceTargets // Element[]\r\n this.hasSourceTarget // boolean\r\n }\r\n }\r\n ```\r\n\r\n* **NEW**: Configurable error handler (https://github.com/stimulusjs/stimulus/pull/53)\r\n\r\n ```js\r\n const application = Application.start()\r\n\r\n application.handleError = (error, message, detail) => {\r\n console.warn(message, detail)\r\n Raven.captureException(error)\r\n }\r\n ```\r\n\r\n* **NEW**: Namespaced identifiers (https://github.com/stimulusjs/stimulus/pull/65)\r\n\r\n If your controller file is named… | its identifier will be…\r\n --- | ---\r\n list_item_controller.js | list-item\r\n users/list_item_controller.js | users--list-item\r\n\r\n* **CHANGED**: Controller autoloading with webpack (https://github.com/stimulusjs/stimulus/pull/46)\r\n\r\n A new `definitionsFromContext` helper replaces the old `autoload` helper:\r\n\r\n ```diff\r\n const application = Application.start()\r\n -const context = require.context(\"./controllers\", true, /\\.js$/)\r\n -autoload(context, application)\r\n +const context = require.context(\"./controllers\", true, /\\.js$/)\r\n +application.load(definitionsFromContext(context))\r\n ```\r\n\r\n* **REMOVED**: Action method event target argument (https://github.com/stimulusjs/stimulus/pull/55)\r\n\r\n Previously, action methods were invoked with two arguments: `event`, `eventTarget`. Now, only the `event` is passed:\r\n\r\n ```diff\r\n -greet(event, eventTarget) {\r\n - console.log(event, eventTarget)\r\n +greet(event) {\r\n + console.log(event, event.target)\r\n }\r\n ```\r\n* **REMOVED**: Controller#{add,remove}Action (https://github.com/stimulusjs/stimulus/pull/50)\r\n\r\n Noted for posterity since these methods were undocumented."
},
{
"url": "https://api.github.com/repos/hotwired/stimulus/releases/9436792",
"assets_url": "https://api.github.com/repos/hotwired/stimulus/releases/9436792/assets",
"upload_url": "https://uploads.github.com/repos/hotwired/stimulus/releases/9436792/assets{?name,label}",
"html_url": "https://github.com/hotwired/stimulus/releases/tag/v1.0.0",
"id": 9436792,
"url": "https://api.github.com/repos/hotwired/stimulus/releases/9445619",
"assets_url": "https://api.github.com/repos/hotwired/stimulus/releases/9445619/assets",
"upload_url": "https://uploads.github.com/repos/hotwired/stimulus/releases/9445619/assets{?name,label}",
"html_url": "https://github.com/hotwired/stimulus/releases/tag/v0.9.0",
"id": 9445619,
"author": {
"login": "javan",
"id": 5355,
Expand All @@ -537,19 +579,19 @@
"type": "User",
"site_admin": false
},
"node_id": "MDc6UmVsZWFzZTk0MzY3OTI=",
"tag_name": "v1.0.0",
"target_commitish": "master",
"node_id": "MDc6UmVsZWFzZTk0NDU2MTk=",
"tag_name": "v0.9.0",
"target_commitish": "main",
"name": "",
"draft": false,
"prerelease": false,
"created_at": "2018-01-30T20:39:11Z",
"published_at": "2018-01-30T20:40:11Z",
"created_at": "2017-12-29T23:52:40Z",
"published_at": "2018-01-30T11:17:41Z",
"assets": [

],
"tarball_url": "https://api.github.com/repos/hotwired/stimulus/tarball/v1.0.0",
"zipball_url": "https://api.github.com/repos/hotwired/stimulus/zipball/v1.0.0",
"body": "* **NEW**: Linked target properties (https://github.com/stimulusjs/stimulus/pull/61, https://github.com/stimulusjs/stimulus/pull/68)\r\n\r\n Define a controller's target names and Stimulus automatically creates properties for accessing them:\r\n\r\n ```js\r\n export default class extends Controller {\r\n static targets = [ \"source\" ]\r\n\r\n initialize() {\r\n this.sourceTarget // Element\r\n this.sourceTargets // Element[]\r\n this.hasSourceTarget // boolean\r\n }\r\n }\r\n ```\r\n\r\n* **NEW**: Configurable error handler (https://github.com/stimulusjs/stimulus/pull/53)\r\n\r\n ```js\r\n const application = Application.start()\r\n\r\n application.handleError = (error, message, detail) => {\r\n console.warn(message, detail)\r\n Raven.captureException(error)\r\n }\r\n ```\r\n\r\n* **NEW**: Namespaced identifiers (https://github.com/stimulusjs/stimulus/pull/65)\r\n\r\n If your controller file is named… | its identifier will be…\r\n --- | ---\r\n list_item_controller.js | list-item\r\n users/list_item_controller.js | users--list-item\r\n\r\n* **CHANGED**: Controller autoloading with webpack (https://github.com/stimulusjs/stimulus/pull/46)\r\n\r\n A new `definitionsFromContext` helper replaces the old `autoload` helper:\r\n\r\n ```diff\r\n const application = Application.start()\r\n -const context = require.context(\"./controllers\", true, /\\.js$/)\r\n -autoload(context, application)\r\n +const context = require.context(\"./controllers\", true, /\\.js$/)\r\n +application.load(definitionsFromContext(context))\r\n ```\r\n\r\n* **REMOVED**: Action method event target argument (https://github.com/stimulusjs/stimulus/pull/55)\r\n\r\n Previously, action methods were invoked with two arguments: `event`, `eventTarget`. Now, only the `event` is passed:\r\n\r\n ```diff\r\n -greet(event, eventTarget) {\r\n - console.log(event, eventTarget)\r\n +greet(event) {\r\n + console.log(event, event.target)\r\n }\r\n ```\r\n* **REMOVED**: Controller#{add,remove}Action (https://github.com/stimulusjs/stimulus/pull/50)\r\n\r\n Noted for posterity since these methods were undocumented."
"tarball_url": "https://api.github.com/repos/hotwired/stimulus/tarball/v0.9.0",
"zipball_url": "https://api.github.com/repos/hotwired/stimulus/zipball/v0.9.0",
"body": "Initial public release"
}
]

0 comments on commit 17c2662

Please sign in to comment.