Skip to content

Releases: jagi/meteor-astronomy

2.7.3

Choose a tag to compare

@lukejagodzinski lukejagodzinski released this 24 Sep 08:15

2.7.2

Choose a tag to compare

@lukejagodzinski lukejagodzinski released this 20 May 15:11

2.7.1

Choose a tag to compare

@lukejagodzinski lukejagodzinski released this 04 Jan 23:57
  • Fix #671 by introducing several logging flags:
import { config } from "meteor/jagi:astronomy";

config.logs.deprecation = false; // Turn off deprecation warnings.
config.logs.nonExistingField = false; // Turn off warnings about non existing fields.
config.logs.classDuplicate = false; // Turn off class duplication warnings.
config.logs.typeDuplicate = false; // Turn off type duplication warnings.

2.7.0

Choose a tag to compare

@lukejagodzinski lukejagodzinski released this 27 Dec 12:40
  • Fix issue #694
    You can limit list of modified fields from the getModified and getModifiedValues methods to only include fields that will actually be saved using the save({ fields: [/* list of fields */] }) option.
beforeSave(e) {
  const doc = e.target;
  console.log(doc.getModified({ fields: e.fields }));
  console.log(doc.getModifiedValues({ fields: e.fields }));
}

2.6.3

Choose a tag to compare

@lukejagodzinski lukejagodzinski released this 28 Nov 22:52
  • Workaround for the issue #694. From now all the storage operation options are being passed to the event object. For example when calling the save method:
user.save({ fields: ["firstName"] });

The fields option will be available in the event handler.

events: {
  beforeSave(e) {
    if (
      e.fields &&
      e.fields.includes("firstName") &&
      e.currentTarget.isModified("firstName")
    ) {
      // Do something...
    }
  }
}

2.6.2

Choose a tag to compare

@lukejagodzinski lukejagodzinski released this 19 Oct 09:59
  • Revert to previous behavior before fix #689

2.6.1

Choose a tag to compare

@lukejagodzinski lukejagodzinski released this 18 Oct 21:09

2.6.0

Choose a tag to compare

@lukejagodzinski lukejagodzinski released this 18 Sep 23:21
Bump version to 2.5.8

2.5.8

Choose a tag to compare

@lukejagodzinski lukejagodzinski released this 28 May 23:51
  • Warn about type and class duplicates

2.5.7

Choose a tag to compare

@lukejagodzinski lukejagodzinski released this 11 Apr 21:05
  • the getValues method for the Enum types #669