Skip to content

Releases: screepers/typed-screeps

2.2.2 - 2018-03-17

19 Mar 10:50
v2.2.2
Compare
Choose a tag to compare

Added

Added IVM typings (#55)
Added Tombstone typings (#48)

Fixed

Fixed some DefinitelyTyped linting errors (#54)

2.2.1 - 2018-03-09

09 Mar 08:33
v2.2.1
Compare
Choose a tag to compare

Added

  • Added StructureSpawn.Spawning (#52)

Changed

  • Changed StructureLab.mineralType from MineralConstant to _ResourceConstantSansEnergy | undefined. (#49)

Fixed

  • RESOURCE_CATALYZED_ZYNTHIUM_ALKALIDE has a typo (#51)

2.2.0 - 2018-01-26

26 Jan 00:48
v2.2.0
Compare
Choose a tag to compare

Added

  • Added missing constants: EXTRACTOR_COOLDOWN, SYSTEM_USERNAME (#34)
  • Added missing ScreepsReturnCode definition: ERR_NAME_EXISTS (#44)

Removed

  • Remove FIND_DROPPED_ENERGY (#39 #40)

Fixed

  • Creep.attackController() returns ERR_TIRED if the controller has upgrade blocked (#32)
  • PowerBanks are considered to be owned structures (and are owned by "Power Bank") (#33)
  • Allow creep.ticksToLive to be undefined (#36)
  • Fixes for PathFinder.search, LookAtTypes (#41, #47)

2.1.0 - 2017-12-22

22 Dec 04:42
v2.1.0
Compare
Choose a tag to compare

Note: We've decided to make these changes a minor version bump to allow the @types/screeps version number to be in sync with this repo. No new features/functionalities are added in this release.

(Note for @types/screeps: this will make the version number jump from 0.0.0 to 2.1.0)

Changed

  • Restuctured project for DefinitelyTyped publishing (#24)

Fixed

  • Allow Game interface to be extended (#29)
  • Allow controller sign + reservation to be undefined (#28)

2.0.1 - 2017-12-13

13 Dec 10:27
v2.0.1
868c9c0
Compare
Choose a tag to compare

Fixed

  • Reduce package size when installing via npm (#25)

2.0.0 - 2017-12-05

05 Dec 03:56
Compare
Choose a tag to compare

Added

  • Added contributing guidelines and Issue/PR templates (#18)
  • Added CI tests (thanks, @Arcath!)
  • [Constants] Added BuildableStructureConstant, which is a subset of StructureConstant (#17)

Changed

  • Improved build tooling around compiling scripts and running tests.
  • [Room] [RoomPosition] Improved generic-based overloads for .find*(), lookAt(), and lookForAt() functions (#14, #19)
  • [Constants] OBSTACLE_OBJECT_TYPES are now strictly defined (#17)

Fixed

  • [RawMemory] On setActiveForeignSegment, id should be optional. (commit)

1.0.4

09 Nov 06:12
Compare
Choose a tag to compare

Added

  • Added Game.resources
  • Added Game.map.getWorldSize()
  • Added RawMemory.interShardSegment

Deprecated

  • Deprecated spawn.canCreateCreep(body, [name]) (#13)
  • Deprecated spawn.createCreep(body, [name], [memory]) (#13)
  • Deprecated spawn.transferEnergy(target, [amount]) (#13)
  • Deprecated PathFinder.use(isEnabled)

1.0.3 - 2017-11-05

05 Nov 15:30
Compare
Choose a tag to compare

Fixed

  • Emergency patch to fix mismatched STRUCTURE_WALL constant.

1.0.2 - 2017-11-05

05 Nov 13:35
Compare
Choose a tag to compare

Added

  • Added Game.cpu.setShardLimits(limits)

Fixed

  • [Constants] STRUCTURE_WALL should be 'constructedWall', not 'wall'

1.0.1 - 2017-11-05

05 Nov 11:51
Compare
Choose a tag to compare

Changed

  • Added forgotten documentation material from v1.0.0