Socket
Socket
Sign inDemoInstall

remake

Package Overview
Dependencies
139
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.0 to 2.3.0

17

CHANGELOG.md

@@ -0,1 +1,18 @@

# 2.2.0 (November 20, 2020)
- **BIG CHANGE:** Generating unique ids for every object is now turned off by default. These ids were confusing and unhelpful to a lot of people. Remake will always support unique ids, however. Until we come up with a more elegant solution, you can turn them back on by editing your `.remake` file and adding the line: `"generateUniqueIds": true`
- Added new handlebars helper `checked` to set the `checked` attribute of a `<input type="checked">` element. You pass in a value and it generates a `checked="checked"` attribute if the value is truthy. Use it like this: `{{{checked todo.done}}}`.
- Added new `run:watch` attribute. When it's attached to an element with `watch:` attributes, those watch attributes will be triggered as soon as the page loads
- Added new `prevent-default` attribute for preventing a DOM element's default behavior
- Added `onRemoveItem()` callback
- Changed the values that the `toggle` attribute and `<input type="checkbox">` element toggle between. Now it's "true" and "false" instead of "on" and "off".
- Added some default watch functions that you can use to handle computations and set data:
- `setMailToLink`: for setting an `href` attribute to a `mailto:` email link
- `setLink`: for setting an `href` attribute to a valid link that has `"https://"` prepended
- `countKeys`: counts the number of keys that match the current key, filters out any with falsey values, and uses the passed in `selector` element to update another element with this count
- `sumKeyValues`: sums the number values of keys that match the current key and uses the passed in `selector` element to update another element with this sum
- FIX BUG: deleting all the content from a user's `user-app-data` json file won't stall the app. The data will just default to an empty object.
# 2.1.2 (November 18, 2020)

@@ -2,0 +19,0 @@

2

package.json
{
"name": "remake",
"version": "2.2.0",
"version": "2.3.0",
"description": "Generate a full-stack Remake web app",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -33,2 +33,6 @@ const isValidDomain = require("is-valid-domain");

{
name: "Default starter",
value: "https://github.com/remake/default-starter",
},
{
name: "Kanban starter",

@@ -38,4 +42,4 @@ value: "https://github.com/remake/kanban-starter",

{
name: "Default starter",
value: "https://github.com/remake/default-starter",
name: "Reading list app starter",
value: "https://github.com/remake/reading-list-app-starter",
},

@@ -42,0 +46,0 @@ ],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc