Skip to content

Releases: SaliBhdr/typhoon-iran-cities

Status Bug FIx

18 Sep 06:17
Compare
Choose a tag to compare

active() scope and isActive() method threw an exception due to table name change. In this release, this error is fixed.

Unite regions in one table

30 Aug 15:49
Compare
Choose a tag to compare
  • unite regions into one table
  • remove extra redundant import commands
  • all data can import with just one iran:import command
  • add short_code attribute to all tables
  • faster data import using bulk import

get permission before overwriting the files

22 Jul 08:28
Compare
Choose a tag to compare
  • add get permission before overwriting the Models
  • add get permission before overwriting the Migrations

Artisan call bug fix for Laravel version below 5.6

18 Jul 06:10
becb430
Compare
Choose a tag to compare
  • Fix Artisan call for Laravel version below 5.6
  • Fix readme
  • Some code refactoring

Change model publish method and some bug fixes

13 Jul 10:22
Compare
Choose a tag to compare
  • Models now are extended from base models of Iran cities package
  • Remove DB statement in migration to fix table prefix problem
  • HasStatus trait is not optional anymore and available in all models by default

Add new commands and some bug fixes

12 Jul 08:02
c50e1ac
Compare
Choose a tag to compare
  • add iran:init command to do all the initialization process easier and step by step
  • update readme for new usage
  • Fix relation method of models

New Regions and Administrative Divisions

10 Jul 04:57
Compare
Choose a tag to compare
  • New regions and administrative divisions
  • Add publish command instead of Laravel's Built-in vendor:publish command
  • Add new migrations and models for new regions
  • Add selective region import, based on the requirement of the project
  • Add stubs for models and migrations copy

Laravel 8 compatible

14 Apr 10:36
Compare
Choose a tag to compare
  • Models now will be copied to App/Models in Laravel 8

Add new fetching helper methods to models

19 Oct 09:50
8db559c
Compare
Choose a tag to compare
  • add new helper methods to the Province model
  • add new helper methods to the County model
  • add new helper methods to the City model
  • update readme documentation for new helper methods usages

Add status field

29 Feb 13:39
Compare
Choose a tag to compare
  • Add the status field to DB to be able to activate and deactivate records
  • Add helper methods in models to managing the records
  • Renaming import commands
  • Allow to import provinces, counties, and cities separately
  • Add timestamps to table